diff options
author | archie <archie@FreeBSD.org> | 2000-06-26 23:34:54 +0000 |
---|---|---|
committer | archie <archie@FreeBSD.org> | 2000-06-26 23:34:54 +0000 |
commit | 9af816e94656f88812336df4be5d2ddac233080f (patch) | |
tree | 3c138021e860caf3702977959a7cf77c2d4eb2e3 /sys/net/if_arp.h | |
parent | 9b2c6ebcad4b7500a4fb6f89dcd04a814bc3e7ac (diff) | |
download | FreeBSD-src-9af816e94656f88812336df4be5d2ddac233080f.zip FreeBSD-src-9af816e94656f88812336df4be5d2ddac233080f.tar.gz |
Make the ng_ether(4) node type dynamically loadable like the rest.
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
Diffstat (limited to 'sys/net/if_arp.h')
-rw-r--r-- | sys/net/if_arp.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if_arp.h b/sys/net/if_arp.h index 5bfbe4b..6760972 100644 --- a/sys/net/if_arp.h +++ b/sys/net/if_arp.h @@ -102,9 +102,7 @@ struct arpcom { struct ifnet ac_if; /* network-visible interface */ u_char ac_enaddr[6]; /* ethernet hardware address */ int ac_multicnt; /* length of ac_multiaddrs list */ -/* #ifdef NETGRAPH */ - void *ac_ng; /* hook to hang netgraph stuff off */ -/* #endif */ + void *ac_netgraph; /* ng_ether(4) netgraph node info */ }; extern u_char etherbroadcastaddr[6]; |