Lines Matching refs:nh_off
81 u64 nh_off; in xdp_ipv4_l3lb() local
89 nh_off = sizeof(*eth); in xdp_ipv4_l3lb()
90 if (data + nh_off > data_end) return XDP_PASS; in xdp_ipv4_l3lb()
97 vhdr = data + nh_off; in xdp_ipv4_l3lb()
98 nh_off += sizeof(struct vlan_hdr); in xdp_ipv4_l3lb()
99 if (data + nh_off > data_end) in xdp_ipv4_l3lb()
106 vhdr = data + nh_off; in xdp_ipv4_l3lb()
107 nh_off += sizeof(struct vlan_hdr); in xdp_ipv4_l3lb()
108 if (data + nh_off > data_end) in xdp_ipv4_l3lb()
113 if (data + nh_off + sizeof(*iph) > data_end) return XDP_PASS; in xdp_ipv4_l3lb()
114 iph = data + nh_off; in xdp_ipv4_l3lb()