Searched refs:IP_VHL_HL (Results 1 – 19 of 19) sorted by relevance
824 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_dispatch_chain()833 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_dispatch_chain()993 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1010 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1054 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1201 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1366 ip->ip_p == IPPROTO_UDP && (IP_VHL_HL(ip->ip_vhl) << 2) == sizeof(struct ip)) { in ip_input_check_interface()1445 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_second_pass()1555 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_second_pass()1768 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input()[all …]
233 oiphlen = IP_VHL_HL(oip->ip_vhl) << 2; in icmp_error()581 || IP_VHL_HL(icp->icmp_ip.ip_vhl) < in icmp_input()619 .ipc_off = hlen + offsetof(struct icmp, icmp_ip) + (IP_VHL_HL(icp->icmp_ip.ip_vhl) << 2) in icmp_input()747 IP_VHL_HL(icp->icmp_ip.ip_vhl) < (sizeof(struct ip) >> 2)) { in icmp_input()821 int optlen = (IP_VHL_HL(ip->ip_vhl) << 2) - sizeof(struct ip); in icmp_reflect()1007 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in icmp_send()1242 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)
501 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()571 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()1120 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()1432 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()1565 ip_output_checksum(ifp, m, (IP_VHL_HL(ip->ip_vhl) << 2), in ip_output_list()1824 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_fragment()2014 hlen = IP_VHL_HL(ip->ip_vhl) << 2; /* IP header len */ in in_finalize_cksum()2209 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()
558 ((IP_VHL_HL(ip->ip_vhl) != (sizeof(*ip) >> 2)) && inp->inp_options) || in rip_output()560 (ip->ip_len < (IP_VHL_HL(ip->ip_vhl) << 2))) { in rip_output()
384 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ipf_inject_input()
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()
398 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in esp_output()422 iphlen = IP_VHL_HL(inner_ip->ip_vhl) << 2; in esp_output()898 udp->uh_ulen = htons((u_int16_t)(ntohs(ip->ip_len) - (IP_VHL_HL(ip->ip_vhl) << 2))); in esp_output()1021 iphlen = IP_VHL_HL(ip_hdr->ip_vhl) << 2; in esp_kpipe_output()
186 iphlen = (u_int8_t)(IP_VHL_HL(inner_ip->ip_vhl) << 2); in esp_input_log()269 hlen = (u_int8_t)(IP_VHL_HL(ip->ip_vhl) << 2); in esp4_input_extended()1772 iphlen = IP_VHL_HL(ip_hdr->ip_vhl) << 2; in esp_kpipe_input()
153 hlen = (u_int8_t)(IP_VHL_HL(ip->ip_vhl) << 2); in ah4_input()
807 hlen = IP_VHL_HL(iphdr.ip_vhl) << 2; in ah4_calccksum()
3435 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ipsec4_interface_kpipe_output()3742 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()
4498 ip_hlen = IP_VHL_HL(ip->ip_vhl) << 2;7679 (IP_VHL_HL(iphdr.ip_vhl) << 2);8409 ip_header_len = IP_VHL_HL(iphdr->ip_vhl) << 2;9086 hlen = IP_VHL_HL(ip->ip_vhl) << 2;9335 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
2232 iphlen = IP_VHL_HL(ip->ip_vhl) << 2; in ipsec_transform_kpipe_pkt_to_netif_pkt()
4411 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in cfil_service_inject_queue()