Home
last modified time | relevance | path

Searched defs:nhoff (Results 1 – 25 of 35) sorted by relevance

12

/linux/samples/bpf/
H A Dsockex3_kern.c42 static inline int ip_is_fragment(struct __sk_buff *ctx, __u64 nhoff) in ip_is_fragment()
109 __u32 nhoff = skb->cb[0]; in parse_ip_proto() local
161 __u32 nhoff, verlen, ip_proto; in bpf_func_ip() local
190 __u32 nhoff, ip_proto; in bpf_func_ipv6() local
213 __u32 nhoff, proto; in bpf_func_vlan() local
230 __u32 nhoff, label; in bpf_func_mpls() local
296 __u32 nhoff = ETH_HLEN; in main_prog() local
H A Dsockex2_kern.c46 static inline int ip_is_fragment(struct __sk_buff *ctx, __u64 nhoff) in ip_is_fragment()
62 static inline __u64 parse_ip(struct __sk_buff *skb, __u64 nhoff, __u64 *ip_proto, in parse_ip()
86 static inline __u64 parse_ipv6(struct __sk_buff *skb, __u64 nhoff, __u64 *ip_proto, in parse_ipv6()
103 __u64 nhoff = ETH_HLEN; in flow_dissector() local
H A Dparse_ldabs.c21 static inline int ip_is_fragment(struct __sk_buff *ctx, __u64 nhoff) in ip_is_fragment()
/linux/net/ipv6/
H A Dip6_offload.c119 int nhoff; in ipv6_gso_segment() local
338 INDIRECT_CALLABLE_SCOPE int ipv6_gro_complete(struct sk_buff *skb, int nhoff) in ipv6_gro_complete() argument
390 sit_gro_complete(struct sk_buff * skb,int nhoff) sit_gro_complete() argument
397 ip6ip6_gro_complete(struct sk_buff * skb,int nhoff) ip6ip6_gro_complete() argument
404 ip4ip6_gro_complete(struct sk_buff * skb,int nhoff) ip4ip6_gro_complete() argument
[all...]
H A Dreassembly.c107 struct frag_hdr *fhdr, int nhoff, in ip6_frag_queue()
260 unsigned int nhoff; in ip6_frag_reasm() local
H A Dudp_offload.c165 INDIRECT_CALLABLE_SCOPE int udp6_gro_complete(struct sk_buff *skb, int nhoff) in udp6_gro_complete()
H A Desp6_offload.c62 int nhoff; in esp6_gro_receive() local
H A Dip6_input.c368 unsigned int nhoff; in ip6_protocol_deliver_rcu() local
/linux/net/netfilter/
H A Dxt_HMARK.c132 hmark_set_tuple_ports(const struct sk_buff *skb, unsigned int nhoff, in hmark_set_tuple_ports()
170 unsigned int nhoff = 0; in hmark_pkt_set_htuple_ipv6() local
231 static int get_inner_hdr(const struct sk_buff *skb, int iphsz, int *nhoff) in get_inner_hdr()
254 int nhoff = skb_network_offset(skb); in hmark_pkt_set_htuple_ipv4() local
H A Dnf_conntrack_core.c268 unsigned int nhoff, in nf_ct_get_tuple()
344 static int ipv4_get_l4proto(const struct sk_buff *skb, unsigned int nhoff, in ipv4_get_l4proto()
374 static int ipv6_get_l4proto(const struct sk_buff *skb, unsigned int nhoff, in ipv6_get_l4proto()
403 unsigned int nhoff, u8 pf, u8 *l4num) in get_l4proto()
419 bool nf_ct_get_tuplepr(const struct sk_buff *skb, unsigned int nhoff, in nf_ct_get_tuplepr()
H A Dnft_inner.c56 u32 nhoff, thoff; in nft_inner_parse_l2l3() local
H A Dnf_log_syslog.c62 const struct sk_buff *skb, unsigned int nhoff) in dump_arp_packet()
/linux/net/core/
H A Dflow_dissector.c211 int nhoff, int hlen) in __skb_flow_dissect_ah()
233 int nhoff, int hlen) in __skb_flow_dissect_esp()
255 int nhoff, int hlen) in __skb_flow_dissect_l2tpv3()
501 void *target_container, const void *data, int nhoff, in __skb_flow_dissect_mpls()
560 int nhoff, int hlen) in __skb_flow_dissect_arp()
616 int nhoff, int hlen) in __skb_flow_dissect_cfm()
838 int nhoff, u8 ip_proto, int hlen) in __skb_flow_dissect_ports()
980 __be16 proto, int nhoff, int hlen, unsigned int flags) in bpf_flow_dissect()
1036 __be16 proto, int nhoff, int hlen, unsigned int flags) in __skb_flow_dissect()
H A Dgro.c394 static inline void skb_gro_reset_offset(struct sk_buff *skb, u32 nhoff) in skb_gro_reset_offset()
/linux/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c166 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue()
442 int fhoff, nhoff, ret; in nf_ct_frag6_gather() local
/linux/net/bridge/netfilter/
H A Dnf_conntrack_bridge.c207 int nhoff, len; in nf_ct_br_ip_check() local
226 int nhoff, len; in nf_ct_br_ipv6_check() local
/linux/net/ipv4/
H A Dudp_offload.c657 int udp_gro_complete(struct sk_buff *skb, int nhoff, in udp_gro_complete()
695 INDIRECT_CALLABLE_SCOPE int udp4_gro_complete(struct sk_buff *skb, int nhoff) in udp4_gro_complete()
H A Dgre_offload.c236 static int gre_gro_complete(struct sk_buff *skb, int nhoff) in gre_gro_complete()
H A Daf_inet.c1378 int nhoff; inet_gso_segment() local
1603 inet_gro_complete(struct sk_buff * skb,int nhoff) inet_gro_complete() argument
1635 ipip_gro_complete(struct sk_buff * skb,int nhoff) ipip_gro_complete() argument
[all...]
H A Dfou_core.c263 int nhoff) in fou_gro_complete()
448 static int gue_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff) in gue_gro_complete()
H A Dip_gre.c546 int nhoff; in erspan_fb_xmit() local
/linux/net/ipv6/ila/
H A Dila_common.c77 size_t nhoff = sizeof(struct ipv6hdr); in ila_csum_adjust_transport() local
/linux/net/ethernet/
H A Deth.c446 struct ethhdr *eh = (struct ethhdr *)(skb->data + nhoff); in eth_gro_complete() argument
/linux/net/8021q/
H A Dvlan_core.c515 static int vlan_gro_complete(struct sk_buff *skb, int nhoff) in vlan_gro_complete()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rx.c1328 int nhoff = rq->hw_gro_data->fk.control.thoff - sizeof(struct iphdr); in mlx5e_shampo_update_hdr() local
1340 int nhoff = rq->hw_gro_data->fk.control.thoff - sizeof(struct ipv6hdr); in mlx5e_shampo_update_hdr() local
2353 int nhoff = ETH_HLEN + rq->hw_gro_data->fk.control.thoff - in mlx5e_handle_rx_cqe_mpwrq_shampo() local

12