History log of /netbsd/sys/netinet/in_proto.c (Results 1 – 25 of 131)
Revision Date Author Comments
# 42a2659f 03-Sep-2022 thorpej <thorpej@NetBSD.org>

Garbage-collect everything related to struct domain::dom_ifqueues
(except dom_ifqueues itself, until the next kernel version bump).
It's no longer used now that nothing uses the legacy netisr mechani

Garbage-collect everything related to struct domain::dom_ifqueues
(except dom_ifqueues itself, until the next kernel version bump).
It's no longer used now that nothing uses the legacy netisr mechanism.

show more ...


# 06fb17b7 14-Sep-2018 maxv <maxv@NetBSD.org>

Use non-variadic function pointer in protosw::pr_input.


# d700c824 14-Aug-2018 maxv <maxv@NetBSD.org>

Retire EtherIP, we have L2TP instead.


# ddb4dac5 03-May-2018 maxv <maxv@NetBSD.org>

Remove now unused tcpip.h includes. Some were already unused before.


# 3de5606c 15-Mar-2018 maxv <maxv@NetBSD.org>

Add the PR_LASTHDR flag on the PFsync and CARP entries. Otherwise a
"require" IPsec policy is not enforced on them, and unauthenticated
packets will be accepted.

Tested with a require-AH configurati

Add the PR_LASTHDR flag on the PFsync and CARP entries. Otherwise a
"require" IPsec policy is not enforced on them, and unauthenticated
packets will be accepted.

Tested with a require-AH configuration. Sent on tech-net@, no comment.

show more ...


# c9f5979a 05-Feb-2018 maxv <maxv@NetBSD.org>

Declare icmperrppslim in ip_icmp.c, it shouldn't be used elsewhere.


# 9ec00273 27-Sep-2017 ozaki-r <ozaki-r@NetBSD.org>

Take softnet_lock on pr_input properly if NET_MPSAFE

Currently softnet_lock is taken unnecessarily in some cases, e.g.,
icmp_input and encap4_input from ip_input, or not taken even if needed,
e.g.,

Take softnet_lock on pr_input properly if NET_MPSAFE

Currently softnet_lock is taken unnecessarily in some cases, e.g.,
icmp_input and encap4_input from ip_input, or not taken even if needed,
e.g., udp_input and tcp_input from ipsec4_common_input_cb. Fix them.

NFC if NET_MPSAFE is disabled (default).

show more ...


# 2a682585 21-Sep-2017 ozaki-r <ozaki-r@NetBSD.org>

Invalidate rtcache based on a global generation counter

The change introduces a global generation counter that is incremented when any
routes have been added or deleted. When a rtcache caches a rten

Invalidate rtcache based on a global generation counter

The change introduces a global generation counter that is incremented when any
routes have been added or deleted. When a rtcache caches a rtentry into itself,
it also stores a snapshot of the generation counter. If the snapshot equals to
the global counter, the cache is still valid, otherwise invalidated.

One drawback of the change is that all rtcaches of all protocol families are
invalidated when any routes of any protocol families are added or deleted.
If that matters, we should have separate generation counters based on
protocol families.

This change removes LIST_ENTRY from struct route, which fixes a part of
PR kern/52515.

show more ...


# 6ffc810c 14-Apr-2017 ozaki-r <ozaki-r@NetBSD.org>

Rumpify netipsec

Note that we should modularize netipsec and reduce reverse symbol references
(referencing symbols of netipsec from net, netinet and netinet6) though,
the task needs lots of code cha

Rumpify netipsec

Note that we should modularize netipsec and reduce reverse symbol references
(referencing symbols of netipsec from net, netinet and netinet6) though,
the task needs lots of code changes. Prior to doing so, rumpifying it and
having ATF tests should be useful.

show more ...


# 13330646 16-Feb-2017 knakahara <knakahara@NetBSD.org>

add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.


# 6bb80198 13-Feb-2017 ozaki-r <ozaki-r@NetBSD.org>

Protect mtudisc and redirect stuffs of icmp/icmp6 with mutex

We have to run pr_init of icmp and icmp6 prior to tcp and tcp6 ones
for mutex initialization.


# b8014fa8 26-Apr-2016 ozaki-r <ozaki-r@NetBSD.org>

Sweep unnecessary route.h inclusions


# b471d673 11-Apr-2016 ozaki-r <ozaki-r@NetBSD.org>

Sweep unncessary radix.h inclusions


# 18fce5a4 21-Jan-2016 riastradh <riastradh@NetBSD.org>

