| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The divert(4) is not a protocol of IPv4. It is a socket to
intercept packets from ipfw(4) to userland and re-inject them
back. It can divert and re-inject IPv4 and IPv6 packets today,
but potentially it is not limited to these two protocols. The
IPPROTO_DIVERT does not belong to known IP protocols, it
doesn't even fit into u_char. I guess, the implementation of
divert(4) was done the way it is done basically because it was
easier to do it this way, back when protocols for sockets were
intertwined with IP protocols and domains were statically
compiled 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
|
| |
|
|
|
|
|
| |
Found by: codespell
Notes:
svn path=/head/; revision=222179
|
| |
|
|
|
|
|
|
|
|
| |
hook together jails using teh vortual networking feature.
Submitted by: Yavuz Gokirmak
MFC after: 2 weeks
Notes:
svn path=/head/; revision=214306
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=169026
|
| |
|
|
|
|
|
|
|
| |
- Use "if !" instead of empty true branches.
- Don't hardcode script name in usage message, use $0 instead.
- Cleanup some whitespace.
Notes:
svn path=/head/; revision=156313
|
| |
|
|
| |
Notes:
svn path=/head/; revision=137134
|
| |
|
|
|
|
|
|
|
| |
constants NG_*SIZ that include the trailing NUL byte. This change
is mostly mechanical except for the replacement of a couple of snprintf()
and sprintf() calls with strlcpy.
Notes:
svn path=/head/; revision=122758
|
| |
|
|
|
|
|
| |
Submitted by: Vincent Jardin <vjardin@wanadoo.fr>
Notes:
svn path=/head/; revision=120612
|
| |
|
|
|
|
|
| |
Approved by: re@
Notes:
svn path=/head/; revision=114880
|
| |
|
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
Notes:
svn path=/head/; revision=95258
|
| |
|
|
|
|
|
|
|
|
| |
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 as
machines will work with both old and new netmasks. (well mostly).
Notes:
svn path=/head/; revision=94477
|
| |
|
|
|
|
|
|
| |
PR: 24839
Submitted by: AMAKAWA Shuhei <amakawa@sf.t.u-tokyo.ac.jp>
Notes:
svn path=/head/; revision=79035
|
| |
|
|
| |
Notes:
svn path=/head/; revision=66512
|
| |
|
|
|
|
|
| |
UDP tunnel between two subnets.
Notes:
svn path=/head/; revision=56706
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=53913
|
| |
|
|
| |
Notes:
svn path=/head/; revision=53411
|
|
|
the 'sr' sync card.
Notes:
svn path=/head/; revision=53410
|