| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
mbuf instead.
Suggested by: fenner
|
| |
|
| |
|
|
|
|
| |
and list the places where the assumption is used.
|
|
|
|
|
|
|
| |
DoS in an improved fashion over the existing code.
Reviewed by: silby (in a previous iteration)
Sponsored by: DARPA, NAI Labs
|
|
|
|
| |
a call to memset.
|
|
|
|
| |
do it again.
|
|
|
|
|
|
|
| |
vnodes. This will hopefully serve as a base from which we can
expand the MP code. We currently do not attempt to obtain any
mutex or SX locks, but the door is open to add them when we nail
down exactly how that part of it is going to work.
|
|
|
|
|
|
| |
until much later when the network stack locking is farther along.
Approved by: jlemon
|
|
|
|
|
|
|
| |
"[...] and removes the hostcache code from standard kernels---the
code that depends on it is not going to happen any time soon,
I'm afraid."
Time to clean up.
|
|
|
|
| |
into stable (mostly , but not only, formatting and comments changes).
|
|
|
|
| |
Spotted-by: diff(1)
|
| |
|
|
|
|
|
|
|
| |
Seems to be a typo for typedef, but we don't want this non-style(9)
typedef anyway.
PR: kern/31356
|
|
|
|
| |
Reviewed by: freebsd-net
|
|
|
|
| |
This will be used to more efficiently support if_nametoindex(3).
|
|
|
|
| |
name into a device.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Have sys/net/route.c:rtrequest1(), which takes ``rt_addrinfo *''
as the argument. Pass rt_addrinfo all the way down to rtrequest1
and ifa->ifa_rtrequest. 3rd argument of ifa->ifa_rtrequest is now
``rt_addrinfo *'' instead of ``sockaddr *'' (almost noone is
using it anyways).
Benefit: the following command now works. Previously we needed
two route(8) invocations, "add" then "change".
# route add -inet6 default ::1 -ifp gif0
Remove unsafe typecast in rtrequest(), from ``rtentry *'' to
``sockaddr *''. It was introduced by 4.3BSD-Reno and never
corrected.
Obtained from: BSD/OS, NetBSD
MFC after: 1 month
PR: kern/28360
|
|
|
|
|
|
|
|
|
|
|
| |
- Report destination address of a P2P link when servicing
routing socket messages.
- Report interface name, address, and destination address
of a P2P link when servicing NET_RT_{DUMP,FLAGS} sysctls.
Part of CSRG revision 8.6 coresponds to revision 1.12.
CSRG revision 8.7 corresponds to revision 1.15.
|
| |
|
| |
|
|
|
|
| |
Revision 1.59 corresponded to CSRG revision 8.5.
|
|
|
|
| |
and first hunk of revision 1.76 corresponded to CSRG revision 8.3.
|
|
|
|
| |
available index.
|
|
|
|
|
|
|
| |
interface in the middle is if_detach()'d). Return (and handle)
ENOENT when the ifmib(4) is accessed for a nonexistent interface.
MFC after: 14 days
|
|
|
|
|
| |
to 10Mbps. RFC 2863 says: "For a sub-layer which has no concept
of bandwidth, [ifSpeed] should be zero."
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
Reviewed by: jdp
Approved by: jdp
Obtained from: NetBSD
MFC after: 6 weeks
|
|
|
|
| |
not guaranteed to be dense with respect to the actual list of interfaces.
|
|
|
|
|
|
|
| |
the wrong index variable within a loop. I have no idea how this managed
to work on my test box.
Spotted by: fenner
|
|
|
|
|
|
|
|
|
|
| |
existing devices (e.g.: tunX). This may need a little more thought.
Create a /dev/netX alias for devices. net0 is reserved.
Allow wiring of net aliases in /boot/device.hints of the form:
hint.net.1.dev="lo0"
hint.net.12.ether="00:a0:c9:c9:9d:63"
|
|
|
|
| |
available for the routine to use.
|
|
|
|
| |
trigget the check to make sure we don't initalize a mutex twice.
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the panic when receiving a packet with an unknown tag, and
also allows reception of packets with known tags.
- Allow overlapping tag number spaces when using multiple hardware-assisted
VLAN parent devices (by comparing the parent interface in
vlan_input_tag() just as in vlan_input() ).
- fix typo in comment
MFC after: 1 week
|
| |
|
|
|
|
| |
Submitted by: billf
|
|
|
|
|
|
| |
with an ifnet structure.
MFC after: 1 week
|
| |
|
|
|
|
| |
Introduce EVFILT_NETDEV to report network device changes.
|
|
|
|
|
|
| |
appear in /dev. Interface hardware ioctls (not protocol or routing) can
be performed on the descriptor. The SIOCGIFCONF ioctl may be performed
on the special /dev/network node.
|
|
|
|
| |
assist any future locking efforts.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
+ implement "limit" rules, which permit to limit the number of sessions
between certain host pairs (according to masks). These are a special
type of stateful rules, which might be of interest in some cases.
See the ipfw manpage for details.
+ merge the list pointers and ipfw rule descriptors in the kernel, so
the code is smaller, faster and more readable. This patch basically
consists in replacing "foo->rule->bar" with "rule->bar" all over
the place.
I have been willing to do this for ages!
MFC after: 1 week
|
| |
|
|
|
|
| |
Obtained from: NetBSD
|
| |
|
| |
|
|
|
|
|
|
|
| |
If the process drops its super-user privileges, we certainly don't
want to allow it to modify routing tables.
Discussed with: rwatson
|
|
|
|
|
|
| |
Yes this really is rather silly and the implementation is overkill given
that you are only allowed one of them, but NetBSD implements cloning on
this device and it's a less cluttered example of cloning then most.
|
|
|
|
| |
which can only do checksum offloading in one direction.
|