Is there a Freebsd equivalent to this Linux header file

Dan Nelson dnelson at allantgroup.com
Wed Dec 28 12:42:58 PST 2005


In the last episode (Dec 28), Ray Seals said:
> I'm not a programmer, but I trying to learn a few things.  I have a
> Niagara 2261 pass through nic and I need to change it's operating
> mode. It came with the source code and header files for a command
> line utility which allows me to change operation modes on the card. 
> Along with the documentation.
> 
> The card is recognized under the 'em' network driver.
> 
> I have all the errors down except for one.  The error is
> 'SIOCDEVPRIVATE' undeclared (first use in this function).

That's probably a Linux-specific ioctl.  Chances are that FreeBSD's
ifconfig command will do what you want (so its sources are a good place
to start looking); what do you mean by "change it's operating mode"?

-- 
	Dan Nelson
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list