/linux-master/net/ipv6/ila/ |
H A D | ila_common.c | 77 size_t nhoff = sizeof(struct ipv6hdr); local 83 if (likely(pskb_may_pull(skb, nhoff + sizeof(struct tcphdr)))) { 85 (skb_network_header(skb) + nhoff); 93 if (likely(pskb_may_pull(skb, nhoff + sizeof(struct udphdr)))) { 95 (skb_network_header(skb) + nhoff); 108 nhoff + sizeof(struct icmp6hdr)))) { 110 (skb_network_header(skb) + nhoff);
|
/linux-master/drivers/net/bonding/ |
H A D | bond_main.c | 4055 int hlen, __be16 l2_proto, int *nhoff, int *ip_proto, bool l34) 4061 data = bond_pull_data(skb, data, hlen, *nhoff + sizeof(*iph)); 4065 iph = (const struct iphdr *)(data + *nhoff); 4067 *nhoff += iph->ihl << 2; 4071 data = bond_pull_data(skb, data, hlen, *nhoff + sizeof(*iph6)); 4075 iph6 = (const struct ipv6hdr *)(data + *nhoff); 4077 *nhoff += sizeof(*iph6); 4084 fk->ports.ports = __skb_flow_get_ports(skb, *nhoff, *ip_proto, data, hlen); 4115 __be16 l2_proto, int nhoff, int hlen, struct flow_keys *fk) 4125 fk, data, l2_proto, nhoff, hle 4054 bond_flow_ip(struct sk_buff *skb, struct flow_keys *fk, const void *data, int hlen, __be16 l2_proto, int *nhoff, int *ip_proto, bool l34) argument 4114 bond_flow_dissect(struct bonding *bond, struct sk_buff *skb, const void *data, __be16 l2_proto, int nhoff, int hlen, struct flow_keys *fk) argument 4178 __bond_xmit_hash(struct bonding *bond, struct sk_buff *skb, const void *data, __be16 l2_proto, int mhoff, int nhoff, int hlen) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_netdev.c | 374 int nhoff = skb_network_offset(skb); local 383 ip = (const struct iphdr *)(skb->data + nhoff); 389 ports = (const __be16 *)(skb->data + nhoff + 4 * ip->ihl);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rx.c | 1328 int nhoff = rq->hw_gro_data->fk.control.thoff - sizeof(struct iphdr); local 1329 struct iphdr *ipv4 = (struct iphdr *)(skb->data + nhoff); 1330 __be16 newlen = htons(skb->len - nhoff); 1340 int nhoff = rq->hw_gro_data->fk.control.thoff - sizeof(struct ipv6hdr); local 1341 struct ipv6hdr *ipv6 = (struct ipv6hdr *)(skb->data + nhoff); 1343 ipv6->payload_len = htons(skb->len - nhoff - sizeof(*ipv6)); 2353 int nhoff = ETH_HLEN + rq->hw_gro_data->fk.control.thoff - local 2355 struct iphdr *iph = (struct iphdr *)(hd_addr + nhoff);
|
/linux-master/drivers/net/ |
H A D | geneve.c | 555 int nhoff) 563 gh = (struct genevehdr *)(skb->data + nhoff); 569 return eth_gro_complete(skb, nhoff + gh_len); 573 err = ptype->callbacks.gro_complete(skb, nhoff + gh_len); 575 skb_set_inner_mac_header(skb, nhoff + gh_len); 554 geneve_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff) argument
|
/linux-master/drivers/net/vxlan/ |
H A D | vxlan_core.c | 770 static int vxlan_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff) argument 775 return eth_gro_complete(skb, nhoff + sizeof(struct vxlanhdr)); 778 static int vxlan_gpe_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff) argument 780 struct vxlanhdr *vh = (struct vxlanhdr *)(skb->data + nhoff); 789 err = ptype->callbacks.gro_complete(skb, nhoff + sizeof(struct vxlanhdr));
|
/linux-master/include/linux/ |
H A D | etherdevice.h | 67 int eth_gro_complete(struct sk_buff *skb, int nhoff);
|
H A D | ipv6.h | 139 __u16 nhoff; member in struct:inet6_skb_parm
|
H A D | netdevice.h | 2710 int (*gro_complete)(struct sk_buff *skb, int nhoff);
|
H A D | skbuff.h | 1520 __be16 proto, int nhoff, int hlen, unsigned int flags); 1526 __be16 proto, int nhoff, int hlen, unsigned int flags); 1550 int nhoff, int hlen, unsigned int flags) 1554 data, proto, nhoff, hlen, flags); 1546 skb_flow_dissect_flow_keys_basic(const struct net *net, const struct sk_buff *skb, struct flow_keys_basic *flow, const void *data, __be16 proto, int nhoff, int hlen, unsigned int flags) argument
|
H A D | udp.h | 85 int nhoff);
|
/linux-master/include/net/ |
H A D | gro.h | 417 int udp_gro_complete(struct sk_buff *skb, int nhoff, udp_lookup_t lookup);
|
H A D | inet_common.h | 67 int inet_gro_complete(struct sk_buff *skb, int nhoff);
|
H A D | udp_tunnel.h | 78 int nhoff);
|
/linux-master/include/net/netfilter/ |
H A D | nf_conntrack.h | 202 bool nf_ct_get_tuplepr(const struct sk_buff *skb, unsigned int nhoff,
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 7239 __u16 nhoff; member in struct:bpf_flow_keys
|
/linux-master/net/8021q/ |
H A D | vlan_core.c | 515 static int vlan_gro_complete(struct sk_buff *skb, int nhoff) argument 517 struct vlan_hdr *vhdr = (struct vlan_hdr *)(skb->data + nhoff); 526 skb, nhoff + sizeof(*vhdr));
|
/linux-master/net/bridge/netfilter/ |
H A D | nf_conntrack_bridge.c | 207 int nhoff, len; local 209 nhoff = skb_network_offset(skb); 216 if (skb->len < nhoff + len || 226 int nhoff, len; local 228 nhoff = skb_network_offset(skb); 233 len = ntohs(hdr->payload_len) + sizeof(struct ipv6hdr) + nhoff;
|
/linux-master/net/core/ |
H A D | flow_dissector.c | 211 int nhoff, int hlen) 219 hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, hlen, &_hdr); 233 int nhoff, int hlen) 241 hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, hlen, &_hdr); 255 int nhoff, int hlen) 265 hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, hlen, &_hdr); 493 void *target_container, const void *data, int nhoff, 507 hdr = __skb_header_pointer(skb, nhoff, sizeof(_hdr), data, 552 int nhoff, int hlen) 567 arp = __skb_header_pointer(skb, nhoff, sizeo 208 __skb_flow_dissect_ah(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) argument 230 __skb_flow_dissect_esp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) argument 252 __skb_flow_dissect_l2tpv3(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) argument 491 __skb_flow_dissect_mpls(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen, int lse_index, bool *entropy_label) argument 549 __skb_flow_dissect_arp(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) argument 605 __skb_flow_dissect_cfm(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, int hlen) argument 827 __skb_flow_dissect_ports(const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, int nhoff, u8 ip_proto, int hlen) argument 971 bpf_flow_dissect(struct bpf_prog *prog, struct bpf_flow_dissector *ctx, __be16 proto, int nhoff, int hlen, unsigned int flags) argument 1024 __skb_flow_dissect(const struct net *net, const struct sk_buff *skb, struct flow_dissector *flow_dissector, void *target_container, const void *data, __be16 proto, int nhoff, int hlen, unsigned int flags) argument [all...] |
H A D | gro.c | 368 static inline void skb_gro_reset_offset(struct sk_buff *skb, u32 nhoff) argument 386 (!NET_IP_ALIGN || !((skb_frag_off(frag0) + nhoff) & 3))) {
|
/linux-master/net/ethernet/ |
H A D | eth.c | 446 int eth_gro_complete(struct sk_buff *skb, int nhoff) argument 448 struct ethhdr *eh = (struct ethhdr *)(skb->data + nhoff); 454 skb_set_inner_mac_header(skb, nhoff); 460 skb, nhoff + sizeof(*eh));
|
/linux-master/net/ipv4/ |
H A D | af_inet.c | 1377 int nhoff; local 1382 nhoff = skb_network_header(skb) - skb_mac_header(skb); 1421 skb->network_header = skb_mac_header(skb) + nhoff - skb->head; 1431 iph = (struct iphdr *)(skb_mac_header(skb) + nhoff); 1436 offset += skb->len - nhoff - ihl; 1437 tot_len = skb->len - nhoff; 1449 tot_len = skb->len - nhoff; 1453 tot_len = skb->len - nhoff; 1645 int inet_gro_complete(struct sk_buff *skb, int nhoff) argument 1647 struct iphdr *iph = (struct iphdr *)(skb->data + nhoff); 1677 ipip_gro_complete(struct sk_buff *skb, int nhoff) argument [all...] |
H A D | fou_core.c | 263 int nhoff) 275 err = ops->callbacks.gro_complete(skb, nhoff); 277 skb_set_inner_mac_header(skb, nhoff); 448 static int gue_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff) argument 450 struct guehdr *guehdr = (struct guehdr *)(skb->data + nhoff); 483 err = ops->callbacks.gro_complete(skb, nhoff + guehlen); 485 skb_set_inner_mac_header(skb, nhoff + guehlen); 262 fou_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff) argument
|
H A D | gre_offload.c | 236 static int gre_gro_complete(struct sk_buff *skb, int nhoff) argument 238 struct gre_base_hdr *greh = (struct gre_base_hdr *)(skb->data + nhoff); 256 err = ptype->callbacks.gro_complete(skb, nhoff + grehlen); 258 skb_set_inner_mac_header(skb, nhoff + grehlen);
|
H A D | ip_gre.c | 531 int nhoff; local 561 nhoff = skb_network_offset(skb); 563 (ntohs(ip_hdr(skb)->tot_len) > skb->len - nhoff)) 572 thoff = nhoff + sizeof(struct ipv6hdr);
|