Searched refs:IP_VHL_HL (Results 1 – 19 of 19) sorted by relevance
835 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_dispatch_chain()844 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_dispatch_chain()1004 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1021 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1067 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1220 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_first_pass()1380 ip->ip_p == IPPROTO_UDP && (IP_VHL_HL(ip->ip_vhl) << 2) == sizeof(struct ip)) { in ip_input_check_interface()1459 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_second_pass()1573 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input_second_pass()1786 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_input()[all …]
233 oiphlen = IP_VHL_HL(oip->ip_vhl) << 2; in icmp_error()585 || IP_VHL_HL(icp->icmp_ip.ip_vhl) < in icmp_input()623 .ipc_off = hlen + offsetof(struct icmp, icmp_ip) + (IP_VHL_HL(icp->icmp_ip.ip_vhl) << 2) in icmp_input()751 IP_VHL_HL(icp->icmp_ip.ip_vhl) < (sizeof(struct ip) >> 2)) { in icmp_input()825 int optlen = (IP_VHL_HL(ip->ip_vhl) << 2) - sizeof(struct ip); in icmp_reflect()1011 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in icmp_send()1251 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)
505 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()576 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()1138 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()1467 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_output_list()1606 ip_output_checksum(ifp, m, (IP_VHL_HL(ip->ip_vhl) << 2), in ip_output_list()1867 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ip_fragment()2056 hlen = IP_VHL_HL(ip->ip_vhl) << 2; /* IP header len */ in in_finalize_cksum()2251 cnt = (IP_VHL_HL(ip->ip_vhl) << 2) - sizeof(struct ip); in ip_optcopy()
160 hdrlen = IP_VHL_HL(ip->ip_vhl) << 2; in in_cksum_hdr_opt()
562 ((IP_VHL_HL(ip->ip_vhl) != (sizeof(*ip) >> 2)) && inp->inp_options) || in rip_output()564 (ip->ip_len < (IP_VHL_HL(ip->ip_vhl) << 2))) { in rip_output()
390 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()271 hlen = (u_int8_t)(IP_VHL_HL(ip->ip_vhl) << 2); in esp4_input_extended()1770 iphlen = IP_VHL_HL(ip_hdr->ip_vhl) << 2; in esp_kpipe_input()
575 hlen = IP_VHL_HL(iphdr.ip_vhl) << 2; in ah4_calccksum()
155 hlen = (u_int8_t)(IP_VHL_HL(ip->ip_vhl) << 2); in ah4_input()
3420 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ipsec4_interface_kpipe_output()3727 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in ipsec4_output()
993 hlen = IP_VHL_HL(ip.ip_vhl) << 2; in pktap_fill_proc_info()
4522 ip_hlen = IP_VHL_HL(ip->ip_vhl) << 2;7917 (IP_VHL_HL(iphdr.ip_vhl) << 2);8722 ip_header_len = IP_VHL_HL(iphdr->ip_vhl) << 2;9584 hlen = IP_VHL_HL(ip->ip_vhl) << 2;9833 hlen = IP_VHL_HL(ip->ip_vhl) << 2;
1394 iphlen = IP_VHL_HL(ip->ip_vhl) << 2; in ipsec_transform_kpipe_pkt_to_netif_pkt()
4383 hlen = IP_VHL_HL(ip->ip_vhl) << 2; in cfil_strip_ip_header()