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:
@@ -10,8 +10,6 @@
|
|||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
|
||||||
// TODO: if tcpdump is the only potential user of the part commented out, remove it
|
|
||||||
#if 0
|
|
||||||
struct tcphdr {
|
struct tcphdr {
|
||||||
uint16_t th_sport; /* source port */
|
uint16_t th_sport; /* source port */
|
||||||
uint16_t th_dport; /* destination port */
|
uint16_t th_dport; /* destination port */
|
||||||
@@ -31,6 +29,7 @@ struct tcphdr {
|
|||||||
uint16_t th_urp; /* end of urgent data offset */
|
uint16_t th_urp; /* end of urgent data offset */
|
||||||
} _PACKED;
|
} _PACKED;
|
||||||
|
|
||||||
|
#if 0
|
||||||
#define TH_FIN 0x01
|
#define TH_FIN 0x01
|
||||||
#define TH_SYN 0x02
|
#define TH_SYN 0x02
|
||||||
#define TH_RST 0x04
|
#define TH_RST 0x04
|
||||||
|
|||||||
Reference in New Issue
Block a user