Home
last modified time | relevance | path

Searched defs:nh_off (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/samples/bpf/
Dxdp1_kern.c24 static int parse_ipv4(void *data, u64 nh_off, void *data_end) in parse_ipv4()
33 static int parse_ipv6(void *data, u64 nh_off, void *data_end) in parse_ipv6()
51 u64 nh_off; in xdp_prog1() local
Dxdp2_kern.c40 static int parse_ipv4(void *data, u64 nh_off, void *data_end) in parse_ipv4()
49 static int parse_ipv6(void *data, u64 nh_off, void *data_end) in parse_ipv6()
67 u64 nh_off; in xdp_prog1() local
Dparse_varlen.c51 static int parse_ipv4(void *data, uint64_t nh_off, void *data_end) in parse_ipv4()
78 static int parse_ipv6(void *data, uint64_t nh_off, void *data_end) in parse_ipv6()
118 uint64_t h_proto, nh_off; in handle_ingress() local
Dxdp_router_ipv4_kern.c96 static inline int parse_ipv4(void *data, u64 nh_off, void *data_end, in parse_ipv4()
121 u64 nh_off; in xdp_router_ipv4_prog() local
Dxdp_redirect_cpu_kern.c158 u16 get_dest_port_ipv4_udp(struct xdp_md *ctx, u64 nh_off) in get_dest_port_ipv4_udp()
180 int get_proto_ipv4(struct xdp_md *ctx, u64 nh_off) in get_proto_ipv4()
192 int get_proto_ipv6(struct xdp_md *ctx, u64 nh_off) in get_proto_ipv6()
472 u32 get_ipv4_hash_ip_pair(struct xdp_md *ctx, u64 nh_off) in get_ipv4_hash_ip_pair()
489 u32 get_ipv6_hash_ip_pair(struct xdp_md *ctx, u64 nh_off) in get_ipv6_hash_ip_pair()
Dxdp_redirect_kern.c65 u64 nh_off; in xdp_redirect_prog() local
Dxdp_redirect_map_kern.c65 u64 nh_off; in xdp_redirect_map_prog() local
Dxdp_fwd_kern.c52 u64 nh_off; in xdp_fwd_flags() local
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
Dtest_verif_scale2.c14 int ret = 0, nh_off, i = 0; in balancer_ingress() local
Dtest_verif_scale3.c14 int ret = 0, nh_off, i = 0; in balancer_ingress() local
Dtest_verif_scale1.c14 int ret = 0, nh_off, i = 0; in balancer_ingress() local
Dtest_sk_lookup_kern.c22 static struct bpf_sock_tuple *get_tuple(void *data, __u64 nh_off, in get_tuple()
Dfexit_bpf2bpf.c124 __u32 nh_off; in new_get_skb_ifindex() local
Dtest_xdp_noinline.c807 __u32 nh_off; in balancer_ingress_v4() local
826 __u32 nh_off; in balancer_ingress_v6() local
Dtest_l4lb.c460 __u32 nh_off; in balancer_ingress() local
Dtest_l4lb_noinline.c457 __u32 nh_off; in balancer_ingress() local
/kernel/linux/linux-5.10/include/linux/
Dvirtio_net.h144 unsigned int nh_off = p_off; in virtio_net_hdr_to_skb() local
/kernel/linux/linux-5.10/drivers/net/ethernet/pasemi/
Dpasemi_mac.c1348 const int nh_off = skb_network_offset(skb); in pasemi_mac_queue_csdesc() local
1438 const int nh_off = skb_network_offset(skb); in pasemi_mac_start_tx() local
/kernel/linux/linux-5.10/net/openvswitch/
Dconntrack.c793 int hooknum, nh_off, err = NF_ACCEPT; in ovs_ct_nat_execute() local