Home
last modified time | relevance | path

Searched refs:ip_set_extensions (Results 1 – 2 of 2) sorted by relevance

/linux/net/netfilter/ipset/
H A Dip_set_core.c403 const struct ip_set_ext_type ip_set_extensions[] = { variable
429 EXPORT_SYMBOL_GPL(ip_set_extensions);
434 return ip_set_extensions[id].flag ? in add_extension()
435 (flags & ip_set_extensions[id].flag) : in add_extension()
455 if (align < ip_set_extensions[id].align) in ip_set_elem_len()
456 align = ip_set_extensions[id].align; in ip_set_elem_len()
457 len = ALIGN(len, ip_set_extensions[id].align); in ip_set_elem_len()
459 set->extensions |= ip_set_extensions[id].type; in ip_set_elem_len()
460 len += ip_set_extensions[id].len; in ip_set_elem_len()
/linux/include/linux/netfilter/ipset/
H A Dip_set.h92 extern const struct ip_set_ext_type ip_set_extensions[];
294 ip_set_extensions[IPSET_EXT_ID_COMMENT].destroy(set, c); in ip_set_ext_destroy()