Home
last modified time | relevance | path

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

/Linux-v5.15/net/openvswitch/
Dflow_netlink.c1508 const struct ovs_key_ethernet *eth_key; in ovs_key_from_nlattrs() local
1510 eth_key = nla_data(a[OVS_KEY_ATTR_ETHERNET]); in ovs_key_from_nlattrs()
1512 eth_key->eth_src, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
1514 eth_key->eth_dst, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
1991 struct ovs_key_ethernet *eth_key; in __ovs_nla_put_key() local
2036 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key()
2040 eth_key = nla_data(nla); in __ovs_nla_put_key()
2041 ether_addr_copy(eth_key->eth_src, output->eth.src); in __ovs_nla_put_key()
2042 ether_addr_copy(eth_key->eth_dst, output->eth.dst); in __ovs_nla_put_key()