Lines Matching refs:swkey

1988 static int __ovs_nla_put_key(const struct sw_flow_key *swkey,
2006 if ((swkey->tun_proto || is_mask)) {
2010 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len);
2013 swkey->tun_opts_len, swkey->tun_proto, 0))
2017 if (swkey->phy.in_port == DP_MAX_PORTS) {
2033 if (ovs_ct_put_key(swkey, output, skb))
2036 if (ovs_key_mac_proto(swkey) == MAC_PROTO_ETHERNET) {
2045 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) {
2049 if (!swkey->eth.vlan.tci)
2052 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) {
2057 if (!swkey->eth.cvlan.tci)
2062 if (swkey->eth.type == htons(ETH_P_802_2)) {
2080 if (eth_type_vlan(swkey->eth.type)) {
2088 if (swkey->eth.type == htons(ETH_P_IP)) {
2101 } else if (swkey->eth.type == htons(ETH_P_IPV6)) {
2117 } else if (swkey->eth.type == htons(ETH_P_NSH)) {
2120 } else if (swkey->eth.type == htons(ETH_P_ARP) ||
2121 swkey->eth.type == htons(ETH_P_RARP)) {
2134 } else if (eth_p_mpls(swkey->eth.type)) {
2149 if ((swkey->eth.type == htons(ETH_P_IP) ||
2150 swkey->eth.type == htons(ETH_P_IPV6)) &&
2151 swkey->ip.frag != OVS_FRAG_TYPE_LATER) {
2153 if (swkey->ip.proto == IPPROTO_TCP) {
2165 } else if (swkey->ip.proto == IPPROTO_UDP) {
2174 } else if (swkey->ip.proto == IPPROTO_SCTP) {
2183 } else if (swkey->eth.type == htons(ETH_P_IP) &&
2184 swkey->ip.proto == IPPROTO_ICMP) {
2193 } else if (swkey->eth.type == htons(ETH_P_IPV6) &&
2194 swkey->ip.proto == IPPROTO_ICMPV6) {
2205 if (swkey->tp.src == htons(NDISC_NEIGHBOUR_SOLICITATION) ||
2206 swkey->tp.src == htons(NDISC_NEIGHBOUR_ADVERTISEMENT)) {
2233 int ovs_nla_put_key(const struct sw_flow_key *swkey,
2243 err = __ovs_nla_put_key(swkey, output, is_mask, skb);