--- src/sys/sys/domain.h 2004/12/14 18:46:08 1.4 +++ src/sys/sys/domain.h 2005/02/01 16:09:37 1.5 @@ -46,6 +46,7 @@ * Forward structure declarations for function prototypes [sic]. */ struct mbuf; +struct ifnet; struct domain { int dom_family; /* AF_xxx */ @@ -61,6 +62,9 @@ struct domain { int (*dom_rtattach)(void **, int); /* initialize routing table */ int dom_rtoffset; /* an arg to rtattach, in bits */ int dom_maxrtkey; /* for routing layer */ + void *(*dom_ifattach)(struct ifnet *); + void (*dom_ifdetach)(struct ifnet *, void *); + /* af-dependent data on ifnet */ }; #ifdef _KERNEL