Lines Matching refs:ip_off
648 ip->ip_off = htons(ip->ip_off); in ip_proto_dispatch_in()
676 ip->ip_off = ntohs(ip->ip_off); in ip_proto_dispatch_in()
896 if ((ip->ip_off & (IP_MF | IP_OFFMASK)) == 0 && in ip_input_adjust()
1014 ip->ip_off = ntohs(ip->ip_off); in ip_input_first_pass()
1041 ip->ip_p, ip->ip_off, ip->ip_len); in ip_input_first_pass()
1140 NTOHS(ip->ip_off); in ip_input_first_pass()
1228 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input_first_pass()
1540 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input_second_pass()
1785 ip->ip_off = ntohs(ip->ip_off); in ip_input()
1807 ip->ip_p, ip->ip_off, ip->ip_len); in ip_input()
1905 NTOHS(ip->ip_off); in ip_input()
2035 if (ip->ip_off & ~(IP_DF | IP_RF)) { in ip_input()
2265 HTONS(ip->ip_off); in ip_reass()
2277 NTOHS(ip->ip_off); in ip_reass()
2305 if (ip->ip_off & IP_MF) { in ip_reass()
2327 ip->ip_off <<= 3; in ip_reass()
2396 if (GETIP(q)->ip_off > ip->ip_off) { in ip_reass()
2411 i = GETIP(p)->ip_off + GETIP(p)->ip_len - ip->ip_off; in ip_reass()
2418 ip->ip_off += i; in ip_reass()
2432 for (; q != NULL && ip->ip_off + ip->ip_len > GETIP(q)->ip_off; in ip_reass()
2434 i = (ip->ip_off + ip->ip_len) - GETIP(q)->ip_off; in ip_reass()
2437 GETIP(q)->ip_off += i; in ip_reass()
2474 if (GETIP(q)->ip_off != next) { in ip_reass()
3285 HTONS(ip->ip_off); in ip_stripoptions()
3289 NTOHS(ip->ip_off); in ip_stripoptions()