Home
last modified time | relevance | path

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

/Linux-v4.19/net/openvswitch/
Dflow_netlink.c1958 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key() argument
1976 if ((swkey->tun_proto || is_mask)) { in __ovs_nla_put_key()
1980 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); in __ovs_nla_put_key()
1983 swkey->tun_opts_len, swkey->tun_proto)) in __ovs_nla_put_key()
1987 if (swkey->phy.in_port == DP_MAX_PORTS) { in __ovs_nla_put_key()
2003 if (ovs_ct_put_key(swkey, output, skb)) in __ovs_nla_put_key()
2006 if (ovs_key_mac_proto(swkey) == MAC_PROTO_ETHERNET) { in __ovs_nla_put_key()
2015 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
2019 if (!swkey->eth.vlan.tci) in __ovs_nla_put_key()
2022 if (swkey->eth.cvlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
[all …]
Dconntrack.h37 int ovs_ct_put_key(const struct sw_flow_key *swkey,
97 static inline int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
Dconntrack.c290 int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
309 if (swkey->ct_orig_proto) { in ovs_ct_put_key()
310 if (swkey->eth.type == htons(ETH_P_IP)) { in ovs_ct_put_key()
321 } else if (swkey->eth.type == htons(ETH_P_IPV6)) { in ovs_ct_put_key()