Home
last modified time | relevance | path

Searched refs:flow_key (Results 1 – 1 of 1) sorted by relevance

/net/openvswitch/
Ddatapath.c498 static int validate_tp_port(const struct sw_flow_key *flow_key) in validate_tp_port() argument
500 if (flow_key->eth.type == htons(ETH_P_IP)) { in validate_tp_port()
501 if (flow_key->ipv4.tp.src || flow_key->ipv4.tp.dst) in validate_tp_port()
503 } else if (flow_key->eth.type == htons(ETH_P_IPV6)) { in validate_tp_port()
504 if (flow_key->ipv6.tp.src || flow_key->ipv6.tp.dst) in validate_tp_port()
512 const struct sw_flow_key *flow_key) in validate_set() argument
535 if (flow_key->eth.type != htons(ETH_P_IP)) in validate_set()
538 if (!flow_key->ip.proto) in validate_set()
542 if (ipv4_key->ipv4_proto != flow_key->ip.proto) in validate_set()
545 if (ipv4_key->ipv4_frag != flow_key->ip.frag) in validate_set()
[all …]