Lines Matching defs:ip
54 struct ip { struct
55 uint8_t ip_vhl; /* header length, version */ argument
56 #define IP_V(ip) (((ip)->ip_vhl & 0xf0) >> 4) argument
57 #define IP_HL(ip) ((ip)->ip_vhl & 0x0f) argument
58 uint8_t ip_tos; /* type of service */ argument
59 uint16_t ip_len; /* total length */ argument
60 uint16_t ip_id; /* identification */ argument
61 uint16_t ip_off; /* fragment offset field */ argument
65 uint8_t ip_ttl; /* time to live */ argument
66 uint8_t ip_p; /* protocol */ argument
67 uint16_t ip_sum; /* checksum */ argument
68 struct in_addr ip_src,ip_dst; /* source and dest address */ argument
132 #define IPTS_OFLW(ip) (((ipt)->ipt_oflwflg & 0xf0) >> 4) argument
133 #define IPTS_FLG(ip) ((ipt)->ipt_oflwflg & 0x0f) argument