From owner-cvs-all Sat Jun 19 11:42:35 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8940C14F24; Sat, 19 Jun 1999 11:42:33 -0700 (PDT) (envelope-from phk@FreeBSD.org) Received: (from phk@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id LAA06854; Sat, 19 Jun 1999 11:42:34 -0700 (PDT) (envelope-from phk@FreeBSD.org) Message-Id: <199906191842.LAA06854@freefall.freebsd.org> From: Poul-Henning Kamp Date: Sat, 19 Jun 1999 11:42:33 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.c if.h if_tun.c if_tunvar.h src/sys/sys sockio.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk phk 1999/06/19 11:42:33 PDT Modified files: sbin/ifconfig ifconfig.c sys/net if.c if.h if_tun.c if_tunvar.h sys/sys sockio.h Log: Add a new interface ioctl, to return "aux status". This is inteded for to allow ifconfig to print various unstructured information from an interface. The data is returned from the kernel in ASCII form, see the comment in if.h for some technicalities. Canonical cut&paste example to be found in if_tun.c Initial use: Now tun* interfaces tell the PID of the process which opened them. Future uses could be (volounteers welcome!): Have ppp/slip interfaces tell which tty they use. Make sync interfaces return their media state: red/yellow/blue alarm, timeslot assignment and so on. Make ethernets warn about missing heartbeats and/or cables Revision Changes Path 1.41 +6 -1 src/sbin/ifconfig/ifconfig.c 1.73 +6 -1 src/sys/net/if.c 1.54 +15 -1 src/sys/net/if.h 1.59 +11 -1 src/sys/net/if_tun.c 1.5 +2 -1 src/sys/net/if_tunvar.h 1.12 +3 -1 src/sys/sys/sockio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message