netdev: Pass class structure, instead of type, to "create" function.
authorBen Pfaff <blp@nicira.com>
Fri, 24 Sep 2010 17:54:42 +0000 (10:54 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 6 Oct 2010 20:49:07 +0000 (13:49 -0700)
commitb8dcf5e9c554e2c5fc35a68a086d304fc0cea59a
treec681ff46e6848bda0f07d46586664a11af861092
parent6fcfff1b116eb59999cc686f37f08b8f9af27996
netdev: Pass class structure, instead of type, to "create" function.

This opens up the possibility of storing private data at a relative offset
to the class structure, instead of having to keep a separate table.
lib/netdev-linux.c
lib/netdev-patch.c
lib/netdev-provider.h
lib/netdev-tunnel.c
lib/netdev.c