Searched refs:icmp_key (Results 1 – 1 of 1) sorted by relevance
1715 const struct ovs_key_icmp *icmp_key; in ovs_key_from_nlattrs() local1717 icmp_key = nla_data(a[OVS_KEY_ATTR_ICMP]); in ovs_key_from_nlattrs()1719 htons(icmp_key->icmp_type), is_mask); in ovs_key_from_nlattrs()1721 htons(icmp_key->icmp_code), is_mask); in ovs_key_from_nlattrs()2216 struct ovs_key_icmp *icmp_key; in __ovs_nla_put_key() local2218 nla = nla_reserve(skb, OVS_KEY_ATTR_ICMP, sizeof(*icmp_key)); in __ovs_nla_put_key()2221 icmp_key = nla_data(nla); in __ovs_nla_put_key()2222 icmp_key->icmp_type = ntohs(output->tp.src); in __ovs_nla_put_key()2223 icmp_key->icmp_code = ntohs(output->tp.dst); in __ovs_nla_put_key()