Lines Matching refs:data_end
45 static __always_inline int get_dport(void *trans_data, void *data_end, in get_dport() argument
54 if (th + 1 > data_end) in get_dport()
59 if (uh + 1 > data_end) in get_dport()
79 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4() local
92 if (iph + 1 > data_end) in handle_ipv4()
95 dport = get_dport(iph + 1, data_end, iph->protocol); in handle_ipv4()
116 data_end = (void *)(long)xdp->data_end; in handle_ipv4()
122 if (new_eth + 1 > data_end || in handle_ipv4()
123 old_eth + 1 > data_end || in handle_ipv4()
124 iph + 1 > data_end) in handle_ipv4()
154 void *data_end = (void *)(long)xdp->data_end; in handle_ipv6() local
164 if (ip6h + 1 > data_end) in handle_ipv6()
167 dport = get_dport(ip6h + 1, data_end, ip6h->nexthdr); in handle_ipv6()
188 data_end = (void *)(long)xdp->data_end; in handle_ipv6()
194 if (new_eth + 1 > data_end || in handle_ipv6()
195 old_eth + 1 > data_end || in handle_ipv6()
196 ip6h + 1 > data_end) in handle_ipv6()
218 void *data_end = (void *)(long)xdp->data_end; in _xdp_tx_iptunnel() local
223 if (eth + 1 > data_end) in _xdp_tx_iptunnel()