From owner-freebsd-questions Tue Nov 21 7:29:12 2000 Delivered-To: freebsd-questions@freebsd.org Received: from online.dct.com (online.dct.com [204.29.185.1]) by hub.freebsd.org (Postfix) with ESMTP id 4C6D537B4C5; Tue, 21 Nov 2000 07:29:08 -0800 (PST) Received: (from markm@localhost) by online.dct.com (8.9.3/8.9.3) id JAA19547; Tue, 21 Nov 2000 09:29:02 -0600 (CST) Date: Tue, 21 Nov 2000 09:29:02 -0600 From: Mark To: questions@freebsd.org Cc: hackers@freebsd.org Subject: Systems programming questions... Message-ID: <20001121092902.A6568@online.dct.com> Reply-To: markm@gbonline.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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-questions" in the body of the message