Lines Matching refs:fqdir
85 struct net *net = q->fqdir->net; in ip4_frag_init()
91 qp->peer = q->fqdir->max_dist ? in ip4_frag_init()
143 net = qp->q.fqdir->net; in ip_expire()
148 if (READ_ONCE(qp->q.fqdir->dead)) in ip_expire()
217 q = inet_frag_find(net->ipv4.fqdir, &key); in ip_find()
228 unsigned int max = qp->q.fqdir->max_dist; in ip_frag_too_far()
243 __IP_INC_STATS(qp->q.fqdir->net, IPSTATS_MIB_REASMFAILS); in ip_frag_too_far()
252 if (!mod_timer(&qp->q.timer, jiffies + qp->q.fqdir->timeout)) { in ip_frag_reinit()
258 sub_frag_mem_limit(qp->q.fqdir, sum_truesize); in ip_frag_reinit()
275 struct net *net = qp->q.fqdir->net; in ip_frag_queue()
355 add_frag_mem_limit(qp->q.fqdir, skb->truesize); in ip_frag_queue()
407 struct net *net = qp->q.fqdir->net; in ip_frag_reasm()
604 table[0].data = &net->ipv4.fqdir->high_thresh; in ip4_frags_ns_ctl_register()
605 table[0].extra1 = &net->ipv4.fqdir->low_thresh; in ip4_frags_ns_ctl_register()
606 table[1].data = &net->ipv4.fqdir->low_thresh; in ip4_frags_ns_ctl_register()
607 table[1].extra2 = &net->ipv4.fqdir->high_thresh; in ip4_frags_ns_ctl_register()
608 table[2].data = &net->ipv4.fqdir->timeout; in ip4_frags_ns_ctl_register()
609 table[3].data = &net->ipv4.fqdir->max_dist; in ip4_frags_ns_ctl_register()
657 res = fqdir_init(&net->ipv4.fqdir, &ip4_frags, net); in ipv4_frags_init_net()
674 net->ipv4.fqdir->high_thresh = 4 * 1024 * 1024; in ipv4_frags_init_net()
675 net->ipv4.fqdir->low_thresh = 3 * 1024 * 1024; in ipv4_frags_init_net()
681 net->ipv4.fqdir->timeout = IP_FRAG_TIME; in ipv4_frags_init_net()
683 net->ipv4.fqdir->max_dist = 64; in ipv4_frags_init_net()
687 fqdir_exit(net->ipv4.fqdir); in ipv4_frags_init_net()
693 fqdir_pre_exit(net->ipv4.fqdir); in ipv4_frags_pre_exit_net()
699 fqdir_exit(net->ipv4.fqdir); in ipv4_frags_exit_net()