Searched refs:IP_NF_ASSERT (Results 1 – 16 of 16) sorted by relevance
75 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 …]
103 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 …]
74 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()
119 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()
45 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()
68 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()
111 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()
62 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()
111 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()
76 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()
41 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()
45 #define IP_NF_ASSERT(x) \ macro52 #define IP_NF_ASSERT(x) macro59 #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()
39 #define IP_NF_ASSERT(x) \ macro48 #define IP_NF_ASSERT(x) macro
122 IP_NF_ASSERT(hash->ctrack); in conntrack_iterate()
107 #define IP_NF_ASSERT(x) \ macro116 #define IP_NF_ASSERT(x) macro
50 #define IP_NF_ASSERT(x) \ macro57 #define IP_NF_ASSERT(x) macro64 #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()