From owner-freebsd-hackers Wed Sep 15 12:31:30 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id 2CCF214E2B for ; Wed, 15 Sep 1999 12:31:29 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id MAA01558; Wed, 15 Sep 1999 12:24:50 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199909151924.MAA01558@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Daniel Hilevich" Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: How can I send signals to a network interface In-reply-to: Your message of "Wed, 15 Sep 1999 19:12:46 BST." <013e01beffa5$e9adf0d0$2e00a8c0@nt46> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 15 Sep 1999 12:24:48 -0700 From: Mike Smith Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > This is a multi-part message in MIME format. Don't do this. Plain text, please. > Hi, > I need to send signals to a network interface I worte but I can't find > how. ioctl() > I know that in some other Bsd flavours you can use the sysctl functions = > which is part > of the ifnet struct. In FreeBsd I didn't find anything similiar to it. Sysctl functions aren't "part of the ifnet struct". You can define sysctls for your driver, if you wish, but that's the wrong way to go about doing it. > I need to send custom directions to the interface so I can't use the = > ioctl mechanism. I can't see why you think this is the case. See the wl(4) driver for example of exactly what you're talking about, using ioctl(). See wlconfig(8) for the user-space portion of the interface. -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message