Home
last modified time | relevance | path

Searched refs:IP_NF_ASSERT (Results 1 – 16 of 16) sorted by relevance

/linux-2.4.37.9/net/ipv4/netfilter/
Dip_nat_core.c75 IP_NF_ASSERT(info->bysource.conntrack); in ip_nat_cleanup_conntrack()
76 IP_NF_ASSERT(info->byipsproto.conntrack); in ip_nat_cleanup_conntrack()
291 IP_NF_ASSERT(mr->rangesize >= 1); in find_best_ips_proto()
444 IP_NF_ASSERT(!ip_nat_used_tuple(tuple, in get_unique_tuple()
461 IP_NF_ASSERT(!ip_nat_used_tuple in get_unique_tuple()
480 IP_NF_ASSERT(mr->rangesize >= 1); in get_unique_tuple()
513 IP_NF_ASSERT(hooknum == NF_IP_PRE_ROUTING in ip_nat_setup_info()
517 IP_NF_ASSERT(info->num_manips < IP_NAT_MAX_MANIPS); in ip_nat_setup_info()
518 IP_NF_ASSERT(!(info->initialized & (1 << HOOK2MANIP(hooknum)))); in ip_nat_setup_info()
600 IP_NF_ASSERT(info->num_manips < IP_NAT_MAX_MANIPS); in ip_nat_setup_info()
[all …]
Dip_conntrack_core.c103 IP_NF_ASSERT(ct); in ip_conntrack_put()
104 IP_NF_ASSERT(ct->infos[0].master); in ip_conntrack_put()
179 IP_NF_ASSERT(atomic_read(&exp->use) == 0); in destroy_expect()
180 IP_NF_ASSERT(!timer_pending(&exp->timeout)); in destroy_expect()
187 IP_NF_ASSERT(exp); in ip_conntrack_expect_put()
229 IP_NF_ASSERT(!expect->sibling); in __unexpect_related()
247 IP_NF_ASSERT(expect->expectant); in unexpect_related()
248 IP_NF_ASSERT(expect->expectant->helper); in unexpect_related()
283 IP_NF_ASSERT(list_inlist(&ip_conntrack_expect_list, exp)); in remove_expectations()
284 IP_NF_ASSERT(exp->expectant == ct); in remove_expectations()
[all …]
Dipt_MASQUERADE.c74 IP_NF_ASSERT(hooknum == NF_IP_POST_ROUTING); in masquerade_target()
82 IP_NF_ASSERT(ct && (ctinfo == IP_CT_NEW || ctinfo == IP_CT_RELATED in masquerade_target()
149 IP_NF_ASSERT(dev->ifindex != 0); in masq_device_event()
168 IP_NF_ASSERT(dev->ifindex != 0); in masq_inet_event()
Dip_nat_rule.c119 IP_NF_ASSERT(hooknum == NF_IP_POST_ROUTING); in ipt_snat_target()
124 IP_NF_ASSERT(ct && (ctinfo == IP_CT_NEW || ctinfo == IP_CT_RELATED in ipt_snat_target()
126 IP_NF_ASSERT(out); in ipt_snat_target()
141 IP_NF_ASSERT(hooknum == NF_IP_PRE_ROUTING in ipt_dnat_target()
147 IP_NF_ASSERT(ct && (ctinfo == IP_CT_NEW || ctinfo == IP_CT_RELATED)); in ipt_dnat_target()
Dip_nat_amanda.c45 IP_NF_ASSERT(info); in amanda_nat_expected()
46 IP_NF_ASSERT(master); in amanda_nat_expected()
47 IP_NF_ASSERT(!(info->initialized & (1 << HOOK2MANIP(hooknum)))); in amanda_nat_expected()
Dipt_REDIRECT.c68 IP_NF_ASSERT(hooknum == NF_IP_PRE_ROUTING in redirect_target()
72 IP_NF_ASSERT(ct && (ctinfo == IP_CT_NEW || ctinfo == IP_CT_RELATED)); in redirect_target()
Dip_nat_tftp.c111 IP_NF_ASSERT(info); in tftp_nat_expected()
112 IP_NF_ASSERT(master); in tftp_nat_expected()
113 IP_NF_ASSERT(!(info->initialized & (1 << HOOK2MANIP(hooknum)))); in tftp_nat_expected()
Dip_nat_irc.c62 IP_NF_ASSERT(info); in irc_nat_expected()
63 IP_NF_ASSERT(master); in irc_nat_expected()
65 IP_NF_ASSERT(!(info->initialized & (1 << HOOK2MANIP(hooknum)))); in irc_nat_expected()
Dip_fw_compat_masq.c111 IP_NF_ASSERT(ct); in check_for_masq_error()
158 IP_NF_ASSERT(((*pskb)->nh.iph->frag_off & htons(IP_OFFSET)) == 0); in check_for_demasq()
251 IP_NF_ASSERT(hash->ctrack); in masq_iterate()
Dip_nat_standalone.c76 IP_NF_ASSERT(!((*pskb)->nh.iph->frag_off in ip_nat_fn()
153 IP_NF_ASSERT(ctinfo == IP_CT_ESTABLISHED in ip_nat_fn()
158 IP_NF_ASSERT(info); in ip_nat_fn()
Dip_nat_ftp.c41 IP_NF_ASSERT(info); in ftp_nat_expected()
42 IP_NF_ASSERT(master); in ftp_nat_expected()
44 IP_NF_ASSERT(!(info->initialized & (1<<HOOK2MANIP(hooknum)))); in ftp_nat_expected()
Dip_tables.c45 #define IP_NF_ASSERT(x) \ macro
52 #define IP_NF_ASSERT(x) macro
59 #define ASSERT_READ_LOCK(x) IP_NF_ASSERT(down_trylock(&ipt_mutex) != 0)
60 #define ASSERT_WRITE_LOCK(x) IP_NF_ASSERT(down_trylock(&ipt_mutex) != 0)
288 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); in ipt_do_table()
311 IP_NF_ASSERT(e); in ipt_do_table()
312 IP_NF_ASSERT(back); in ipt_do_table()
326 IP_NF_ASSERT(t->u.kernel.target); in ipt_do_table()
Dip_fw_compat_redir.c39 #define IP_NF_ASSERT(x) \ macro
48 #define IP_NF_ASSERT(x) macro
Dip_conntrack_standalone.c122 IP_NF_ASSERT(hash->ctrack); in conntrack_iterate()
/linux-2.4.37.9/include/linux/netfilter_ipv4/
Dip_conntrack.h107 #define IP_NF_ASSERT(x) \ macro
116 #define IP_NF_ASSERT(x) macro
/linux-2.4.37.9/net/ipv6/netfilter/
Dip6_tables.c50 #define IP_NF_ASSERT(x) \ macro
57 #define IP_NF_ASSERT(x) macro
64 #define ASSERT_READ_LOCK(x) IP_NF_ASSERT(down_trylock(&ip6t_mutex) != 0)
65 #define ASSERT_WRITE_LOCK(x) IP_NF_ASSERT(down_trylock(&ip6t_mutex) != 0)
374 IP_NF_ASSERT(table->valid_hooks & (1 << hook)); in ip6t_do_table()
397 IP_NF_ASSERT(e); in ip6t_do_table()
398 IP_NF_ASSERT(back); in ip6t_do_table()
416 IP_NF_ASSERT(t->u.kernel.target); in ip6t_do_table()