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
This commit is contained in:
Hugo Santos
2007-05-08 13:10:45 +00:00
parent 25d42ceb99
commit 36880dfbed
+1 -2
View File
@@ -10,8 +10,6 @@
#include <stdint.h>
// 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