Lines Matching refs:ipq
66 struct ipq { struct
108 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev,
125 struct ipq *ipq; in ip4_hashfn() local
127 ipq = container_of(q, struct ipq, q); in ip4_hashfn()
128 return ipqhashfn(ipq->id, ipq->saddr, ipq->daddr, ipq->protocol); in ip4_hashfn()
133 struct ipq *qp; in ip4_frag_match()
136 qp = container_of(q, struct ipq, q); in ip4_frag_match()
153 struct ipq *qp = container_of(q, struct ipq, q); in ip4_frag_init()
168 struct ipq *qp; in ip4_frag_free()
170 qp = container_of(q, struct ipq, q); in ip4_frag_free()
178 static __inline__ void ipq_put(struct ipq *ipq) in ipq_put() argument
180 inet_frag_put(&ipq->q, &ip4_frags); in ipq_put()
186 static void ipq_kill(struct ipq *ipq) in ipq_kill() argument
188 inet_frag_kill(&ipq->q, &ip4_frags); in ipq_kill()
208 struct ipq *qp; in ip_expire()
211 qp = container_of((struct inet_frag_queue *) arg, struct ipq, q); in ip_expire()
264 static inline struct ipq *ip_find(struct net *net, struct iphdr *iph, u32 user) in ip_find()
280 return container_of(q, struct ipq, q); in ip_find()
288 static inline int ip_frag_too_far(struct ipq *qp) in ip_frag_too_far()
315 static int ip_frag_reinit(struct ipq *qp) in ip_frag_reinit()
343 static int ip_frag_queue(struct ipq *qp, struct sk_buff *skb) in ip_frag_queue()
518 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev, in ip_frag_reasm()
641 struct ipq *qp; in ip_defrag()
816 ip4_frags.qsize = sizeof(struct ipq); in ipfrag_init()