Searched refs:nh_off (Results 1 – 3 of 3) sorted by relevance
56 iph = data + nh_off; in parse_ipv4()65 iph = data + nh_off + ihl_len; in parse_ipv4()85 ip6h = data + nh_off; in parse_ipv6()92 iph = data + nh_off + ihl_len; in parse_ipv6()118 uint64_t h_proto, nh_off; in handle_ingress() local120 nh_off = sizeof(*eth); in handle_ingress()121 if (data + nh_off > data_end) in handle_ingress()129 vhdr = data + nh_off; in handle_ingress()131 if (data + nh_off > data_end) in handle_ingress()138 vhdr = data + nh_off; in handle_ingress()[all …]
79 u64 nh_off = sizeof(*eth); in xdp_router_ipv4_prog() local88 if (data + nh_off > data_end) in xdp_router_ipv4_prog()96 vhdr = data + nh_off; in xdp_router_ipv4_prog()97 nh_off += sizeof(struct vlan_hdr); in xdp_router_ipv4_prog()98 if (data + nh_off > data_end) in xdp_router_ipv4_prog()110 struct iphdr *iph = data + nh_off; in xdp_router_ipv4_prog()
52 u64 nh_off; in xdp_fwd_flags() local55 nh_off = sizeof(*eth); in xdp_fwd_flags()56 if (data + nh_off > data_end) in xdp_fwd_flags()63 iph = data + nh_off; in xdp_fwd_flags()83 ip6h = data + nh_off; in xdp_fwd_flags()
Completed in 6 milliseconds