From owner-freebsd-atm Sun Sep 8 7:38: 3 2002 Delivered-To: freebsd-atm@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E29537B400 for ; Sun, 8 Sep 2002 07:38:01 -0700 (PDT) Received: from venus.vincentjardin.net (AVelizy-102-1-1-59.abo.wanadoo.fr [193.253.255.59]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C7EE43E42 for ; Sun, 8 Sep 2002 07:38:01 -0700 (PDT) (envelope-from jardin@venus.vincentjardin.net) Received: by venus.vincentjardin.net (Postfix, from userid 501) id 67E521503A0; Sun, 8 Sep 2002 16:52:12 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-15" From: Vincent Jardin To: freebsd-atm@freebsd.org Subject: scope of the ATM sockets. Date: Sun, 8 Sep 2002 16:52:12 +0200 X-Mailer: KMail [version 1.3.1] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20020908145212.67E521503A0@venus.vincentjardin.net> Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I am using the HARP stack in order to open many ATM sockets. The HARP stack supports 2 kinds of ATM interfaces: - the NIFs: the network pseudo-interfaces that provide point-to-point interface to the IPv4 layer. - the PIFs: the physical interfaces over which the NIFs run (for example hfaX). When a PVC socket is opened with the HARP stack, I would like to be able to choose the PIF before calling connect(), however it looks that the options of the socket (see setsockopt T_ATM_NET_INTF) require a NIF name and not a PIF name. It means that at least one NIF has to be created for each PIF in order to be able to choose the PIF with which the ATM socket is connected. I am wondering, how can the PIF be selected without beeing obliged to create the NIFs ? Are there any patch of the HARP stack in order to support this feature ? Thanks, Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message