Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_conntrack_proto_icmp.c45 static const u_int8_t invmap[] = { variable
59 if (orig->dst.u.icmp.type >= sizeof(invmap) || in nf_conntrack_invert_icmp_tuple()
60 !invmap[orig->dst.u.icmp.type]) in nf_conntrack_invert_icmp_tuple()
64 tuple->dst.u.icmp.type = invmap[orig->dst.u.icmp.type] - 1; in nf_conntrack_invert_icmp_tuple()
283 if (tuple->dst.u.icmp.type >= sizeof(invmap) || in icmp_nlattr_to_tuple()
284 !invmap[tuple->dst.u.icmp.type]) in icmp_nlattr_to_tuple()
H A Dnf_conntrack_proto_icmpv6.c50 static const u_int8_t invmap[] = { variable
74 if (type < 0 || type >= sizeof(invmap) || !invmap[type]) in nf_conntrack_invert_icmpv6_tuple()
78 tuple->dst.u.icmp.type = invmap[type] - 1; in nf_conntrack_invert_icmpv6_tuple()
261 tuple->dst.u.icmp.type - 128 >= sizeof(invmap) || in icmpv6_nlattr_to_tuple()
262 !invmap[tuple->dst.u.icmp.type - 128]) in icmpv6_nlattr_to_tuple()