How about looking at ifconfig source itself?
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ifconfig.c

-- Gireesh


-----Original Message-----
From: [email protected]
To: Sebastien Roy <[email protected]>
Cc: Vivek S <[email protected]>, [email protected]
Subject: Re: [networking-discuss] plumbing an interface
Date: Wed, 30 Sep 2009 15:29:32 -0400

On (09/30/09 15:28), Sebastien Roy wrote:
> > Note that there will be a libipadm will also be coming up with
> > a library interface corresponding to each API invocation.
> 
> ... except that it's Consolidation Private, and is thus unsafe to use
> outside of ON.  I think the best we can say is either to advise
> developers to use the command-line tools, or wait for a day when
> libipadm APIs become Public.
> 

true. But that goes back to the original question that Jim posed-
why can't Vivek just spawn ifconfig today?

--Sowmini

_______________________________________________
networking-discuss mailing list
[email protected]
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to