diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-05-21 21:03:59 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-05-21 21:03:59 +0000 |
commit | 823a05ae47a745ef7ba8b8c768901bd1ab31a80e (patch) | |
tree | a6154d85d95e05e54cd5d62771771bc47a845866 /sys/net/if.h | |
parent | 1a239e77bd4b99fac7d032554a8f026108682215 (diff) |
clean up and rework the interface absraction code big time, rip out multiple
useless layers of indirection and make the code way cleaner overall.
this is just the start, more to come...
worked very hard on by Ryan and me in Montreal last week, on the airplane to
vancouver and yesterday here in calgary. it hurt.
ok ryan theo
Diffstat (limited to 'sys/net/if.h')
-rw-r--r-- | sys/net/if.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.h b/sys/net/if.h index ef402f7a1fb..89b1e843fff 100644 --- a/sys/net/if.h +++ b/sys/net/if.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if.h,v 1.65 2005/04/20 23:00:40 mpf Exp $ */ +/* $OpenBSD: if.h,v 1.66 2005/05/21 21:03:57 henning Exp $ */ /* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */ /* @@ -181,6 +181,7 @@ struct ifnet { /* and the entries */ int if_pcount; /* number of promiscuous listeners */ caddr_t if_bpf; /* packet filter structure */ caddr_t if_bridge; /* bridge structure */ + caddr_t if_pf_kif; /* pf interface abstraction */ union { caddr_t carp_s; /* carp structure (used by !carp ifs) */ struct ifnet *carp_d; /* ptr to carpdev (used by carp ifs) */ |