From owner-freebsd-hackers Sun Oct 31 10:42:50 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from mta3.rcsntx.swbell.net (mta3.rcsntx.swbell.net [151.164.30.27]) by hub.freebsd.org (Postfix) with ESMTP id 0E46D14CDF; Sun, 31 Oct 1999 10:42:46 -0800 (PST) (envelope-from chris@holly.dyndns.org) Received: from holly.dyndns.org ([216.62.157.60]) by mta3.rcsntx.swbell.net (Sun Internet Mail Server sims.3.5.1999.09.16.21.57.p8) with ESMTP id <0FKH000MQDB7J1@mta3.rcsntx.swbell.net>; Sun, 31 Oct 1999 12:42:44 -0600 (CST) Received: (from chris@localhost) by holly.dyndns.org (8.9.3/8.9.3) id MAA03632; Sun, 31 Oct 1999 12:43:41 -0600 (CST envelope-from chris) X-URL: http://www.FreeBSD.org/~chris/ Date: Sun, 31 Oct 1999 12:43:37 -0600 From: Chris Costello Subject: Implementing ioctl to set MAC address -- question. To: freebsd-net@FreeBSD.org Cc: freebsd-hackers@FreeBSD.org Reply-To: chris@calldei.com Message-id: <19991031124337.I472@holly.calldei.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii User-Agent: Mutt/0.96.4i X-Operating-System: FreeBSD 4.0-CURRENT (i386) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm trying to implement Bill Paul's "setmac" code in the actual source code as a project (and will have it reviewed before it's committed -- if I ever get that far!). However, I'm getting stuck in that ether_ioctl is never getting the ioctl request. I've added the case statement for "SIOCSIFMAC" (probably to be renamed) to net/if.c and dev/ed/if_ed.c (which is the card I'm using) as well as net/if_ethersubr.c. Are there any other files that need to know about the ioctl or am I going about this the wrong way entirely? -- |Chris Costello |This BBS is ancient. Some say from the echocene. `------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message