Home | History | Annotate | Download | only in netinet

Lines Matching refs:frentry_t

163 static	INLINE int	ipf_check_ipf(fr_info_t *, frentry_t *, int);
168 static frentry_t *ipf_dolog(fr_info_t *, u_32_t *);
170 static int ipf_flushlist(ipf_main_softc_t *, int *, frentry_t **);
173 static void *ipf_findlookup(ipf_main_softc_t *, int, frentry_t *,
175 static frentry_t *ipf_firewall(fr_info_t *, u_32_t *);
178 static void ipf_funcfini(ipf_main_softc_t *, frentry_t *);;
179 static int ipf_funcinit(ipf_main_softc_t *, frentry_t *);
186 static int ipf_grpmapfini(struct ipf_main_softc_s *, frentry_t *);
187 static int ipf_grpmapinit(struct ipf_main_softc_s *, frentry_t *);
188 static frentry_t *ipf_nextrule(ipf_main_softc_t *, int, int,
189 frentry_t *, int);
201 static void ipf_rule_delete(ipf_main_softc_t *, frentry_t *f,
204 frentry_t *, int);
205 static int ipf_synclist(ipf_main_softc_t *, frentry_t *, void *);
2198 ipf_check_ipf(fr_info_t *fin, frentry_t *fr, int portcmp)
2462 frentry_t *f;
2501 frentry_t *frs;
2617 /* Returns: frentry_t* - always returns NULL */
2627 frentry_t *
2632 frentry_t *fr, *frsave;
2657 /* Returns: frentry_t* - returns pointer to matched rule, if no matches */
2668 static frentry_t *
2672 frentry_t *fr;
2697 DT2(frb_ppsrate, fr_info_t *, fin, frentry_t *, fr);
2802 frentry_t *fr = NULL;
3273 /* Returns: frentry_t* - returns contents of fin_fr (no change made) */
3280 frentry_t *
3582 ipf_group_del(ipf_main_softc_t *softc, frgroup_t *group, frentry_t *fr)
3637 /* Returns: frentry_t * - NULL == not found, else pointer to rule n */
3647 frentry_t *
3650 frentry_t *fr;
3682 ipf_flushlist(ipf_main_softc_t *softc, int *nfreedp, frentry_t **listp)
3685 frentry_t *fp;
3785 frentry_t *fr, **frp;
3859 ipf_fixskip(frentry_t **listp, frentry_t *rp, int addremove)
3862 frentry_t *fp;
3958 ipf_synclist(ipf_main_softc_t *softc, frentry_t *fr, void *ifp)
3960 frentry_t *frt, *start = fr;
4369 ipf_rule_compare(frentry_t *fr1, frentry_t *fr2)
4414 frentry_t frd, *fp, *f, **fprev, **ftail;
4433 KMALLOCS(f, frentry_t *, fp->fr_size);
4460 fp = (frentry_t *)data;
4884 DT2(rule_cmp, frentry_t *, fp, frentry_t *, f);
5113 ipf_rule_delete(ipf_main_softc_t *softc, frentry_t *f, int unit, int set)
5152 ipf_rule_expire_insert(ipf_main_softc_t *softc, frentry_t *f, int set)
5154 frentry_t *fr;
5204 ipf_findlookup(ipf_main_softc_t *softc, int unit, frentry_t *fr,
5243 ipf_funcinit(ipf_main_softc_t *softc, frentry_t *fr)
5273 ipf_funcfini(ipf_main_softc_t *softc, frentry_t *fr)
5419 ipf_derefrule(ipf_main_softc_t *softc, frentry_t **frp)
5421 frentry_t *fr;
5487 ipf_grpmapinit(ipf_main_softc_t *softc, frentry_t *fr)
5518 ipf_grpmapfini(ipf_main_softc_t *softc, frentry_t *fr)
5530 /* Returns: frentry_t * - pointer to "new last matching" rule or NULL */
5538 frentry_t *
5558 /* Returns: frentry_t * - pointer to "new last matching" rule or NULL */
5566 frentry_t *
7575 (void) ipf_derefrule(softc, (frentry_t **)datap);
7613 /* Returns: frentry_t * - NULL == no more rules, else pointer to next */
7623 static frentry_t *
7625 frentry_t *fr, int out)
7627 frentry_t *next;
7675 frentry_t *fr, *next, zero;
7767 obj.ipfo_size = sizeof(frentry_t);
9493 frentry_t *fr;