Home
last modified time | relevance | path

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

/linux/net/netfilter/ipset/
H A Dip_set_hash_ipmac.c62 nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) in hash_ipmac4_data_list()
119 !tb[IPSET_ATTR_ETHER] || in hash_ipmac4_uadt()
120 nla_len(tb[IPSET_ATTR_ETHER]) != ETH_ALEN || in hash_ipmac4_uadt()
136 memcpy(e.ether, nla_data(tb[IPSET_ATTR_ETHER]), ETH_ALEN); in hash_ipmac4_uadt()
170 nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) in hash_ipmac6_data_list()
238 !tb[IPSET_ATTR_ETHER] || in hash_ipmac6_uadt()
239 nla_len(tb[IPSET_ATTR_ETHER]) != ETH_ALEN || in hash_ipmac6_uadt()
256 memcpy(e.ether, nla_data(tb[IPSET_ATTR_ETHER]), ETH_ALEN); in hash_ipmac6_uadt()
284 [IPSET_ATTR_ETHER] = { .type = NLA_BINARY,
H A Dip_set_hash_mac.c51 if (nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, e->ether)) in hash_mac4_data_list()
106 if (unlikely(!tb[IPSET_ATTR_ETHER] || in hash_mac4_uadt()
107 nla_len(tb[IPSET_ATTR_ETHER]) != ETH_ALEN)) in hash_mac4_uadt()
113 ether_addr_copy(e.ether, nla_data(tb[IPSET_ATTR_ETHER])); in hash_mac4_uadt()
140 [IPSET_ATTR_ETHER] = { .type = NLA_BINARY,
H A Dip_set_bitmap_ipmac.c197 nla_put(skb, IPSET_ATTR_ETHER, ETH_ALEN, elem->ether)); in bitmap_ipmac_do_list()
269 if (tb[IPSET_ATTR_ETHER]) { in bitmap_ipmac_uadt()
270 if (nla_len(tb[IPSET_ATTR_ETHER]) != ETH_ALEN) in bitmap_ipmac_uadt()
272 memcpy(e.ether, nla_data(tb[IPSET_ATTR_ETHER]), ETH_ALEN); in bitmap_ipmac_uadt()
394 [IPSET_ATTR_ETHER] = { .type = NLA_BINARY,
/linux/include/uapi/linux/netfilter/ipset/
H A Dip_set.h110 IPSET_ATTR_ETHER = IPSET_ATTR_CADT_MAX + 1, enumerator