Lines Matching defs:pf_fragment
92 struct pf_fragment {
93 RB_ENTRY(pf_fragment) fr_entry;
94 TAILQ_ENTRY(pf_fragment) frag_next;
110 TAILQ_HEAD(pf_fragqueue, pf_fragment) pf_fragqueue;
111 TAILQ_HEAD(pf_cachequeue, pf_fragment) pf_cachequeue;
113 static __inline int pf_frag_compare(struct pf_fragment *,
114 struct pf_fragment *);
115 RB_HEAD(pf_frag_tree, pf_fragment) pf_frag_tree, pf_cache_tree;
116 RB_PROTOTYPE(pf_frag_tree, pf_fragment, fr_entry, pf_frag_compare);
117 RB_GENERATE(pf_frag_tree, pf_fragment, fr_entry, pf_frag_compare);
120 void pf_ip2key(struct pf_fragment *, struct ip *);
121 void pf_remove_fragment(struct pf_fragment *);
123 void pf_free_fragment(struct pf_fragment *);
124 struct pf_fragment *pf_find_fragment(struct ip *, struct pf_frag_tree *);
125 struct mbuf *pf_reassemble(struct mbuf **, struct pf_fragment **,
128 struct pf_fragment **, int, int, int *);
150 pool_init(&pf_frag_pl, sizeof(struct pf_fragment), 0, 0, 0, "pffrag",
152 pool_init(&pf_cache_pl, sizeof(struct pf_fragment), 0, 0, 0,
161 pool_init(&pf_frag_pl, sizeof(struct pf_fragment), 0, 0, 0, "pffrag",
163 pool_init(&pf_cache_pl, sizeof(struct pf_fragment), 0, 0, 0,
193 pf_frag_compare(struct pf_fragment *a, struct pf_fragment *b)
215 struct pf_fragment *frag;
247 struct pf_fragment *frag;
275 pf_free_fragment(struct pf_fragment *frag)
308 pf_ip2key(struct pf_fragment *key, struct ip *ip)
316 struct pf_fragment *
319 struct pf_fragment key;
320 struct pf_fragment *frag;
343 pf_remove_fragment(struct pf_fragment *frag)
358 pf_reassemble(struct mbuf **m0, struct pf_fragment **frag,
560 pf_fragcache(struct mbuf **m0, struct ip *h, struct pf_fragment **frag, int mff,
862 struct pf_fragment *frag = NULL;