Lines Matching refs:ipq
69 struct ipq { struct
95 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev, argument
113 const struct ipq *ipq; in ip4_hashfn() local
115 ipq = container_of(q, struct ipq, q); in ip4_hashfn()
116 return ipqhashfn(ipq->id, ipq->saddr, ipq->daddr, ipq->protocol); in ip4_hashfn()
121 const struct ipq *qp; in ip4_frag_match()
124 qp = container_of(q, struct ipq, q); in ip4_frag_match()
134 struct ipq *qp = container_of(q, struct ipq, q); in ip4_frag_init()
153 struct ipq *qp; in ip4_frag_free()
155 qp = container_of(q, struct ipq, q); in ip4_frag_free()
163 static void ipq_put(struct ipq *ipq) in ipq_put() argument
165 inet_frag_put(&ipq->q, &ip4_frags); in ipq_put()
171 static void ipq_kill(struct ipq *ipq) in ipq_kill() argument
173 inet_frag_kill(&ipq->q, &ip4_frags); in ipq_kill()
181 struct ipq *qp; in ip_expire()
184 qp = container_of((struct inet_frag_queue *) arg, struct ipq, q); in ip_expire()
239 static struct ipq *ip_find(struct net *net, struct iphdr *iph, u32 user) in ip_find()
255 return container_of(q, struct ipq, q); in ip_find()
259 static int ip_frag_too_far(struct ipq *qp) in ip_frag_too_far()
286 static int ip_frag_reinit(struct ipq *qp) in ip_frag_reinit()
318 static int ip_frag_queue(struct ipq *qp, struct sk_buff *skb) in ip_frag_queue()
502 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev, in ip_frag_reasm()
638 struct ipq *qp; in ip_defrag()
868 ip4_frags.qsize = sizeof(struct ipq); in ipfrag_init()