Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 18:44:11 +0200
From:      Pasi Savanainen <pasi.savanain@kolumbus.fi>
To:        freebsd-net@FreeBSD.org
Subject:   Network driver IOCTL
Message-ID:  <3DD3D2DB.70401@kolumbus.fi>

next in thread | raw e-mail | index | archive | help
I am implementing a redundant LAN pseudo-driver.

I had to hack a /netinet/if_ether.c file so that arpinput will update 
arp cache.

I tried to use SIOCGIFGENERIC ioctl, but vlan seems to be use the same 
command.
The problem is that ifconfig use that generic command and core dumps. I 
think that
ifconfig should asks vlan status only from the vlan interfaces.

If I can't use SIOCGIFGENERIC, I have to define a new ioctl command.
Are /sys/sockio.h and /net/if.c the  correct files to new command?
All hints are helpfull?



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD3D2DB.70401>