Lines Matching full:ports
45 static bool xdp_flowtable_offload_check_tcp_state(void *ports, void *data_end, in xdp_flowtable_offload_check_tcp_state() argument
49 struct tcphdr *tcph = ports; in xdp_flowtable_offload_check_tcp_state()
76 struct flow_ports___local *ports; in xdp_flowtable_do_lookup() local
86 ports = (struct flow_ports___local *)(iph + 1); in xdp_flowtable_do_lookup()
87 if (ports + 1 > data_end) in xdp_flowtable_do_lookup()
94 if (!xdp_flowtable_offload_check_tcp_state(ports, data_end, in xdp_flowtable_do_lookup()
104 tuple.sport = ports->source; in xdp_flowtable_do_lookup()
105 tuple.dport = ports->dest; in xdp_flowtable_do_lookup()
113 ports = (struct flow_ports___local *)(ip6h + 1); in xdp_flowtable_do_lookup()
114 if (ports + 1 > data_end) in xdp_flowtable_do_lookup()
120 if (!xdp_flowtable_offload_check_tcp_state(ports, data_end, in xdp_flowtable_do_lookup()
129 tuple.sport = ports->source; in xdp_flowtable_do_lookup()
130 tuple.dport = ports->dest; in xdp_flowtable_do_lookup()