Home
last modified time | relevance | path

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

12

/openbmc/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()
/openbmc/linux/net/ipv6/
H A Dip6_offload.c121 int nhoff; in ipv6_gso_segment() local
353 INDIRECT_CALLABLE_SCOPE int ipv6_gro_complete(struct sk_buff *skb, int nhoff) in ipv6_gro_complete()
405 static int sit_gro_complete(struct sk_buff *skb, int nhoff) in sit_gro_complete()
412 static int ip6ip6_gro_complete(struct sk_buff *skb, int nhoff) in ip6ip6_gro_complete()
419 static int ip4ip6_gro_complete(struct sk_buff *skb, int nhoff) in ip4ip6_gro_complete()
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.c59 int nhoff; in esp6_gro_receive() local
H A Dip6_input.c368 unsigned int nhoff; in ip6_protocol_deliver_rcu() local
/openbmc/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()
/openbmc/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()
493 void *target_container, const void *data, int nhoff, in __skb_flow_dissect_mpls()
552 int nhoff, int hlen) in __skb_flow_dissect_arp()
608 int nhoff, int hlen) in __skb_flow_dissect_cfm()
830 int nhoff, u8 ip_proto, int hlen) in __skb_flow_dissect_ports()
972 __be16 proto, int nhoff, int hlen, unsigned int flags) in bpf_flow_dissect()
1028 __be16 proto, int nhoff, int hlen, unsigned int flags) in __skb_flow_dissect()
H A Dgro.c366 static inline void skb_gro_reset_offset(struct sk_buff *skb, u32 nhoff) in skb_gro_reset_offset()
/openbmc/linux/net/ipv6/netfilter/
H A Dnf_conntrack_reasm.c171 const struct frag_hdr *fhdr, int nhoff) in nf_ct_frag6_queue()
447 int fhoff, nhoff, ret; in nf_ct_frag6_gather() local
/openbmc/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
/openbmc/linux/net/ipv6/ila/
H A Dila_common.c77 size_t nhoff = sizeof(struct ipv6hdr); in ila_csum_adjust_transport() local
/openbmc/linux/net/ipv4/
H A Dudp_offload.c714 int udp_gro_complete(struct sk_buff *skb, int nhoff, in udp_gro_complete()
752 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; in inet_gso_segment() local
1646 int inet_gro_complete(struct sk_buff *skb, int nhoff) in inet_gro_complete()
1678 static int ipip_gro_complete(struct sk_buff *skb, int nhoff) in ipip_gro_complete()
H A Dfou_core.c269 int nhoff) in fou_gro_complete()
467 static int gue_gro_complete(struct sock *sk, struct sk_buff *skb, int nhoff) in gue_gro_complete()
/openbmc/linux/net/sched/
H A Dact_ipt.c237 unsigned int nhoff, len; in tcf_ipt_act_check() local
/openbmc/linux/net/ethernet/
H A Deth.c446 int eth_gro_complete(struct sk_buff *skb, int nhoff) in eth_gro_complete()
/openbmc/linux/net/8021q/
H A Dvlan_core.c515 static int vlan_gro_complete(struct sk_buff *skb, int nhoff) in vlan_gro_complete()
/openbmc/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