Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/netfilter/ipset/
Dip_set.h92 extern const struct ip_set_ext_type ip_set_extensions[];
290 ip_set_extensions[IPSET_EXT_ID_COMMENT].destroy(set, c); in ip_set_ext_destroy()
/linux-6.1.9/net/netfilter/ipset/
Dip_set_core.c395 const struct ip_set_ext_type ip_set_extensions[] = { variable
421 EXPORT_SYMBOL_GPL(ip_set_extensions);
426 return ip_set_extensions[id].flag ? in add_extension()
427 (flags & ip_set_extensions[id].flag) : in add_extension()
447 if (align < ip_set_extensions[id].align) in ip_set_elem_len()
448 align = ip_set_extensions[id].align; in ip_set_elem_len()
449 len = ALIGN(len, ip_set_extensions[id].align); in ip_set_elem_len()
451 set->extensions |= ip_set_extensions[id].type; in ip_set_elem_len()
452 len += ip_set_extensions[id].len; in ip_set_elem_len()