Lines Matching refs:hlen
120 const void *data, int hlen) in __skb_flow_get_ports() argument
126 hlen = skb_headlen(skb); in __skb_flow_get_ports()
133 sizeof(_ports), data, hlen, &_ports); in __skb_flow_get_ports()
167 const void *data, int thoff, int hlen) in skb_flow_get_icmp_tci() argument
171 ih = __skb_header_pointer(skb, thoff, sizeof(_ih), data, hlen, &_ih); in skb_flow_get_icmp_tci()
194 int thoff, int hlen) in __skb_flow_dissect_icmp() argument
205 skb_flow_get_icmp_tci(skb, key_icmp, data, thoff, hlen); in __skb_flow_dissect_icmp()
211 int nhoff, int hlen) in __skb_flow_dissect_ah() argument
219 hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, hlen, &_hdr); in __skb_flow_dissect_ah()
233 int nhoff, int hlen) in __skb_flow_dissect_esp() argument
241 hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, hlen, &_hdr); in __skb_flow_dissect_esp()
255 int nhoff, int hlen) in __skb_flow_dissect_l2tpv3() argument
265 hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, hlen, &_hdr); in __skb_flow_dissect_l2tpv3()
518 int hlen, int lse_index, bool *entropy_label) in __skb_flow_dissect_mpls() argument
532 hlen, &_hdr); in __skb_flow_dissect_mpls()
576 int nhoff, int hlen) in __skb_flow_dissect_arp() argument
592 hlen, &_arp); in __skb_flow_dissect_arp()
606 hlen, &_arp_eth); in __skb_flow_dissect_arp()
632 int nhoff, int hlen) in __skb_flow_dissect_cfm() argument
639 hdr = __skb_header_pointer(skb, nhoff, sizeof(*key), data, hlen, &_hdr); in __skb_flow_dissect_cfm()
797 int hlen, unsigned int flags) in __skb_flow_dissect_batadv() argument
804 hdr = __skb_header_pointer(skb, *p_nhoff, sizeof(_hdr), data, hlen, in __skb_flow_dissect_batadv()
829 int thoff, int hlen) in __skb_flow_dissect_tcp() argument
837 th = __skb_header_pointer(skb, thoff, sizeof(_th), data, hlen, &_th); in __skb_flow_dissect_tcp()
854 int nhoff, u8 ip_proto, int hlen) in __skb_flow_dissect_ports() argument
872 data, hlen); in __skb_flow_dissect_ports()
996 __be16 proto, int nhoff, int hlen, unsigned int flags) in bpf_flow_dissect() argument
1017 flow_keys->nhoff = clamp_t(u16, flow_keys->nhoff, nhoff, hlen); in bpf_flow_dissect()
1019 flow_keys->nhoff, hlen); in bpf_flow_dissect()
1052 __be16 proto, int nhoff, int hlen, unsigned int flags) in __skb_flow_dissect() argument
1072 hlen = skb_headlen(skb); in __skb_flow_dissect()
1090 hlen -= offset; in __skb_flow_dissect()
1135 .data_end = data + hlen, in __skb_flow_dissect()
1152 hlen, flags); in __skb_flow_dissect()
1193 iph = __skb_header_pointer(skb, nhoff, sizeof(_iph), data, hlen, &_iph); in __skb_flow_dissect()
1241 iph = __skb_header_pointer(skb, nhoff, sizeof(_iph), data, hlen, &_iph); in __skb_flow_dissect()
1298 data, hlen, &_vlan); in __skb_flow_dissect()
1356 hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, hlen, &_hdr); in __skb_flow_dissect()
1414 data, hlen, &_hdr); in __skb_flow_dissect()
1436 nhoff, hlen, mpls_lse, in __skb_flow_dissect()
1442 if ((hlen - nhoff) < FCOE_HEADER_LEN) { in __skb_flow_dissect()
1455 nhoff, hlen); in __skb_flow_dissect()
1460 &proto, &nhoff, hlen, flags); in __skb_flow_dissect()
1467 hlen, &_hdr); in __skb_flow_dissect()
1482 hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, hlen, in __skb_flow_dissect()
1498 nhoff, hlen); in __skb_flow_dissect()
1534 &proto, &nhoff, &hlen, flags); in __skb_flow_dissect()
1546 data, hlen, &_opthdr); in __skb_flow_dissect()
1565 data, hlen, &_fh); in __skb_flow_dissect()
1630 data, nhoff, hlen); in __skb_flow_dissect()
1636 data, nhoff, hlen); in __skb_flow_dissect()
1640 data, nhoff, hlen); in __skb_flow_dissect()
1644 data, nhoff, hlen); in __skb_flow_dissect()
1648 data, nhoff, hlen); in __skb_flow_dissect()
1656 data, nhoff, ip_proto, hlen); in __skb_flow_dissect()
1680 key_control->thoff = min_t(u16, nhoff, skb ? skb->len : hlen); in __skb_flow_dissect()
1910 const struct flow_keys_basic *keys, int hlen) in __skb_get_poff() argument
1926 data, hlen, &_doff); in __skb_get_poff()