Searched refs:fqdir (Results 1 – 13 of 13) sorted by relevance
/linux/net/ipv4/ |
A D | inet_fragment.c | 153 struct fqdir *fqdir, *tmp; in fqdir_free_fn() local 178 struct fqdir *fqdir = container_of(work, struct fqdir, destroy_work); in fqdir_work_fn() local 188 struct fqdir *fqdir = kzalloc(sizeof(*fqdir), GFP_KERNEL); in fqdir_init() local 191 if (!fqdir) in fqdir_init() 193 fqdir->f = f; in fqdir_init() 218 void fqdir_exit(struct fqdir *fqdir) in fqdir_exit() argument 231 struct fqdir *fqdir = fq->fqdir; in inet_frag_kill() local 287 struct fqdir *fqdir; in inet_frag_destroy() local 295 fqdir = q->fqdir; in inet_frag_destroy() 316 q->fqdir = fqdir; in inet_frag_alloc() [all …]
|
A D | ip_fragment.c | 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() 147 if (qp->q.fqdir->dead) in ip_expire() 227 unsigned int max = qp->q.fqdir->max_dist; in ip_frag_too_far() 274 struct net *net = qp->q.fqdir->net; in ip_frag_queue() 405 struct net *net = qp->q.fqdir->net; in ip_frag_reasm() 681 net->ipv4.fqdir->max_dist = 64; in ipv4_frags_init_net() 685 fqdir_exit(net->ipv4.fqdir); in ipv4_frags_init_net() 691 fqdir_pre_exit(net->ipv4.fqdir); in ipv4_frags_pre_exit_net() [all …]
|
A D | proc.c | 72 atomic_read(&net->ipv4.fqdir->rhashtable.nelems), in sockstat_seq_show() 73 frag_mem_limit(net->ipv4.fqdir)); in sockstat_seq_show()
|
/linux/include/net/ |
A D | inet_frag.h | 9 struct fqdir { struct 95 struct fqdir *fqdir; member 118 static inline void fqdir_pre_exit(struct fqdir *fqdir) in fqdir_pre_exit() argument 121 fqdir->dead = true; in fqdir_pre_exit() 123 void fqdir_exit(struct fqdir *fqdir); 127 struct inet_frag_queue *inet_frag_find(struct fqdir *fqdir, void *key); 140 static inline long frag_mem_limit(const struct fqdir *fqdir) in frag_mem_limit() argument 145 static inline void sub_frag_mem_limit(struct fqdir *fqdir, long val) in sub_frag_mem_limit() argument 147 atomic_long_sub(val, &fqdir->mem); in sub_frag_mem_limit() 150 static inline void add_frag_mem_limit(struct fqdir *fqdir, long val) in add_frag_mem_limit() argument [all …]
|
A D | ipv6_frag.h | 70 if (fq->q.fqdir->dead) in ip6frag_expire_frag_queue()
|
/linux/net/ipv6/netfilter/ |
A D | nf_conntrack_reasm.c | 84 table[0].data = &nf_frag->fqdir->timeout; in nf_ct_frag6_sysctl_register() 85 table[1].data = &nf_frag->fqdir->low_thresh; in nf_ct_frag6_sysctl_register() 86 table[1].extra2 = &nf_frag->fqdir->high_thresh; in nf_ct_frag6_sysctl_register() 87 table[2].data = &nf_frag->fqdir->high_thresh; in nf_ct_frag6_sysctl_register() 88 table[2].extra1 = &nf_frag->fqdir->low_thresh; in nf_ct_frag6_sysctl_register() 89 table[2].extra2 = &nf_frag->fqdir->high_thresh; in nf_ct_frag6_sysctl_register() 158 q = inet_frag_find(nf_frag->fqdir, &key); in fq_find() 504 nf_frag->fqdir->timeout = IPV6_FRAG_TIMEOUT; in nf_ct_net_init() 508 fqdir_exit(nf_frag->fqdir); in nf_ct_net_init() 516 fqdir_pre_exit(nf_frag->fqdir); in nf_ct_net_pre_exit() [all …]
|
/linux/net/ipv6/ |
A D | reassembly.c | 80 ip6frag_expire_frag_queue(fq->q.fqdir->net, fq); in ip6_frag_expire() 99 q = inet_frag_find(net->ipv6.fqdir, &key); in fq_find() 199 add_frag_mem_limit(fq->q.fqdir, skb->truesize); in ip6_frag_queue() 253 struct net *net = fq->q.fqdir->net; in ip6_frag_reasm() 461 table[0].data = &net->ipv6.fqdir->high_thresh; in ip6_frags_ns_sysctl_register() 463 table[1].data = &net->ipv6.fqdir->low_thresh; in ip6_frags_ns_sysctl_register() 465 table[2].data = &net->ipv6.fqdir->timeout; in ip6_frags_ns_sysctl_register() 534 net->ipv6.fqdir->timeout = IPV6_FRAG_TIMEOUT; in ipv6_frags_init_net() 538 fqdir_exit(net->ipv6.fqdir); in ipv6_frags_init_net() 544 fqdir_pre_exit(net->ipv6.fqdir); in ipv6_frags_pre_exit_net() [all …]
|
A D | proc.c | 47 atomic_read(&net->ipv6.fqdir->rhashtable.nelems), in sockstat6_seq_show() 48 frag_mem_limit(net->ipv6.fqdir)); in sockstat6_seq_show()
|
/linux/net/ieee802154/6lowpan/ |
A D | reassembly.c | 77 q = inet_frag_find(ieee802154_lowpan->fqdir, &key); in fq_find() 137 add_frag_mem_limit(fq->q.fqdir, skb->truesize); in lowpan_frag_queue() 375 table[0].data = &ieee802154_lowpan->fqdir->high_thresh; in lowpan_frags_ns_sysctl_register() 376 table[0].extra1 = &ieee802154_lowpan->fqdir->low_thresh; in lowpan_frags_ns_sysctl_register() 377 table[1].data = &ieee802154_lowpan->fqdir->low_thresh; in lowpan_frags_ns_sysctl_register() 378 table[1].extra2 = &ieee802154_lowpan->fqdir->high_thresh; in lowpan_frags_ns_sysctl_register() 379 table[2].data = &ieee802154_lowpan->fqdir->timeout; in lowpan_frags_ns_sysctl_register() 454 ieee802154_lowpan->fqdir->timeout = IPV6_FRAG_TIMEOUT; in lowpan_frags_init_net() 458 fqdir_exit(ieee802154_lowpan->fqdir); in lowpan_frags_init_net() 467 fqdir_pre_exit(ieee802154_lowpan->fqdir); in lowpan_frags_pre_exit_net() [all …]
|
/linux/include/net/netns/ |
A D | ipv6.h | 68 struct fqdir *fqdir; member 120 struct fqdir *fqdir; member
|
A D | ieee802154_6lowpan.h | 19 struct fqdir *fqdir; member
|
A D | ipv4.h | 78 struct fqdir *fqdir; member
|
/linux/include/net/netfilter/ipv6/ |
A D | nf_defrag_ipv6.h | 19 struct fqdir *fqdir; member
|
Completed in 17 milliseconds