Searched refs:nh_off (Results 1 – 2 of 2) sorted by relevance
27 u64 nh_off; in xdp_ipv4_firewalling() local33 nh_off = sizeof(*eth); in xdp_ipv4_firewalling()34 if (data + nh_off > data_end) return XDP_PASS; in xdp_ipv4_firewalling()41 vhdr = data + nh_off; in xdp_ipv4_firewalling()42 nh_off += sizeof(struct vlan_hdr); in xdp_ipv4_firewalling()43 if (data + nh_off > data_end) in xdp_ipv4_firewalling()50 vhdr = data + nh_off; in xdp_ipv4_firewalling()51 nh_off += sizeof(struct vlan_hdr); in xdp_ipv4_firewalling()52 if (data + nh_off > data_end) in xdp_ipv4_firewalling()57 if (data + nh_off + sizeof(*iph) > data_end) return XDP_PASS; in xdp_ipv4_firewalling()[all …]
81 u64 nh_off; in xdp_ipv4_l3lb() local89 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()[all …]