ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/slirp/bootp.h
(Generate patch)

Comparing BasiliskII/src/slirp/bootp.h (file contents):
Revision 1.2 by gbeauche, 2005-05-13T14:02:37Z vs.
Revision 1.3 by gbeauche, 2006-01-17T21:19:12Z

# Line 90 | Line 90
90   #define BOOTP_VENDOR_LEN        64
91   #define DHCP_OPT_LEN            312
92  
93 + #ifdef PRAGMA_PACK_SUPPORTED
94 + #pragma pack(1)
95 + #endif
96 +
97   struct bootp_t {
98      struct ip ip;
99      struct udphdr udp;
# Line 108 | Line 112 | struct bootp_t {
112      uint8_t bp_sname[64];
113      uint8_t bp_file[128];
114      uint8_t bp_vend[DHCP_OPT_LEN];
115 < };
115 > } PACKED__;
116 >
117 > #ifdef PRAGMA_PACK_SUPPORTED
118 > #pragma pack(0)
119 > #endif
120  
121   void bootp_input(struct mbuf *m);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines