viveks wrote: > Hi, > > Is there any ioctl or API to plumb an interface? i dont want to use ifconfig.
man -s 7P if_tcp Note, though, that you're in a _MUCH_ better position if you can fork and exec ifconfig(1M). If you need an "API" for it, then write a simple function that does just that. Sun's engineers have made much of wanting to drive away from the STREAMS and DLPI interfaces that the above documented interface uses. At a minimum, you will be sacrificing performance and functionality by using those older interfaces. > While assigning a vlan id to an interface we need to plumb the pseudo > interface. I want to do it programatically. Then write a function that forks and execs ifconfig. Really. How is that any less "programmatic" than ioctl? -- James Carlson 42.703N 71.076W <[email protected]> _______________________________________________ networking-discuss mailing list [email protected]
