svn commit: r230207 - in head/sys: netinet sys

Gleb Smirnoff glebius at FreeBSD.org
Thu Jan 19 19:18:47 UTC 2012


On Thu, Jan 19, 2012 at 06:46:27PM +0200, Gleb Kurtsou wrote:
G> > I wouldn't claim compatibility for the commands that didn't work very well.
G> > I won't also name Linux, since these commands predate the Linux itself.
G> 
G> I meant that SIOCSIFADDR is default (if not the only) way to set
G> interface address on linux.

If this is true, then I am almost sure that their SIOCSIFADDR is not the
command I have removed, but something similar to our SIOCAIFADDR.
Our SIOCSIFADDR added a classful prefix on the interface.

G> > Do you use them? Or do you know software that use them?
G> 
G> I do and I've seen other examples of using SIOCSIF*ADDR with BSD
G> specific tweaks. Although I must admit that nowadays the most common way
G> of configuring interface is to call /sbin/ifconfig.

Where did you see that examples? In the "TCP/IP Illustrated"?

G> It's not a big deal for me, I have no problem with replacing them on
G> FreeBSD. FreeBSD is not even officially supported platform for the
G> product and I build/test on FreeBSD solely for the purpose of avoiding
G> linuxisms and platform specific behaviour. Let's hope it won't break for
G> somebody else :)

I'm pretty sure it will not break anyone, except for people still living
in Internet with classdful addressing. Do you know any?

-- 
Totus tuus, Glebius.


More information about the svn-src-head mailing list