diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-02-20 19:22:04 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2004-02-20 19:22:04 +0000 |
commit | d259b9d232efc31e4e02054545c42bce17f79211 (patch) | |
tree | f47bba63f5c510f2fd27e7e6abb97ba8b99b4469 /sys/net/pf_if.c | |
parent | 4ca8489c730b367bdbbf8ddd5c8d08497288c9e4 (diff) |
Make pfsync deal with clearing states bound to a group or interface (eg
pfctl -i fxp0 -Fs). Also don't send out individual state deletions if we're
sending a clear message, move pfsync_clear_states() inside splnet, and fix
if_pfsync.h includes in pf.c and pf_ioctl.c.
ok cedric@ dhartmei@
Diffstat (limited to 'sys/net/pf_if.c')
-rw-r--r-- | sys/net/pf_if.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/pf_if.c b/sys/net/pf_if.c index 470d08e4a39..a6228e010c4 100644 --- a/sys/net/pf_if.c +++ b/sys/net/pf_if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_if.c,v 1.8 2004/02/17 08:26:47 cedric Exp $ */ +/* $OpenBSD: pf_if.c,v 1.9 2004/02/20 19:22:03 mcbride Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -91,7 +91,6 @@ struct pfi_kif *pfi_if_create(const char *, struct pfi_kif *, int); void pfi_copy_group(char *, const char *, int); void pfi_dynamic_drivers(void); void pfi_newgroup(const char *, int); -struct pfi_kif *pfi_lookup_if(const char *); int pfi_skip_if(const char *, struct pfi_kif *, int); int pfi_unmask(void *); void pfi_dohooks(struct pfi_kif *); |