Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/openvswitch/
H A Dflow_netlink.c1509 const struct ovs_key_ethernet *eth_key; in ovs_key_from_nlattrs() local
1511 eth_key = nla_data(a[OVS_KEY_ATTR_ETHERNET]); in ovs_key_from_nlattrs()
1513 eth_key->eth_src, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
1515 eth_key->eth_dst, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
1992 struct ovs_key_ethernet *eth_key; in __ovs_nla_put_key() local
2037 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key()
2041 eth_key = nla_data(nla); in __ovs_nla_put_key()
2042 ether_addr_copy(eth_key->eth_src, output->eth.src); in __ovs_nla_put_key()
2043 ether_addr_copy(eth_key->eth_dst, output->eth.dst); in __ovs_nla_put_key()
/kernel/linux/linux-6.6/net/openvswitch/
H A Dflow_netlink.c1521 const struct ovs_key_ethernet *eth_key; in ovs_key_from_nlattrs() local
1523 eth_key = nla_data(a[OVS_KEY_ATTR_ETHERNET]); in ovs_key_from_nlattrs()
1525 eth_key->eth_src, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
1527 eth_key->eth_dst, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
2015 struct ovs_key_ethernet *eth_key; in __ovs_nla_put_key() local
2060 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key()
2064 eth_key = nla_data(nla); in __ovs_nla_put_key()
2065 ether_addr_copy(eth_key->eth_src, output->eth.src); in __ovs_nla_put_key()
2066 ether_addr_copy(eth_key->eth_dst, output->eth.dst); in __ovs_nla_put_key()

Completed in 8 milliseconds