Home
last modified time | relevance | path

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

/linux/samples/bpf/
A 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
A 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
A Dxdp_redirect_cpu.bpf.c97 u16 get_dest_port_ipv4_udp(struct xdp_md *ctx, u64 nh_off) in get_dest_port_ipv4_udp()
119 int get_proto_ipv4(struct xdp_md *ctx, u64 nh_off) in get_proto_ipv4()
131 int get_proto_ipv6(struct xdp_md *ctx, u64 nh_off) in get_proto_ipv6()
399 u32 get_ipv4_hash_ip_pair(struct xdp_md *ctx, u64 nh_off) in get_ipv4_hash_ip_pair()
416 u32 get_ipv6_hash_ip_pair(struct xdp_md *ctx, u64 nh_off) in get_ipv6_hash_ip_pair()
502 u64 nh_off; in xdp_redirect_cpu_devmap() local
530 u64 nh_off; in xdp_redirect_egress_prog() local
A 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
A Dxdp_redirect_map.bpf.c45 u64 nh_off; in xdp_redirect_map() local
77 u64 nh_off; in xdp_redirect_map_egress() local
A 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
A Dxdp_redirect.bpf.c27 u64 nh_off; in xdp_redirect_prog() local
A Dxdp_redirect_map_multi.bpf.c64 u64 nh_off; in xdp_devmap_prog() local
A Dxdp_fwd_kern.c52 u64 nh_off; in xdp_fwd_flags() local
/linux/tools/testing/selftests/bpf/progs/
A Dxdp_redirect_multi_kern.c45 __u64 nh_off; in xdp_redirect_map_multi_prog() local
80 __u64 nh_off; in xdp_devmap_prog() local
A Dtest_verif_scale2.c14 int ret = 0, nh_off, i = 0; in balancer_ingress() local
A Dtest_verif_scale3.c14 int ret = 0, nh_off, i = 0; in balancer_ingress() local
A Dtest_verif_scale1.c14 int ret = 0, nh_off, i = 0; in balancer_ingress() local
A Dtest_sk_lookup_kern.c21 static struct bpf_sock_tuple *get_tuple(void *data, __u64 nh_off, in get_tuple()
A Dfexit_bpf2bpf.c124 __u32 nh_off; in new_get_skb_ifindex() local
A Dtest_xdp_noinline.c807 __u32 nh_off; in balancer_ingress_v4() local
826 __u32 nh_off; in balancer_ingress_v6() local
A Dtest_l4lb_noinline.c457 __u32 nh_off; in balancer_ingress() local
A Dtest_l4lb.c458 __u32 nh_off; in balancer_ingress() local
/linux/include/linux/
A Dvirtio_net.h144 unsigned int nh_off = p_off; in virtio_net_hdr_to_skb() local
/linux/drivers/net/ethernet/pasemi/
A 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
/linux/net/openvswitch/
A Dconntrack.c744 int hooknum, nh_off, err = NF_ACCEPT; in ovs_ct_nat_execute() local

Completed in 48 milliseconds