| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
abstraction. First step of making PF_KEY a bit more like PF_ROUTE.
OK mpi@
|
|
|
|
|
| |
time soon so remove all the code to support multiple pfkey versions.
OK mpi@
|
|
|
|
| |
ok visa@
|
|
|
|
|
|
|
| |
Attach is quite a different thing to the other PRU functions and
this should make locking a bit simpler. This also removes the ugly
hack on how proto was passed to the attach function.
OK bluhm@ and mpi@ on a previous version
|
|
|
|
|
| |
fixed parameters.
OK mpi@ claudio@ dhill@
|
|
|
|
| |
ok dhill@, florian@, bluhm@
|
|
|
|
|
|
|
| |
This makes it easier to grep for a member, such as .pr_usrreq, and know
which functions to review.
ok mpi@ bluhm@ jca@
|
|
|
|
| |
rectification.
|
|
|
|
|
|
|
|
|
| |
removed in 2004. The comment about raw_input() above rip_input()
was added in 1981, but it is wrong since 1992. After that it has
been copied to rip6_input(). (*pr_input)() is never called with
the parameters (mbuf, sockproto, sockaddr, sockaddr).
So retire raw_input().
OK guenther@ deraadt@
|
|
|
|
| |
Tested by Hrvoje Popovski, ok bluhm@
|
|
|
|
|
|
| |
NULL tests.
ok mpi@
|
| |
|
|
|
|
|
| |
needed. All callers using the protosw pr_ctlinput pointer do a NULL check
before so there is no need to provide the function.
|
|
|
|
| |
ok mpi@ visa@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The routing table is not an optional component of the network stack
and initializing it inside the "routing domain" requires some ugly
introspection in the domain interface.
This put the rtable* layer at the same level of the if* level. These
two subsystem are organized around the two global data structure used
in the network stack:
- the global &ifnet list, to be used in process context only, and
- the routing table which can be read in interrupt context.
This change makes the rtable_* layer domain-aware and extends the
"struct domain" such that INET, INET6 and MPLS can specify the length
of the binary key used in lookups. This allows us to keep, or move
towards, AF-free route and rtable layers.
While here stop the madness and pass the size of the maximum key length
in *byte* to rn_inithead0().
ok claudio@, mikeb@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
length of the key as argument.
This way every consumer of the radix tree has a chance to explicitly
initialize the shared data structures and no longer rely on another
subsystem to do the initialization.
As a bonus ``dom_maxrtkey'' is no longer used an die.
ART kernels should now be fully usable because pf(4) and IPSEC properly
initialized the radix tree.
ok chris@, reyk@
|
|
|
|
|
|
|
| |
As a side effect there's no need to run if_attachdomain() after the
list of domains has been built.
ok claudio@, reyk@
|
|
|
|
|
|
|
|
| |
reaching around through the routing table
original diff by myself, much improved by mikeb@ and mpi@
ok and testing mikeb@ mpi@
|
|
|
|
| |
ok deraadt@ tedu@
|
| |
|
|
|
|
| |
ok miod@ mpi@
|
|
|
|
| |
after discussions with beck deraadt kettenis.
|
|
|
|
|
| |
and make raw_usrreq do an splsoftnet on its own;
joint work with david hill, ok claudio
|
|
|
|
|
|
|
|
| |
with the latter
no change in md5 checksum of generated files
ok claudio@ henning@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
get hung in nfs_reconnect() because they do not have the proper
privilages to bind to a socket, by adding a struct proc * argument
to sobind() (and the *_usrreq() routines, and finally in{6}_pcbbind)
and do the sobind() with proc0 in nfs_connect.
OK markus@, blambert@.
"go ahead" deraadt@.
Fixes an issue reported by bernd@ (Tested by bernd@).
Fixes PR5135 too.
|
|
|
|
| |
ok krw@
|
|
|
|
| |
and use sysctl for 'ipsecadm show'; ok deraadt
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
incrementing its reference. Fixes a m_zero panic reported by markus@ when
pfdatatopacket returns a cluster.
Tested by markus@, jason@ ok.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
queueing with spltdb()
|
| |
|
|
|
|
|
|
| |
If you are going to use either of AH or ESP or both, enable these in
/etc/sysctl.conf. Also correct the IPSec debugging sysctl code, it is now
named net.inet.ip.encdebug. Some corrected function signatures too.
|
| |
|
| |
|
|
|