Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2000 09:29:02 -0600
From:      Mark <markm@online.dct.com>
To:        questions@freebsd.org
Cc:        hackers@freebsd.org
Subject:   Systems programming questions...
Message-ID:  <20001121092902.A6568@online.dct.com>

next in thread | raw e-mail | index | archive | help
Hey all --

I'm trying to find a "correct" way to add virtual interfaces to my network
card via a C program.  right now, I've come up with 3 system() calls to do the
work.  I don't know if there is a better way or not, but if there is, I'd like
to use it.  Is there a better way to create and make active a virtual
interface in a C program other than using system() to call an ifconfig, route,
and arp command?

Thanks,

-- 
Mark Maurer  markm@solinus.com   Programmer, Solinus Inc. 
Play:        markm@gbonline.com  http://www.dct.com/~markm/
Other:       mark@thecity.com    mark@mail2go.com


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




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