freebsd-dev/sys/modules/netgraph/fec/sample_startup
Julian Elischer 6da3d5ce7f Finally get around to committing Bill Paul's FEC netgraph nodes.
These are really only partly netgraph nodes as they do not use the
netgraph interfaces for many of the functions for which they could
be used, however they represent important functionality.

Submitted by:	wpaul
MFC after: 2 days
2002-10-29 19:12:44 +00:00

9 lines
225 B
Plaintext

# $FreeBSD$
kldload ./ng_fec.ko
ngctl mkpeer fec dummy fec
ngctl msg fec0: add_iface '"dc0"'
ngctl msg fec0: add_iface '"dc1"'
ngctl msg fec0: add_iface '"dc2"'
ngctl msg fec0: add_iface '"dc3"'
ngctl msg fec0: set_mode_inet