Revert previous: ran cvs commit when I meant cvs diff. Sorry!

Hit up-arrow one too few times.


# 7aa5e210 21-Jan-2016 riastradh <riastradh@NetBSD.org>

Give proper prototype to ip_output.


# 747e1b20 20-Jan-2016 riastradh <riastradh@NetBSD.org>

Eliminate struct protosw::pr_output.

You can't use this unless you know what it is a priori: the formal
prototype is variadic, and the different instances (e.g., ip_output,
route_output) have differ

Eliminate struct protosw::pr_output.

You can't use this unless you know what it is a priori: the formal
prototype is variadic, and the different instances (e.g., ip_output,
route_output) have different real prototypes.

Convert the only user of it, raw_send in net/raw_cb.c, to take an
explicit callback argument. Convert the only instances of it,
route_output and key_output, to such explicit callbacks for raw_send.
Use assertions to make sure the conversion to explicit callbacks is
warranted.

Discussed on tech-net with no objections:
https://mail-index.netbsd.org/tech-net/2016/01/16/msg005484.html

show more ...


# c05f20fb 13-Oct-2015 rjs <rjs@NetBSD.org>

Add core networking support for SCTP.


# 5b6acd3b 31-Aug-2015 ozaki-r <ozaki-r@NetBSD.org>

Replace ARP cache (llinfo) with lltable/llentry

Highlights of the change are:
- Use llentry instead of llinfo to manage ARP caches
- ARP specific data are stored in the hashed list
of an inter

Replace ARP cache (llinfo) with lltable/llentry

Highlights of the change are:
- Use llentry instead of llinfo to manage ARP caches
- ARP specific data are stored in the hashed list
of an interface instead of the global list (llinfo_arp)
- Fine-grain locking on llentry
- arptimer (callout) per ARP cache
- the global timer callout with the big locks can be
removed (though softnet_lock is still required for now)
- net.inet.arp.prune is now obsoleted
- it was the interval of the global timer callout
- net.inet.arp.refresh is now obsoleted
- it was a parameter that prevents expiration of active caches
- Removed to simplify the timer logic, but we may be able to
restore the feature if really needed

Proposed on tech-kern and tech-net.

show more ...


# 082aeae6 24-Aug-2015 pooka <pooka@NetBSD.org>

sprinkle _KERNEL_OPT


# 1dd3317b 02-May-2015 roy <roy@NetBSD.org>

Add IPv4 address flags IN_IFF_TENTATIVE, IN_IFF_DUPLICATED and
IN_IFF_DETATCHED to mimic the IPv6 address behaviour.
Add SIOCGIFAFLAG_IN ioctl to retrieve the address flag via the
ifreq structure.
Ad

Add IPv4 address flags IN_IFF_TENTATIVE, IN_IFF_DUPLICATED and
IN_IFF_DETATCHED to mimic the IPv6 address behaviour.
Add SIOCGIFAFLAG_IN ioctl to retrieve the address flag via the
ifreq structure.
Add IPv4 DAD detection via the ARP methods described in RFC 5227.
Add sysctls net.inet.ip.dad_count and net.inet.arp.debug.

Discussed on tech-net@

show more ...


# abc2ac13 10-Feb-2015 rjs <rjs@NetBSD.org>

Add DCCP protocol support from KAME.


# 774e72bc 05-Jun-2014 rmind <rmind@NetBSD.org>

- Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to

- Implement pktqueue interface for lockless IP input queue.
- Replace ipintrq and ip6intrq with the pktqueue mechanism.
- Eliminate kernel-lock from ipintr() and ip6intr().
- Some preparation work to push softnet_lock out of ipintr().

Discussed on tech-net.

show more ...


# be0111ac 18-May-2014 rmind <rmind@NetBSD.org>

Add struct pr_usrreqs with a pr_generic function and prepare for the
dismantling of pr_usrreq in the protocols; no functional change intended.
PRU_ATTACH/PRU_DETACH changes will follow soon.

Bump fo

Add struct pr_usrreqs with a pr_generic function and prepare for the
dismantling of pr_usrreq in the protocols; no functional change intended.
PRU_ATTACH/PRU_DETACH changes will follow soon.

Bump for struct protosw. Welcome to 6.99.62!

show more ...


# e08b0234 20-Mar-2014 christos <christos@NetBSD.org>

need compat header.


# 488432da 02-Jan-2014 pooka <pooka@NetBSD.org>

Allow kernels compiled with INET+INET6 to be booted as IPv4-only or IPv6-only.


123456