From 36880dfbed0b28808fd52cbe9086deb91f6ea3bd Mon Sep 17 00:00:00 2001 From: Hugo Santos Date: Tue, 8 May 2007 13:10:45 +0000 Subject: [PATCH] make tcphdr public, it is used by several applications. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21068 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/posix/netinet/tcp.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/headers/posix/netinet/tcp.h b/headers/posix/netinet/tcp.h index 742ceaf23c..ec2a999d1b 100644 --- a/headers/posix/netinet/tcp.h +++ b/headers/posix/netinet/tcp.h @@ -10,8 +10,6 @@ #include -// TODO: if tcpdump is the only potential user of the part commented out, remove it -#if 0 struct tcphdr { uint16_t th_sport; /* source port */ uint16_t th_dport; /* destination port */ @@ -31,6 +29,7 @@ struct tcphdr { uint16_t th_urp; /* end of urgent data offset */ } _PACKED; +#if 0 #define TH_FIN 0x01 #define TH_SYN 0x02 #define TH_RST 0x04