K 10 svn:author V 7 glebius K 8 svn:date V 27 2014-12-31T09:51:35.579437Z K 7 svn:log V 491 First driver to be converted to new world order is of course loop(4). It is a minimalistic example of what needs to be done to convert a driver to opaque ifnet: - Don't include if_var.h. - Declare static struct ifdriver. - In clone_create (or device_attach!) method declate struct if_attach_args, populate it and call if_attach(). - Convert all accesses to ifnet fields to new methods. - Substitute the rest of "struct ifnet *" to "if_t". Sponsored by: Netflix Sponsored by: Nginx, Inc. END