Home
last modified time | relevance | path

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

/Linux-v6.1/net/netfilter/ipset/
Dip_set_core.c941 return nla_get_u8(tb[IPSET_ATTR_PROTOCOL]); in protocol()
947 return !tb[IPSET_ATTR_PROTOCOL] || protocol(tb) != IPSET_PROTOCOL; in protocol_failed()
953 return !tb[IPSET_ATTR_PROTOCOL] || protocol(tb) < IPSET_PROTOCOL_MIN; in protocol_min_failed()
974 [IPSET_ATTR_PROTOCOL] = { .type = NLA_U8 },
1166 [IPSET_ATTR_PROTOCOL] = { .type = NLA_U8 },
1292 [IPSET_ATTR_PROTOCOL] = { .type = NLA_U8 },
1462 [IPSET_ATTR_PROTOCOL] = { .type = NLA_U8 },
1486 cb->args[IPSET_CB_PROTO] = nla_get_u8(cda[IPSET_ATTR_PROTOCOL]); in ip_set_dump_start()
1587 if (nla_put_u8(skb, IPSET_ATTR_PROTOCOL, in ip_set_dump_do()
1679 [IPSET_ATTR_PROTOCOL] = { .type = NLA_U8 },
[all …]
/Linux-v6.1/include/uapi/linux/netfilter/ipset/
Dip_set.h56 IPSET_ATTR_PROTOCOL, /* 1: Protocol version */ enumerator