Searched refs:fq (Results 1 – 3 of 3) sorted by relevance
/net/ipv6/ |
D | reassembly.c | 95 static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *prev, 132 struct frag_queue *fq; in ip6_hashfn() local 134 fq = container_of(q, struct frag_queue, q); in ip6_hashfn() 135 return inet6_hash_frag(fq->id, &fq->saddr, &fq->daddr, ip6_frags.rnd); in ip6_hashfn() 140 struct frag_queue *fq; in ip6_frag_match() local 143 fq = container_of(q, struct frag_queue, q); in ip6_frag_match() 144 return (fq->id == arg->id && in ip6_frag_match() 145 ipv6_addr_equal(&fq->saddr, arg->src) && in ip6_frag_match() 146 ipv6_addr_equal(&fq->daddr, arg->dst)); in ip6_frag_match() 162 struct frag_queue *fq = container_of(q, struct frag_queue, q); in ip6_frag_init() local [all …]
|
/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 131 static __inline__ void fq_put(struct nf_ct_frag6_queue *fq) in fq_put() argument 133 inet_frag_put(&fq->q, &nf_frags); in fq_put() 139 static __inline__ void fq_kill(struct nf_ct_frag6_queue *fq) in fq_kill() argument 141 inet_frag_kill(&fq->q, &nf_frags); in fq_kill() 153 struct nf_ct_frag6_queue *fq; in nf_ct_frag6_expire() local 155 fq = container_of((struct inet_frag_queue *)data, in nf_ct_frag6_expire() 158 spin_lock(&fq->q.lock); in nf_ct_frag6_expire() 160 if (fq->q.last_in & INET_FRAG_COMPLETE) in nf_ct_frag6_expire() 163 fq_kill(fq); in nf_ct_frag6_expire() 166 spin_unlock(&fq->q.lock); in nf_ct_frag6_expire() [all …]
|
/net/ipv4/ |
D | inet_fragment.c | 96 static inline void fq_unlink(struct inet_frag_queue *fq, struct inet_frags *f) in fq_unlink() argument 99 hlist_del(&fq->list); in fq_unlink() 100 list_del(&fq->lru_list); in fq_unlink() 101 fq->net->nqueues--; in fq_unlink() 105 void inet_frag_kill(struct inet_frag_queue *fq, struct inet_frags *f) in inet_frag_kill() argument 107 if (del_timer(&fq->timer)) in inet_frag_kill() 108 atomic_dec(&fq->refcnt); in inet_frag_kill() 110 if (!(fq->last_in & INET_FRAG_COMPLETE)) { in inet_frag_kill() 111 fq_unlink(fq, f); in inet_frag_kill() 112 atomic_dec(&fq->refcnt); in inet_frag_kill() [all …]
|