Remove $FreeBSD$: one-line sh patternRemove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
divert: declare PF_DIVERT domain and stop abusing PF_INETThe divert(4) is not a protocol of IPv4. It is a socket tointercept packets from ipfw(4) to userland and re-inject themback. It can dive
divert: declare PF_DIVERT domain and stop abusing PF_INETThe divert(4) is not a protocol of IPv4. It is a socket tointercept packets from ipfw(4) to userland and re-inject themback. It can divert and re-inject IPv4 and IPv6 packets today,but potentially it is not limited to these two protocols. TheIPPROTO_DIVERT does not belong to known IP protocols, itdoesn't even fit into u_char. I guess, the implementation ofdivert(4) was done the way it is done basically because it waseasier to do it this way, back when protocols for sockets wereintertwined with IP protocols and domains were staticallycompiled in.Moving divert(4) out of inetsw accomplished two important things:1) IPDIVERT is getting much closer to be not dependent on INET. This will be finalized in following changes.2) Now divert socket no longer aliases with raw IPv4 socket. Domain/proto selection code won't need a hack for SOCK_RAW and multiple entries in inetsw implementing different flavors of raw socket can merge into one without requirement of raw IPv4 being the last member of dom_protosw.Differential revision: https://reviews.freebsd.org/D36379
show more ...
Fix more typos to be a good example.Found by: codespell
Add two scripts that demonstrate how to make andhook together jails using teh vortual networking feature.Submitted by: Yavuz GokirmakMFC after: 2 weeks
Retire /usr/share/examples/netgraph/bluetooth/rc.bluetooth.MFC after: 1 week
- Correct grammos in comments and end them with full stops.- Use "if !" instead of empty true branches.- Don't hardcode script name in usage message, use $0 instead.- Cleanup some whitespace.
Serial devices now called /dev/cuadXX not /dev/cuaaXX
Replace all uses of the old netgraph constants NG_*LEN by the newconstants NG_*SIZ that include the trailing NUL byte. This changeis mostly mechanical except for the replacement of a couple of snpr
Replace all uses of the old netgraph constants NG_*LEN by the newconstants NG_*SIZ that include the trailing NUL byte. This changeis mostly mechanical except for the replacement of a couple of snprintf()and sprintf() calls with strlcpy.
fix typos in comments.Submitted by: Vincent Jardin <[email protected]>
This file just didn't want to commit in the last batch of bluetooth files.Approved by: re@
Usage style sweep: spell "usage" with a small 'u'.Also change one case of blatant __progname abuse (several more remain)This commit does not touch anything in src/{contrib,crypto,gnu}/.
Change the script a bit to allow the creation of 'brouted' bridges.To do this you need to have each top-end connected as well.IP can be routed and other protocols get bridged..Also useful when bri
Change the script a bit to allow the creation of 'brouted' bridges.To do this you need to have each top-end connected as well.IP can be routed and other protocols get bridged..Also useful when bridgeing two networks while merging them asmachines will work with both old and new netmasks. (well mostly).
Correct a brain-o in the stats output.PR: 24839Submitted by: AMAKAWA Shuhei <[email protected]>
Script showing how to setup Ethernet bridging using ng_bridge(4).
Add another netgraph example. This one shows how to set up a simpleUDP tunnel between two subnets.
Add two new generic control messages, NGM_ASCII2BINARY andNGM_BINARY2ASCII, which convert control messages to ASCII and back.This allows control messages to be sent and received in ASCII formusing
Add two new generic control messages, NGM_ASCII2BINARY andNGM_BINARY2ASCII, which convert control messages to ASCII and back.This allows control messages to be sent and received in ASCII formusing ngctl(8), which makes ngctl a lot more useful.This also allows all the type-specific debugging code in libnetgraphto go away -- instead, we just ask the node itself to do the ASCIItranslation for us.Currently, all generic control messages are supported, as well asmessages 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 andcontrol messages at any time. Eventually nghook(8) may be subsumed.Several other misc. bug fixes.Reviewed by: julian
Add an example of how to run raw IP across a sync port.
Add an example of how to set up a frame relay link using netgraph andthe 'sr' sync card.