Lines Matching defs:ip
52 struct ip { struct
53 nd_uint8_t ip_vhl; /* header length, version */ argument
54 #define IP_V(ip) (((ip)->ip_vhl & 0xf0) >> 4) argument
55 #define IP_HL(ip) ((ip)->ip_vhl & 0x0f) argument
56 nd_uint8_t ip_tos; /* type of service */ argument
57 nd_uint16_t ip_len; /* total length */ argument
58 nd_uint16_t ip_id; /* identification */ argument
59 nd_uint16_t ip_off; /* fragment offset field */ argument
63 nd_uint8_t ip_ttl; /* time to live */ argument
64 nd_uint8_t ip_p; /* protocol */ argument
65 nd_uint16_t ip_sum; /* checksum */ argument
66 nd_ipv4 ip_src,ip_dst; /* source and dest address */ argument
130 #define IPTS_OFLW(ip) (((ipt)->ipt_oflwflg & 0xf0) >> 4) argument
131 #define IPTS_FLG(ip) ((ipt)->ipt_oflwflg & 0x0f) argument