Home
last modified time | relevance | path

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

/linux/net/openvswitch/
H A Dflow_netlink.c1534 const struct ovs_key_ethernet *eth_key; in ovs_key_from_nlattrs() local
1536 eth_key = nla_data(a[OVS_KEY_ATTR_ETHERNET]); in ovs_key_from_nlattrs()
1538 eth_key->eth_src, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
1540 eth_key->eth_dst, ETH_ALEN, is_mask); in ovs_key_from_nlattrs()
2028 struct ovs_key_ethernet *eth_key; in __ovs_nla_put_key() local
2073 nla = nla_reserve(skb, OVS_KEY_ATTR_ETHERNET, sizeof(*eth_key)); in __ovs_nla_put_key()
2077 eth_key = nla_data(nla); in __ovs_nla_put_key()
2078 ether_addr_copy(eth_key->eth_src, output->eth.src); in __ovs_nla_put_key()
2079 ether_addr_copy(eth_key->eth_dst, output->eth.dst); in __ovs_nla_put_key()