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

Comparing BasiliskII/src/slirp/udp.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 46 | Line 46 | extern struct socket *udp_last_so;
46   * Udp protocol header.
47   * Per RFC 768, September, 1981.
48   */
49 + #ifdef PRAGMA_PACK_SUPPORTED
50 + #pragma pack(1)
51 + #endif
52 +
53   struct udphdr {
54          u_int16_t       uh_sport;               /* source port */
55          u_int16_t       uh_dport;               /* destination port */
56          int16_t uh_ulen;                /* udp length */
57          u_int16_t       uh_sum;                 /* udp checksum */
58 < };
58 > } PACKED__;
59 >
60 > #ifdef PRAGMA_PACK_SUPPORTED
61 > #pragma pack(0)
62 > #endif
63  
64   /*
65   * UDP kernel structures and variables.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines