summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include/netinet/tcp.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-05-02 03:50:11 +0000
committerChristopher Faylor <me@cgf.cx>2005-05-02 03:50:11 +0000
commit05726ddd86c1421add510d5e8395cf7e3ac378f3 (patch)
treee7a339d3b7773fee264eb134e3acfb1ca87877f2 /winsup/cygwin/include/netinet/tcp.h
parentb9b1b38358983f564e48ced1a9a599698e1be36f (diff)
downloadcygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.tar.gz
cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.tar.bz2
cygnal-05726ddd86c1421add510d5e8395cf7e3ac378f3.zip
white space and minor comment cleanup.
Diffstat (limited to 'winsup/cygwin/include/netinet/tcp.h')
-rw-r--r--winsup/cygwin/include/netinet/tcp.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/winsup/cygwin/include/netinet/tcp.h b/winsup/cygwin/include/netinet/tcp.h
index 9fcee6c71..305527d0e 100644
--- a/winsup/cygwin/include/netinet/tcp.h
+++ b/winsup/cygwin/include/netinet/tcp.h
@@ -57,19 +57,19 @@ typedef u_int32_t tcp_cc; /* connection count per rfc1644 */
* Per RFC 793, September, 1981.
*/
struct tcphdr {
- u_short th_sport; /* source port */
- u_short th_dport; /* destination port */
- tcp_seq th_seq; /* sequence number */
- tcp_seq th_ack; /* acknowledgement number */
+ u_short th_sport; /* source port */
+ u_short th_dport; /* destination port */
+ tcp_seq th_seq; /* sequence number */
+ tcp_seq th_ack; /* acknowledgement number */
#if BYTE_ORDER == LITTLE_ENDIAN
- u_int th_x2:4, /* (unused) */
- th_off:4; /* data offset */
+ u_int th_x2:4, /* (unused) */
+ th_off:4; /* data offset */
#endif
#if BYTE_ORDER == BIG_ENDIAN
- u_int th_off:4, /* data offset */
- th_x2:4; /* (unused) */
+ u_int th_off:4, /* data offset */
+ th_x2:4; /* (unused) */
#endif
- u_char th_flags;
+ u_char th_flags;
#define TH_FIN 0x01
#define TH_SYN 0x02
#define TH_RST 0x04
@@ -78,9 +78,9 @@ struct tcphdr {
#define TH_URG 0x20
#define TH_FLAGS (TH_FIN|TH_SYN|TH_RST|TH_ACK|TH_URG)
- u_short th_win; /* window */
- u_short th_sum; /* checksum */
- u_short th_urp; /* urgent pointer */
+ u_short th_win; /* window */
+ u_short th_sum; /* checksum */
+ u_short th_urp; /* urgent pointer */
};
#define TCPOPT_EOL 0
@@ -129,7 +129,7 @@ struct tcphdr {
#define TCP_MAXHLEN (0xf<<2) /* max length of header in bytes */
#define TCP_MAXOLEN (TCP_MAXHLEN - sizeof(struct tcphdr))
- /* max space left for options */
+ /* max space left for options */
/*
* User-settable options (used with setsockopt).