Lines Matching refs:ipq
70 struct ipq { struct
98 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev, argument
117 const struct ipq *ipq; in ip4_hashfn() local
119 ipq = container_of(q, struct ipq, q); in ip4_hashfn()
120 return ipqhashfn(ipq->id, ipq->saddr, ipq->daddr, ipq->protocol); in ip4_hashfn()
125 const struct ipq *qp; in ip4_frag_match()
128 qp = container_of(q, struct ipq, q); in ip4_frag_match()
139 struct ipq *qp = container_of(q, struct ipq, q); in ip4_frag_init()
160 struct ipq *qp; in ip4_frag_free()
162 qp = container_of(q, struct ipq, q); in ip4_frag_free()
170 static void ipq_put(struct ipq *ipq) in ipq_put() argument
172 inet_frag_put(&ipq->q, &ip4_frags); in ipq_put()
178 static void ipq_kill(struct ipq *ipq) in ipq_kill() argument
180 inet_frag_kill(&ipq->q, &ip4_frags); in ipq_kill()
197 struct ipq *qp; in ip_expire()
200 qp = container_of((struct inet_frag_queue *) arg, struct ipq, q); in ip_expire()
253 static struct ipq *ip_find(struct net *net, struct iphdr *iph, in ip_find()
271 return container_of(q, struct ipq, q); in ip_find()
275 static int ip_frag_too_far(struct ipq *qp) in ip_frag_too_far()
302 static int ip_frag_reinit(struct ipq *qp) in ip_frag_reinit()
334 static int ip_frag_queue(struct ipq *qp, struct sk_buff *skb) in ip_frag_queue()
524 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev, in ip_frag_reasm()
661 struct ipq *qp; in ip_defrag()
896 ip4_frags.qsize = sizeof(struct ipq); in ipfrag_init()