/linux-6.3-rc2/samples/bpf/ |
A D | xdp_redirect_cpu.bpf.c | 97 u16 get_dest_port_ipv4_udp(struct xdp_md *ctx, u64 nh_off) in get_dest_port_ipv4_udp() 117 int get_proto_ipv4(struct xdp_md *ctx, u64 nh_off) in get_proto_ipv4() 129 int get_proto_ipv6(struct xdp_md *ctx, u64 nh_off) in get_proto_ipv6() 397 u32 get_ipv4_hash_ip_pair(struct xdp_md *ctx, u64 nh_off) in get_ipv4_hash_ip_pair() 414 u32 get_ipv6_hash_ip_pair(struct xdp_md *ctx, u64 nh_off) in get_ipv6_hash_ip_pair() 500 u64 nh_off; in xdp_redirect_cpu_devmap() local 528 u64 nh_off; in xdp_redirect_egress_prog() local
|
A D | xdp1_kern.c | 24 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() 53 u64 nh_off; in xdp_prog1() local
|
A D | xdp2_kern.c | 40 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() 69 u64 nh_off; in xdp_prog1() local
|
A D | parse_varlen.c | 51 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
|
A D | xdp_redirect_map.bpf.c | 45 u64 nh_off; in xdp_redirect_map() local 78 u64 nh_off; in xdp_redirect_map_egress() local
|
A D | xdp_redirect.bpf.c | 27 u64 nh_off; in xdp_redirect_prog() local
|
A D | xdp_redirect_map_multi.bpf.c | 64 u64 nh_off; in xdp_devmap_prog() local
|
A D | xdp_fwd_kern.c | 52 u64 nh_off; in xdp_fwd_flags() local
|
A D | xdp_router_ipv4.bpf.c | 79 u64 nh_off = sizeof(*eth); in xdp_router_ipv4_prog() local
|
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/ |
A D | xdp_redirect_multi_kern.c | 45 __u64 nh_off; in xdp_redirect_map_multi_prog() local 80 __u64 nh_off; in xdp_devmap_prog() local
|
A D | test_verif_scale1.c | 14 int ret = 0, nh_off, i = 0; in balancer_ingress() local
|
A D | test_verif_scale2.c | 14 int ret = 0, nh_off, i = 0; in balancer_ingress() local
|
A D | test_verif_scale3.c | 14 int ret = 0, nh_off, i = 0; in balancer_ingress() local
|
A D | core_kern.c | 80 int ret = 0, nh_off, i = 0; in balancer_ingress() local
|
A D | test_sk_lookup_kern.c | 21 static struct bpf_sock_tuple *get_tuple(void *data, __u64 nh_off, in get_tuple()
|
A D | fexit_bpf2bpf.c | 124 __u32 nh_off; in new_get_skb_ifindex() local
|
A D | test_xdp_noinline.c | 807 __u32 nh_off; in balancer_ingress_v4() local 826 __u32 nh_off; in balancer_ingress_v6() local
|
A D | test_l4lb.c | 458 __u32 nh_off; in balancer_ingress() local
|
A D | test_l4lb_noinline.c | 457 __u32 nh_off; in balancer_ingress() local
|
/linux-6.3-rc2/include/linux/ |
A D | virtio_net.h | 151 unsigned int nh_off = p_off; in virtio_net_hdr_to_skb() local
|
/linux-6.3-rc2/drivers/net/ethernet/pasemi/ |
A D | pasemi_mac.c | 1348 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
|