From owner-freebsd-questions Thu Sep 6 14: 5:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lorraine.loria.fr (lorraine.loria.fr [152.81.1.17]) by hub.freebsd.org (Postfix) with ESMTP id 9B3B237B401 for ; Thu, 6 Sep 2001 14:05:07 -0700 (PDT) Received: from loria.fr (gerbecourt.loria.fr [152.81.11.75]) by lorraine.loria.fr (8.9.3/8.9.3/8.9.3/JCG-DG) with ESMTP id XAA21990 for ; Thu, 6 Sep 2001 23:05:06 +0200 (MET DST) Message-ID: <3B97E503.E628A4D8@loria.fr> Date: Thu, 06 Sep 2001 23:05:07 +0200 From: lahmadi abdelkader Organization: LORIA X-Mailer: Mozilla 4.7 [fr]C-CCK-MCD (WinNT; I) X-Accept-Language: fr, en MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: raw socket Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hi, in FreeBSD how to know from wich network inetrface a packet arrived in user sapce not in Kernel. for example i create a raw socket and when i receive a packet il would to know from wich interface it come. so, can i attach a raw socket to an interface? if yes, how ? thanks, -- --------------------------------------------- Lahmadi Abdelkader LORIA - UHP NANCY I CAMPUS SCIENTIFIQUE B.P.239 54506 VANDOEUVRE-LES-NANCY CEDEX E-mail : lahmadi@loria.fr --------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message