Searched refs:icmp_key (Results 1 – 1 of 1) sorted by relevance
1692 const struct ovs_key_icmp *icmp_key; in ovs_key_from_nlattrs() local1694 icmp_key = nla_data(a[OVS_KEY_ATTR_ICMP]); in ovs_key_from_nlattrs()1696 htons(icmp_key->icmp_type), is_mask); in ovs_key_from_nlattrs()1698 htons(icmp_key->icmp_code), is_mask); in ovs_key_from_nlattrs()2185 struct ovs_key_icmp *icmp_key; in __ovs_nla_put_key() local2187 nla = nla_reserve(skb, OVS_KEY_ATTR_ICMP, sizeof(*icmp_key)); in __ovs_nla_put_key()2190 icmp_key = nla_data(nla); in __ovs_nla_put_key()2191 icmp_key->icmp_type = ntohs(output->tp.src); in __ovs_nla_put_key()2192 icmp_key->icmp_code = ntohs(output->tp.dst); in __ovs_nla_put_key()