From owner-freebsd-net@FreeBSD.ORG Mon May 16 13:21:40 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC40716A4CE for ; Mon, 16 May 2005 13:21:40 +0000 (GMT) Received: from web25809.mail.ukl.yahoo.com (web25809.mail.ukl.yahoo.com [217.12.10.194]) by mx1.FreeBSD.org (Postfix) with SMTP id 34C0143D95 for ; Mon, 16 May 2005 13:21:40 +0000 (GMT) (envelope-from ayed_samiha@yahoo.fr) Received: (qmail 76707 invoked by uid 60001); 16 May 2005 13:21:36 -0000 Message-ID: <20050516132136.76705.qmail@web25809.mail.ukl.yahoo.com> Received: from [193.52.74.215] by web25809.mail.ukl.yahoo.com via HTTP; Mon, 16 May 2005 15:21:36 CEST Date: Mon, 16 May 2005 15:21:36 +0200 (CEST) From: ayed samiha To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: question X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2005 13:21:41 -0000 Hello, I have written a program with netgraph which allow me to connect a node soket to a node Ethernet. But my problem is that the program exit after calling NgSendMsg, in fact it stop at this step: if (NgSendMsg(csock, ".", NGM_GENERIC_COOKIE, NGM_CONNECT, &ngc, sizeof(ngc)) < 0) errx(EX_OSERR, "can't connect to node"); I don't know why it can't connect these nodes. I have verified the content of the ngc variable and it is what we need. I have been blocked for 2 days and I need help. Thank you a lot, Samiha, ayed_samiha@yahoo.fr --------------------------------- Découvrez le nouveau Yahoo! Mail : 1 Go d'espace de stockage pour vos mails, photos et vidéos ! Créez votre Yahoo! Mail