From owner-freebsd-net Thu Jan 17 10:36:58 2002 Delivered-To: freebsd-net@freebsd.org Received: from blues.viagenie.qc.ca (blues.viagenie.qc.ca [206.123.31.135]) by hub.freebsd.org (Postfix) with ESMTP id 1422B37B421 for ; Thu, 17 Jan 2002 10:36:53 -0800 (PST) Received: from blues.viagenie.qc.ca (blues-local [127.0.0.1]) by blues.viagenie.qc.ca (8.11.6/8.11.3) with ESMTP id g0HIatC02870 for ; Thu, 17 Jan 2002 13:36:55 -0500 (EST) (envelope-from Florent.Parent@viagenie.qc.ca) Date: Thu, 17 Jan 2002 13:36:52 -0500 From: Florent Parent To: freebsd-net@freebsd.org Subject: Re: netgraph: how to setsockopt on ksocket node ? Message-ID: <96000000.1011292612@blues.viagenie.qc.ca> In-Reply-To: <5.1.0.14.0.20020117190855.01d15fb8@mail.drwilco.net> References: <5.1.0.14.0.20020117190855.01d15fb8@mail.drwilco.net> X-Mailer: Mulberry/2.1.2 (Linux/x86) X-PGP-Fingerprint: B718 4543 977C BE73 2BCC 23D5 3E20 4FC9 2A90 872C MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --On 2002-01-17 19:11:45 +0100 drwilco@drwilco.net wrote: > >> ret = NgSendMsg(cs, epath, NGM_KSOCKET_COOKIE, NGM_KSOCKET_SETOPT, >> (struct ng_ksocket_sockopt *)&myopts, >> sizeof(myopts))); >> >> return error 14 "Bad address". > > Could it be that your path to the node is not correct? (missing a : > maybe...?) > > Doc No. I'm able to CONNECT and BIND on that same path. I'm able to trace to call to the ng_ksocket module so it is going to the correct path. Florent. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message