Searched refs:swkey (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/net/openvswitch/
H A Dflow_netlink.c1274 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, __ovs_nla_put_key() argument
1290 if ((swkey->tun_key.ipv4_dst || is_mask)) { __ovs_nla_put_key()
1294 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); __ovs_nla_put_key()
1297 swkey->tun_opts_len)) __ovs_nla_put_key()
1301 if (swkey->phy.in_port == DP_MAX_PORTS) { __ovs_nla_put_key()
1325 if (swkey->eth.tci || swkey->eth.type == htons(ETH_P_8021Q)) { __ovs_nla_put_key()
1332 if (!swkey->eth.tci) __ovs_nla_put_key()
1337 if (swkey->eth.type == htons(ETH_P_802_2)) { __ovs_nla_put_key()
1354 if (swkey->eth.type == htons(ETH_P_IP)) { __ovs_nla_put_key()
1367 } else if (swkey->eth.type == htons(ETH_P_IPV6)) { __ovs_nla_put_key()
1383 } else if (swkey->eth.type == htons(ETH_P_ARP) || __ovs_nla_put_key()
1384 swkey->eth.type == htons(ETH_P_RARP)) { __ovs_nla_put_key()
1397 } else if (eth_p_mpls(swkey->eth.type)) { __ovs_nla_put_key()
1407 if ((swkey->eth.type == htons(ETH_P_IP) || __ovs_nla_put_key()
1408 swkey->eth.type == htons(ETH_P_IPV6)) && __ovs_nla_put_key()
1409 swkey->ip.frag != OVS_FRAG_TYPE_LATER) { __ovs_nla_put_key()
1411 if (swkey->ip.proto == IPPROTO_TCP) { __ovs_nla_put_key()
1423 } else if (swkey->ip.proto == IPPROTO_UDP) { __ovs_nla_put_key()
1432 } else if (swkey->ip.proto == IPPROTO_SCTP) { __ovs_nla_put_key()
1441 } else if (swkey->eth.type == htons(ETH_P_IP) && __ovs_nla_put_key()
1442 swkey->ip.proto == IPPROTO_ICMP) { __ovs_nla_put_key()
1451 } else if (swkey->eth.type == htons(ETH_P_IPV6) && __ovs_nla_put_key()
1452 swkey->ip.proto == IPPROTO_ICMPV6) { __ovs_nla_put_key()
1489 int ovs_nla_put_key(const struct sw_flow_key *swkey, ovs_nla_put_key() argument
1499 err = __ovs_nla_put_key(swkey, output, is_mask, skb); ovs_nla_put_key()

Completed in 57 milliseconds