Searched refs:IP_VHL_HL (Results 1 – 18 of 18) sorted by relevance
827 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_dispatch_chain()836 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_dispatch_chain()996 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1013 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1057 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1204 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1369 ip->ip_p == IPPROTO_UDP && (IP_VHL_HL(ip->ip_vhl) << 2) == sizeof(struct ip)) { in ip_input_check_interface()1448 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_second_pass()1558 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_second_pass()1771 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input()[all …]
232 oiphlen = IP_VHL_HL(oip->ip_vhl) << 2; in icmp_error()580 || IP_VHL_HL(icp->icmp_ip.ip_vhl) < in icmp_input()618 .ipc_off = hlen + offsetof(struct icmp, icmp_ip) + (IP_VHL_HL(icp->icmp_ip.ip_vhl) << 2) in icmp_input()746 IP_VHL_HL(icp->icmp_ip.ip_vhl) < (sizeof(struct ip) >> 2)) { in icmp_input()820 int optlen = (IP_VHL_HL(ip->ip_vhl) << 2) - sizeof(struct ip); in icmp_reflect()1006 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in icmp_send()1241 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in icmp_dgram_send()
119 #define IP_VHL_HL(vhl) ((vhl) & 0x0f) macro
163 #define ICMP_ADVLEN(p) (8 + (IP_VHL_HL((p)->icmp_ip.ip_vhl) << 2) + 8)
490 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()560 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()1109 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()1421 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()1554 ip_output_checksum(ifp, m, (IP_VHL_HL(ip->ip_vhl) << 2), in ip_output_list()1813 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_fragment()2003 hlen = IP_VHL_HL(ip->ip_vhl) << 2; /* IP header len */ in in_finalize_cksum()2198 cnt = (IP_VHL_HL(ip->ip_vhl) << 2) - sizeof(struct ip); in ip_optcopy()
157 return ~b_sum16(ip, (IP_VHL_HL(ip->ip_vhl) << 2)) & 0xffff; in in_cksum_hdr_opt()
384 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ipf_inject_input()
535 ((IP_VHL_HL(ip->ip_vhl) != (sizeof(*ip) >> 2)) && inp->inp_options) || in rip_output()537 (ip->ip_len < (IP_VHL_HL(ip->ip_vhl) << 2))) { in rip_output()
155 (uint16_t)(pcb->inner_ip_hdr == NULL ? -1 : IP_VHL_HL(pcb->inner_ip_hdr->ip_vhl) << 2), in icmp4_pcb_print()236 pcb->inner_ip_hdr_len = (uint16_t)(IP_VHL_HL(ip_in->ip_vhl) << 2); in icmp4_pcb_set_payload()308 int inner_ip_hdr_len = (IP_VHL_HL(pcb->inner_ip_hdr->ip_vhl) << 2); in icmp4_pcb_assert_payload_correct()
242 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ah4_output()571 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ah4_finaldst()
394 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in esp_output()418 iphlen = IP_VHL_HL(inner_ip->ip_vhl) << 2; in esp_output()894 udp->uh_ulen = htons((u_int16_t)(ntohs(ip->ip_len) - (IP_VHL_HL(ip->ip_vhl) << 2))); in esp_output()
182 iphlen = (u_int8_t)(IP_VHL_HL(inner_ip->ip_vhl) << 2); in esp_input_log()265 hlen = (u_int8_t)(IP_VHL_HL(ip->ip_vhl) << 2); in esp4_input_extended()
153 hlen = (u_int8_t)(IP_VHL_HL(ip->ip_vhl) << 2); in ah4_input()
1272 hlen = IP_VHL_HL(iphdr.ip_vhl) << 2; in ah4_calccksum()
3458 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ipsec4_output()
962 hlen = IP_VHL_HL(ip.ip_vhl) << 2; in pktap_fill_proc_info()
4412 ip_hlen = IP_VHL_HL(ip->ip_vhl) << 2;7561 (IP_VHL_HL(iphdr.ip_vhl) << 2);8263 ip_header_len = IP_VHL_HL(iphdr->ip_vhl) << 2;8940 hlen = IP_VHL_HL(ip->ip_vhl) << 2;9189 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
4249 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in cfil_service_inject_queue()