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

/linux-4.1.27/net/openvswitch/
H A Dflow_netlink.c962 const struct ovs_key_icmp *icmp_key; ovs_key_from_nlattrs() local
964 icmp_key = nla_data(a[OVS_KEY_ATTR_ICMP]); ovs_key_from_nlattrs()
966 htons(icmp_key->icmp_type), is_mask); ovs_key_from_nlattrs()
968 htons(icmp_key->icmp_code), is_mask); ovs_key_from_nlattrs()
1443 struct ovs_key_icmp *icmp_key; __ovs_nla_put_key() local
1445 nla = nla_reserve(skb, OVS_KEY_ATTR_ICMP, sizeof(*icmp_key)); __ovs_nla_put_key()
1448 icmp_key = nla_data(nla); __ovs_nla_put_key()
1449 icmp_key->icmp_type = ntohs(output->tp.src); __ovs_nla_put_key()
1450 icmp_key->icmp_code = ntohs(output->tp.dst); __ovs_nla_put_key()

Completed in 66 milliseconds