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

Comparing BasiliskII/src/slirp/tcp.h (file contents):
Revision 1.1 by gbeauche, 2005-05-13T09:00:59Z vs.
Revision 1.2 by gbeauche, 2006-01-17T21:19:12Z

# Line 53 | Line 53 | extern struct socket *tcp_last_so;
53   * TCP header.
54   * Per RFC 793, September, 1981.
55   */
56 + #ifdef PRAGMA_PACK_SUPPORTED
57 + #pragma pack(1)
58 + #endif
59 +
60   struct tcphdr {
61          u_int16_t       th_sport;               /* source port */
62          u_int16_t       th_dport;               /* destination port */
# Line 75 | Line 79 | struct tcphdr {
79          u_int16_t       th_win;                 /* window */
80          u_int16_t       th_sum;                 /* checksum */
81          u_int16_t       th_urp;                 /* urgent pointer */
82 < };
82 > } PACKED__;
83 >
84 > #ifdef PRAGMA_PACK_SUPPORTED
85 > #pragma pack(0)
86 > #endif
87  
88   #include "tcp_var.h"
89  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines