Home
last modified time | relevance | path

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

/linux-6.6.21/net/openvswitch/
Dflow_netlink.c2011 static int __ovs_nla_put_key(const struct sw_flow_key *swkey, in __ovs_nla_put_key() argument
2029 if ((swkey->tun_proto || is_mask)) { in __ovs_nla_put_key()
2033 opts = TUN_METADATA_OPTS(output, swkey->tun_opts_len); in __ovs_nla_put_key()
2036 swkey->tun_opts_len, swkey->tun_proto, 0)) in __ovs_nla_put_key()
2040 if (swkey->phy.in_port == DP_MAX_PORTS) { in __ovs_nla_put_key()
2056 if (ovs_ct_put_key(swkey, output, skb)) in __ovs_nla_put_key()
2059 if (ovs_key_mac_proto(swkey) == MAC_PROTO_ETHERNET) { in __ovs_nla_put_key()
2068 if (swkey->eth.vlan.tci || eth_type_vlan(swkey->eth.type)) { in __ovs_nla_put_key()
2072 if (!swkey->eth.vlan.tci) in __ovs_nla_put_key()
2075 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.c285 int ovs_ct_put_key(const struct sw_flow_key *swkey, in ovs_ct_put_key() argument
304 if (swkey->ct_orig_proto) { in ovs_ct_put_key()
305 if (swkey->eth.type == htons(ETH_P_IP)) { in ovs_ct_put_key()
318 } else if (swkey->eth.type == htons(ETH_P_IPV6)) { in ovs_ct_put_key()