diff options
author | julian <julian@FreeBSD.org> | 2001-01-30 20:51:52 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2001-01-30 20:51:52 +0000 |
commit | 829347d51049c2e13e3480a34b697ad0706f544d (patch) | |
tree | 3a9e298fda80b85b295437ee382beb9478e01b0b /sys/netgraph/ng_pppoe.c | |
parent | c699ccaa2e2324716dbff91054e658cba135b735 (diff) | |
download | FreeBSD-src-829347d51049c2e13e3480a34b697ad0706f544d.zip FreeBSD-src-829347d51049c2e13e3480a34b697ad0706f544d.tar.gz |
Implement direct support for semipersistant nodes.
(e.g. ethernet nodes are persistent until you rip out the hardware)
Use this support in the ethernet and sample nodes.
Add some more abstraction on the 'item's so that node and
hook reference counting can be checked easier.
Slight man page correction.
Make pppoe type dependent on ethernet type.
Clean up node shutdown a little.
Move a mutex from MTX_SPIN to MTX_DEF (oops)
Fix small ref-counting bug.
remove warning on one2many type.
Diffstat (limited to 'sys/netgraph/ng_pppoe.c')
-rw-r--r-- | sys/netgraph/ng_pppoe.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/netgraph/ng_pppoe.c b/sys/netgraph/ng_pppoe.c index 8e44423..2fc8dc5 100644 --- a/sys/netgraph/ng_pppoe.c +++ b/sys/netgraph/ng_pppoe.c @@ -168,6 +168,8 @@ static struct ng_type typestruct = { ng_pppoe_cmds }; NETGRAPH_INIT(pppoe, &typestruct); +/* Depend on ng_ether so we can use the Ethernet parse type */ +MODULE_DEPEND(ng_pppoe, ng_ether, 1, 1, 1); /* * States for the session state machine. |