Home
last modified time | relevance | path

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

/net/openvswitch/
Dflow_netlink.c1988 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key() argument
2006 if ((swkey->tun_proto || is_mask)) { in __ovs_nla_put_key()
2010 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); in __ovs_nla_put_key()
2013 swkey->tun_opts_len, swkey->tun_proto, 0)) in __ovs_nla_put_key()
2017 if (swkey->phy.in_port == DP_MAX_PORTS) { in __ovs_nla_put_key()
2033 if (ovs_ct_put_key(swkey, output, skb)) in __ovs_nla_put_key()
2036 if (ovs_key_mac_proto(swkey) == MAC_PROTO_ETHERNET) { in __ovs_nla_put_key()
2045 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
2049 if (!swkey->eth.vlan.tci) in __ovs_nla_put_key()
2052 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
[all …]
Dconntrack.h30 int ovs_ct_put_key(const struct sw_flow_key *swkey,
91 static inline int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
Dconntrack.c281 int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
300 if (swkey->ct_orig_proto) { in ovs_ct_put_key()
301 if (swkey->eth.type == htons(ETH_P_IP)) { in ovs_ct_put_key()
314 } else if (swkey->eth.type == htons(ETH_P_IPV6)) { in ovs_ct_put_key()