Mercurial > flash_v2
changeset 1147:78410c288211
sysctl support for ether. Someforgot to commit this along with the
rest of the sysctl changes!
| author | asl |
|---|---|
| date | Sun, 03 Aug 2003 11:57:44 +0000 |
| parents | fddabea2836c |
| children | 818f520093b8 |
| files | packages/net/bsd_tcpip/current/src/sys/net/if_ethersubr.c |
| diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/net/bsd_tcpip/current/src/sys/net/if_ethersubr.c +++ b/packages/net/bsd_tcpip/current/src/sys/net/if_ethersubr.c @@ -60,6 +60,7 @@ #include <sys/mbuf.h> #include <sys/socket.h> #include <sys/sockio.h> +#include <sys/sysctl.h> #include <net/if.h> #include <net/netisr.h> @@ -762,6 +763,9 @@ ether_ifdetach(ifp, bpf) if_detach(ifp); } +SYSCTL_DECL(_net_link); +SYSCTL_NODE(_net_link, IFT_ETHER, ether, CTLFLAG_RW, 0, "Ethernet"); + int ether_ioctl(ifp, command, data) struct ifnet *ifp;
