Searched refs:fq (Results 1 – 4 of 4) sorted by relevance
/net/ieee802154/ |
D | reassembly.c | 48 static int lowpan_frag_reasm(struct lowpan_frag_queue *fq, 64 const struct lowpan_frag_queue *fq; in lowpan_hashfn() local 66 fq = container_of(q, struct lowpan_frag_queue, q); in lowpan_hashfn() 67 return lowpan_hash_frag(fq->tag, fq->d_size, &fq->saddr, &fq->daddr); in lowpan_hashfn() 72 const struct lowpan_frag_queue *fq; in lowpan_frag_match() local 75 fq = container_of(q, struct lowpan_frag_queue, q); in lowpan_frag_match() 76 return fq->tag == arg->tag && fq->d_size == arg->d_size && in lowpan_frag_match() 77 ieee802154_addr_equal(&fq->saddr, arg->src) && in lowpan_frag_match() 78 ieee802154_addr_equal(&fq->daddr, arg->dst); in lowpan_frag_match() 84 struct lowpan_frag_queue *fq; in lowpan_frag_init() local [all …]
|
/net/ipv6/ |
D | reassembly.c | 79 static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *prev, 96 const struct frag_queue *fq; in ip6_hashfn() local 98 fq = container_of(q, struct frag_queue, q); in ip6_hashfn() 99 return inet6_hash_frag(fq->id, &fq->saddr, &fq->daddr); in ip6_hashfn() 104 const struct frag_queue *fq; in ip6_frag_match() local 107 fq = container_of(q, struct frag_queue, q); in ip6_frag_match() 108 return fq->id == arg->id && in ip6_frag_match() 109 fq->user == arg->user && in ip6_frag_match() 110 ipv6_addr_equal(&fq->saddr, arg->src) && in ip6_frag_match() 111 ipv6_addr_equal(&fq->daddr, arg->dst) && in ip6_frag_match() [all …]
|
/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 181 struct frag_queue *fq; in nf_ct_frag6_expire() local 184 fq = container_of((struct inet_frag_queue *)data, struct frag_queue, q); in nf_ct_frag6_expire() 185 net = container_of(fq->q.net, struct net, nf_frag.frags); in nf_ct_frag6_expire() 187 ip6_expire_frag_queue(net, fq, &nf_frags); in nf_ct_frag6_expire() 219 static int nf_ct_frag6_queue(struct frag_queue *fq, struct sk_buff *skb, in nf_ct_frag6_queue() argument 227 if (fq->q.flags & INET_FRAG_COMPLETE) { in nf_ct_frag6_queue() 257 if (end < fq->q.len || in nf_ct_frag6_queue() 258 ((fq->q.flags & INET_FRAG_LAST_IN) && end != fq->q.len)) { in nf_ct_frag6_queue() 262 fq->q.flags |= INET_FRAG_LAST_IN; in nf_ct_frag6_queue() 263 fq->q.len = end; in nf_ct_frag6_queue() [all …]
|
/net/ipv4/ |
D | inet_fragment.c | 129 struct inet_frag_queue *fq; in inet_evict_bucket() local 137 hlist_for_each_entry_safe(fq, n, &hb->chain, list) { in inet_evict_bucket() 138 if (!inet_fragq_should_evict(fq)) in inet_evict_bucket() 141 if (!del_timer(&fq->timer)) { in inet_evict_bucket() 146 atomic_inc(&fq->refcnt); in inet_evict_bucket() 148 del_timer_sync(&fq->timer); in inet_evict_bucket() 149 inet_frag_put(fq, f); in inet_evict_bucket() 153 fq->flags |= INET_FRAG_EVICTED; in inet_evict_bucket() 154 hlist_del(&fq->list); in inet_evict_bucket() 155 hlist_add_head(&fq->list, &expired); in inet_evict_bucket() [all …]
|