Age | Commit message (Collapse) | Author |
|
coherent with the existing rtable_* functions and document it.
While here fix some other manpage glitches pointed out by jmc@.
|
|
to a route entry, no need to do the work twice.
This chunk should have been deleted when post-4.4BSD changes from BSD/OS
4.2 were merged more than 10 years ago.
While here properly indent the following block.
tested by chris@, ok krw@
|
|
link-layer address of an interface. This ugly structure is used
to export the interface's name and index, not only the link-layer
address as its name might suggest.
So instead reaching this descriptor by forcing and abusing the
position of the link-layer "struct ifaddr" in the per-interface
list, use the if_sadl pointer directly.
ok mikeb@, henning@
|
|
TOS/Traffic Class field of the original packet. Discussed with mikeb@
|
|
field of IPv6 packets. Issue reported by Christophe Heurtaux on frnog.
ok mikeb@
|
|
ok mikeb@
|
|
ok pelikan@, tedu@
|
|
function call. Name sockaddr_rtlabel variable sa_rl everywhere.
OK mpi@ claudio@
|
|
ok bluhm claudio
|
|
|
|
not needed for routes to host.
ok bluhm@, claudio@
|
|
|
|
The limit is because in places, queue IDs are being stored as u_int16_t's.
tested by me, discussed at length with (and ok) claudio henning
|
|
pf_check_proto_cksum() by letting it use the same in4_cksum() call that
is used for TCP and UDP checksums.
ok henning@ naddy@
|
|
statistics sideeffects before. ok lteo naddy
|
|
software. ok naddy
(this is pbly the ultimate commit'n'run)
|
|
consumer just to please tcpdump is stupid and not done anywhere else.
kill with fire. ok benno
|
|
are are lie, since the software engine emulates hardware offloading
and that is later indistinguishable. so kill the hw cksummed counters.
introduce software checksummed packet counters instead.
tcp/udp handles ip & ipvshit, ip cksum covered, 6 has no ip layer cksum.
as before we still have a miscounting bug for inbound with pf on, to be
fixed in the next step.
found by, prodding & ok naddy
|
|
new function, rt_sendmsg(). While here, in the v6 cases, pass the same
rtableid that was used for the request instead of dereferencing a pointer
after checking for it to be NULL.
ok krw@ on a previous version, ok bluhm@
|
|
OK mpi@ and krw@
|
|
reading it from the packet header. While here makes carp_input()
take the same arguments as ether_input().
ok bluhm@, mikeb@
|
|
now cause a EINVAL. The RTA_GENMASK and RTAX_GENMASK defines are kept for
compatibility reasons.
OK benno@ and agreed by dlg@
|
|
|
|
|
|
instead of in every loop.
tested for a long time on many machines at work.
ok henning@
|
|
cases x is just used as a temp variable. Main offender is rn_addmask()
which sets x once at the top uses it then late in the function and then
starts reuing it for various other stuff. While there fix some for loops
to while ones and fix one strange do { } while() loop.
And since rn_search() can not return NULL remove one extra check.
OK mpi@
|
|
table if flowsrc is not set. Now works with new udp checksum code.
From Nathanael Rensen (nathanael.openbsd AT list DOT polymorpheus DOT
com), tweak and ok florian@
|
|
(unplugged). Even if it makes no sense to keep them around if the
interface is no more, we cannot safely remove them since pcb multicast
options might keep a pointer to them.
Fixes a user after free introduced by the multicast address linking
rewrite and reported by Alexey Suslikov, thanks!
ok claudio@
|
|
ok claudio@, henning@
|
|
pfi_kif_get annotates the kif with a flag indicating it is the "any" match
pfi_kif_match obeys that flag
ok benno
|
|
from multiple inclusion. OK mpi@
|
|
Also remove a memset that is already happeing because we use PR_ZERO on
the allocation. Move two memmove to memcpy because the addrs can not
overlap. Make some simple helper functions static __inline and remove one
of the explicit rn_search inlines.
OK mpi@
|
|
5.5 release.
OK claudio@
|
|
|
|
|
|
No functional change.
ok deraadt
|
|
to set multipath routes. So since more then 2 month multipath was broken.
|
|
radix_mask pool. With input and OK mikeb@ and henning@
|
|
change during M_WAITOK (note: no driver does this at the moment), then
be careful to not copyout a truncated media word list, but return E2BIG.
ok mikeb guenther kettenis
|
|
since ages so remove the bits used for userland compiles. OK mikeb@
|
|
member directly.
ok mikeb@
|
|
consistent with struct ifaddr "ifa" and struct in_ifaddr "ia".
OK mpi@
|
|
for easy switching to static functions. But we don't usually have static
functions in the kernel.
ok deraadt mpi mikeb
|
|
sprinkle 0 -> NULL where obvious
ok millert mpi
|
|
|
|
OK mikeb@
|
|
reduce stack space requirements.
ok mikeb mpi
|
|
Really change the link-local address in the unlikely event of an IFID
collision, instead of going into an infinite conf-nak loop with the peer.
To make the netinet6 code use the IPv6CP IFID in a new link-local address,
in6_ifattach_linklocal() must accept a provided IFID. Replace the unused
'altifp' parameter with a new 'ifid' parameter for this purpose.
Always use the latest suggested address in IPv6CP replies, even if
the task to update the interface's address hasn't run yet.
Also, clear the ifindex (KAME hack) in addresses sent during IPv6CP.
ok mpi
|
|
ok millert
|
|
ok henning, "looks fine" mikeb, input from guenther.
|