| 1987 | } |
| 1988 | |
| 1989 | static int |
| 1990 | pfr_ktable_compare(struct pfr_ktable *p, struct pfr_ktable *q) |
| 1991 | { |
| 1992 | int d; |
| 1993 | |
| 1994 | if ((d = strncmp(p->pfrkt_name, q->pfrkt_name, PF_TABLE_NAME_SIZE))) |
| 1995 | return (d); |
| 1996 | return (strcmp(p->pfrkt_anchor, q->pfrkt_anchor)); |
| 1997 | } |
| 1998 | |
| 1999 | static struct pfr_ktable * |
| 2000 | pfr_lookup_table(struct pfr_table *tbl) |
no test coverage detected