| 1997 | } |
| 1998 | |
| 1999 | static struct pfr_ktable * |
| 2000 | pfr_lookup_table(struct pfr_table *tbl) |
| 2001 | { |
| 2002 | /* struct pfr_ktable start like a struct pfr_table */ |
| 2003 | return (RB_FIND(pfr_ktablehead, &V_pfr_ktables, |
| 2004 | (struct pfr_ktable *)tbl)); |
| 2005 | } |
| 2006 | |
| 2007 | int |
| 2008 | pfr_match_addr(struct pfr_ktable *kt, struct pf_addr *a, sa_family_t af) |
no outgoing calls
no test coverage detected