Lines Matching refs:ip_off
654 ip->ip_off = htons(ip->ip_off); in ip_proto_dispatch_in()
682 ip->ip_off = ntohs(ip->ip_off); in ip_proto_dispatch_in()
902 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) == 0 && in ip_input_adjust()
1020 ip->ip_off = ntohs(ip->ip_off); in ip_input_first_pass()
1047 ip->ip_p, ip->ip_off, ip->ip_len); in ip_input_first_pass()
1150 NTOHS(ip->ip_off); in ip_input_first_pass()
1238 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input_first_pass()
1550 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input_second_pass()
1795 ip->ip_off = ntohs(ip->ip_off); in ip_input()
1817 ip->ip_p, ip->ip_off, ip->ip_len); in ip_input()
1915 NTOHS(ip->ip_off); in ip_input()
2045 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input()
2275 HTONS(ip->ip_off); in ip_reass()
2287 NTOHS(ip->ip_off); in ip_reass()
2315 if (ip->ip_off & IP_MF) { in ip_reass()
2337 ip->ip_off <<= 3; in ip_reass()
2406 if (GETIP(q)->ip_off > ip->ip_off) { in ip_reass()
2421 i = GETIP(p)->ip_off + GETIP(p)->ip_len - ip->ip_off; in ip_reass()
2428 ip->ip_off += i; in ip_reass()
2442 for (; q != NULL && ip->ip_off + ip->ip_len > GETIP(q)->ip_off; in ip_reass()
2444 i = (ip->ip_off + ip->ip_len) - GETIP(q)->ip_off; in ip_reass()
2447 GETIP(q)->ip_off += i; in ip_reass()
2484 if (GETIP(q)->ip_off != next) { in ip_reass()
3295 HTONS(ip->ip_off); in ip_stripoptions()
3299 NTOHS(ip->ip_off); in ip_stripoptions()