summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_ether.h
Commit message (Collapse)AuthorAgeFilesLines
* Add new netgraph control message NGM_ETHER_DETACH, which actuallyglebius2005-02-141-0/+1
| | | | | | | | | removes netgraph node and unwraps Ethernet interface. This gives us ability to unload ng_ether.ko, when all interfaces are detached, making ng_ether(4) developers happy. Reviewed by: ru
* Restore previous cookie. Old programs will work with new node OK,glebius2005-02-121-1/+1
| | | | | | | new programs with old node wil receive EINVAL trying to access new messages. Submitted by: ru
* Add two new netgraph messages NGM_ETHER_ADD_MULTI and NGM_ETHER_DEL_MULTI,glebius2005-02-121-2/+3
| | | | | | | to join and leave Ethernet multicast membership, respectively. Messages take MAC address as argument. Sponsored by: Rinet ISP
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+3
|
* Backout previous change, it breaks build and it is not neededpjd2004-02-201-12/+0
| | | | | | | | layering violation. As pointed out, there is much better way to do this. Sorry guys, I need to find a better way to force reviews. Requested by: harti, julian, scottl (mentor) Pointy hat to: pjd
* Export private structure owned by ng_ether(4) module outside.pjd2004-02-191-0/+12
| | | | | | | | It'll is required by new failure detection algorithm for ng_one2many(4). No response from: julian, archie Silent on: net@ Approved by: scottl (mentor)
* Made the Ethernet address parse type standard.ru2003-12-171-5/+0
| | | | OK'ed by: archie
* Since neither archie nor I work at Whistle any more, change our emailjulian2000-10-241-1/+1
| | | | | | addresses to be the more usefu @freebsd.org ones so we can keep getting bug-reports. - man pages to follow..
* Export ng_ether_enaddr_type for other nodes that want to use it.archie2000-08-301-0/+5
|
* Add three more control messages to complement their opposites:archie2000-08-151-1/+4
| | | | | NGM_ETHER_SET_ENADDR, NGM_ETHER_GET_PROMISC, and NGM_ETHER_GET_AUTOSRC. Alter parsing algorithm so the EN address really looks like one.
* Add three new control messages to the ng_ether(4) netgraph node type:archie2000-08-071-0/+3
| | | | | | NGM_ETHER_GET_ENADDR: Get the device's Ethernet address NGM_ETHER_SET_PROMISC: Enable/disable promiscuous mode NGM_ETHER_SET_AUTOSRC: Enable/disable packet source address override
* Make the ng_ether(4) node type dynamically loadable like the rest.archie2000-06-261-8/+8
| | | | | | | | | | | | | This means 'options NETGRAPH' is no longer necessary in order to get netgraph-enabled Ethernet interfaces. This supports loading/unloading the ng_ether.ko and attaching/detaching the Ethernet interface in any order. Add two new hooks 'upper' and 'lower' to allow access to the protocol demux engine and the raw device, respectively. This enables bridging to be defined as a netgraph node, if so desired. Reviewed by: freebsd-net@freebsd.org
* Add two new generic control messages, NGM_ASCII2BINARY andarchie1999-11-301-1/+9
| | | | | | | | | | | | | | | | | | | | | | | NGM_BINARY2ASCII, which convert control messages to ASCII and back. This allows control messages to be sent and received in ASCII form using ngctl(8), which makes ngctl a lot more useful. This also allows all the type-specific debugging code in libnetgraph to go away -- instead, we just ask the node itself to do the ASCII translation for us. Currently, all generic control messages are supported, as well as messages associated with the following node types: async, cisco, ksocket, and ppp. See /usr/share/examples/netgraph/ngctl for an example of using this. Also give ngctl(8) the ability to print out incoming data and control messages at any time. Eventually nghook(8) may be subsumed. Several other misc. bug fixes. Reviewed by: julian
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-0/+55
Been in production for 3 years now. Gives Instant Frame relay to if_sr and if_ar drivers, and PPPOE support soon. See: ftp://ftp.whistle.com/pub/archie/netgraph/index.html for on-line manual pages. Reviewed by: Doug Rabson (dfr@freebsd.org) Obtained from: Whistle CVS tree
OpenPOWER on IntegriCloud