Ignore machine-check MSRs
[freebsd-src/fkvm-freebsd.git] / share / examples / netgraph / raw
blobe0970f3c0b33d6e9fe6c9f45969de3f4fe34fd68
1 #!/bin/sh
2 # script to connect a raw synchronous card to a system interface.
3 # Assumes the file if_sr was compiled with options NETGRAPH.
4 # $FreeBSD$
6 CARD=sr0
8 # create an interface "ng0" and attach it to the sync port.
9 # The packets had jolly well better be ip because we are not discriminating.
10 ngctl mkpeer ${CARD}: iface rawdata inet
12 # if ng0 already exists, use a CONNECT command instead of a mkpeer. e.g.
13 # ngctl connect ${CARD}: ng0: rawdata inet
15 # Then use ifconfig on interface ng0 as usual