cvs commit: src/sys/net if.c if.h src/sys/net/faith if_faith.c src/sys/net/gif if_gif.c src/sys/net/gre if_gre.c src/sys/net/vlan if_vlan.c
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Dec 29 19:56:54 PST 2003
dillon 2003/12/29 19:56:04 PST
DragonFly src repository
Modified files:
sys/net if.c if.h
sys/net/faith if_faith.c
sys/net/gif if_gif.c
sys/net/gre if_gre.c
sys/net/vlan if_vlan.c
Log:
Bump the network interface cloning API to what is in 5.x with the following
nice additions:
1) All if_unit allocations are handled in the cloner common case
removing a lot of (repetitive) code from callers as well as the rman.h
dependency.
2) Initial device instances are created when the cloner is attached.
Submitted-by: Max Laier <max at xxxxxxxxxxxxxx>
Testing-by: David Rhodus <drhodus at xxxxxxxxxxx>
Revision Changes Path
1.11 +79 -4 src/sys/net/if.c
1.8 +8 -3 src/sys/net/if.h
1.6 +5 -54 src/sys/net/faith/if_faith.c
1.7 +5 -46 src/sys/net/gif/if_gif.c
1.6 +5 -47 src/sys/net/gre/if_gre.c
1.5 +5 -51 src/sys/net/vlan/if_vlan.c
http://www.dragonflybsd.org/cvsweb/src/sys/net/if.c.diff?r1=1.10&r2=1.11&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/net/if.h.diff?r1=1.7&r2=1.8&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/net/faith/if_faith.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/net/gif/if_gif.c.diff?r1=1.6&r2=1.7&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/net/gre/if_gre.c.diff?r1=1.5&r2=1.6&f=h
http://www.dragonflybsd.org/cvsweb/src/sys/net/vlan/if_vlan.c.diff?r1=1.4&r2=1.5&f=h
More information about the Commits
mailing list