Lines Matching refs:ipq
68 struct ipq { struct
128 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev,
145 struct ipq *ipq; in ip4_hashfn() local
147 ipq = container_of(q, struct ipq, q); in ip4_hashfn()
148 return ipqhashfn(ipq->id, ipq->saddr, ipq->daddr, ipq->protocol); in ip4_hashfn()
153 struct ipq *qp; in ip4_frag_match()
156 qp = container_of(q, struct ipq, q); in ip4_frag_match()
173 struct ipq *qp = container_of(q, struct ipq, q); in ip4_frag_init()
188 struct ipq *qp; in ip4_frag_free()
190 qp = container_of(q, struct ipq, q); in ip4_frag_free()
198 static __inline__ void ipq_put(struct ipq *ipq) in ipq_put() argument
200 inet_frag_put(&ipq->q, &ip4_frags); in ipq_put()
206 static void ipq_kill(struct ipq *ipq) in ipq_kill() argument
208 inet_frag_kill(&ipq->q, &ip4_frags); in ipq_kill()
228 struct ipq *qp; in ip_expire()
231 qp = container_of((struct inet_frag_queue *) arg, struct ipq, q); in ip_expire()
284 static inline struct ipq *ip_find(struct net *net, struct iphdr *iph, u32 user) in ip_find()
301 return container_of(q, struct ipq, q); in ip_find()
305 static inline int ip_frag_too_far(struct ipq *qp) in ip_frag_too_far()
332 static int ip_frag_reinit(struct ipq *qp) in ip_frag_reinit()
360 static int ip_frag_queue(struct ipq *qp, struct sk_buff *skb) in ip_frag_queue()
543 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev, in ip_frag_reasm()
661 struct ipq *qp; in ip_defrag()
871 ip4_frags.qsize = sizeof(struct ipq); in ipfrag_init()