Searched refs:arp_key (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/net/openvswitch/ |
H A D | flow_netlink.c | 894 const struct ovs_key_arp *arp_key; ovs_key_from_nlattrs() local 896 arp_key = nla_data(a[OVS_KEY_ATTR_ARP]); ovs_key_from_nlattrs() 897 if (!is_mask && (arp_key->arp_op & htons(0xff00))) { ovs_key_from_nlattrs() 899 arp_key->arp_op); ovs_key_from_nlattrs() 904 arp_key->arp_sip, is_mask); ovs_key_from_nlattrs() 906 arp_key->arp_tip, is_mask); ovs_key_from_nlattrs() 908 ntohs(arp_key->arp_op), is_mask); ovs_key_from_nlattrs() 910 arp_key->arp_sha, ETH_ALEN, is_mask); ovs_key_from_nlattrs() 912 arp_key->arp_tha, ETH_ALEN, is_mask); ovs_key_from_nlattrs() 1385 struct ovs_key_arp *arp_key; __ovs_nla_put_key() local 1387 nla = nla_reserve(skb, OVS_KEY_ATTR_ARP, sizeof(*arp_key)); __ovs_nla_put_key() 1390 arp_key = nla_data(nla); __ovs_nla_put_key() 1391 memset(arp_key, 0, sizeof(struct ovs_key_arp)); __ovs_nla_put_key() 1392 arp_key->arp_sip = output->ipv4.addr.src; __ovs_nla_put_key() 1393 arp_key->arp_tip = output->ipv4.addr.dst; __ovs_nla_put_key() 1394 arp_key->arp_op = htons(output->ip.proto); __ovs_nla_put_key() 1395 ether_addr_copy(arp_key->arp_sha, output->ipv4.arp.sha); __ovs_nla_put_key() 1396 ether_addr_copy(arp_key->arp_tha, output->ipv4.arp.tha); __ovs_nla_put_key()
|
Completed in 92 milliseconds