History log of /src/sys/netinet/Makefile |
Revision | | Date | Author | Comments |
1.32 |
| 28-Oct-2022 |
ozaki-r | Remove in_pcb_hdr.h
|
1.31 |
| 20-Sep-2022 |
ozaki-r | tcp: separate syn cache stuffs into tcp_syncache.[ch] files
No functional change.
|
1.30 |
| 06-Sep-2018 |
maxv | Remove the network ATM code.
|
1.29 |
| 11-Jul-2018 |
kre | Fix build. pf_ioctl.c needs netinet/in_offload.h (after previous change). Because this is in a module, apparently, that means that netinet_in_offload.h needs to get installed in /usr/include, so do that as well.
Feel free to fix this in a better way...
|
1.28 |
| 16-Feb-2017 |
knakahara | branches: 1.28.12; 1.28.14; add l2tp(4) L2TPv3 interface.
originally implemented by IIJ SEIL team.
|
1.27 |
| 13-Oct-2015 |
rjs | branches: 1.27.2; 1.27.4; Add core networking support for SCTP.
|
1.26 |
| 10-Feb-2015 |
rjs | Add DCCP protocol support from KAME.
|
1.25 |
| 15-Sep-2012 |
plunky | branches: 1.25.14;
install header files from IPF 5.1.2 (sys/external/bsd/ipf) instead of older IPF (sys/dist/ipf).
This adds ipf_rb.h
|
1.24 |
| 25-Jun-2012 |
christos | branches: 1.24.2; rename rfc6056 -> portalgo, requested by yamt
|
1.23 |
| 15-Feb-2012 |
riz | Back out the recent import of IPFilter 5.1.1 for the upcoming branch, which will now have IPFilter 4.1.34. IPFilter 5.1.1 will be restored post-branch.
ok: core, releng.
|
1.22 |
| 30-Jan-2012 |
darrenr | Patch to include ipf_rb.h missed from merge.
|
1.21 |
| 24-Sep-2011 |
christos | branches: 1.21.2; 1.21.6; install the header.
|
1.20 |
| 03-May-2011 |
dyoung | Reduces the resources demanded by TCP sessions in TIME_WAIT-state using methods called Vestigial Time-Wait (VTW) and Maximum Segment Lifetime Truncation (MSLT).
MSLT and VTW were contributed by Coyote Point Systems, Inc.
Even after a TCP session enters the TIME_WAIT state, its corresponding socket and protocol control blocks (PCBs) stick around until the TCP Maximum Segment Lifetime (MSL) expires. On a host whose workload necessarily creates and closes down many TCP sockets, the sockets & PCBs for TCP sessions in TIME_WAIT state amount to many megabytes of dead weight in RAM.
Maximum Segment Lifetimes Truncation (MSLT) assigns each TCP session to a class based on the nearness of the peer. Corresponding to each class is an MSL, and a session uses the MSL of its class. The classes are loopback (local host equals remote host), local (local host and remote host are on the same link/subnet), and remote (local host and remote host communicate via one or more gateways). Classes corresponding to nearer peers have lower MSLs by default: 2 seconds for loopback, 10 seconds for local, 60 seconds for remote. Loopback and local sessions expire more quickly when MSLT is used.
Vestigial Time-Wait (VTW) replaces a TIME_WAIT session's PCB/socket dead weight with a compact representation of the session, called a "vestigial PCB". VTW data structures are designed to be very fast and memory-efficient: for fast insertion and lookup of vestigial PCBs, the PCBs are stored in a hash table that is designed to minimize the number of cacheline visits per lookup/insertion. The memory both for vestigial PCBs and for elements of the PCB hashtable come from fixed-size pools, and linked data structures exploit this to conserve memory by representing references with a narrow index/offset from the start of a pool instead of a pointer. When space for new vestigial PCBs runs out, VTW makes room by discarding old vestigial PCBs, oldest first. VTW cooperates with MSLT.
It may help to think of VTW as a "FIN cache" by analogy to the SYN cache.
A 2.8-GHz Pentium 4 running a test workload that creates TIME_WAIT sessions as fast as it can is approximately 17% idle when VTW is active versus 0% idle when VTW is inactive. It has 103 megabytes more free RAM when VTW is active (approximately 64k vestigial PCBs are created) than when it is inactive.
|
1.19 |
| 05-Oct-2007 |
dyoung | branches: 1.19.14; 1.19.44; 1.19.50; Work in progress: use a raw socket for GRE in IP encapsulation instead of adding/subtracting our own IPv4 header.
There are many benefits: gre(4) needn't grok the outer encapsulation header any longer, so this simplifies the gre(4) code. The IP stack needn't grok GRE, so it is simplified, too. gre(4) will benefit from optimizations in the socket code. Eventually, gre(4) will gain an IPv6 encapsulation with very few new lines of code.
There is a small performance loss. A 133 MHz, 486-class AMD Elan sinks/sources a TCP stream over GRE with about 93% the throughput of the old code. TCP throughput on a 266 MHz, 586-class AMD Geode is about 96% the throughput of the old code. A 175-MHz ADM5120 (MIPS) only sinks a TCP stream over GRE at about 90% of the old code; I am still investigating that.
I produced stripped-down versions of sosend() and soreceive() for gre(4) to use. They are guaranteed not to block, so they can be called from a software interrupt and from a socket upcall, respectively.
A kernel thread is no longer necessary for socket transmit/receive, but I didn't get around to removing it, yet.
Thanks to Matt Thomas for suggesting the use of stripped-down socket code and software interrupts, and to Andrew Doran for advice and answers concerning software interrupts, threads, and performance.
|
1.18 |
| 02-May-2007 |
dyoung | branches: 1.18.6; 1.18.8; 1.18.10; Remove obsolete files netinet/in_route.[ch].
|
1.17 |
| 09-Dec-2006 |
dyoung | branches: 1.17.2; 1.17.6; 1.17.8; Here are various changes designed to protect against bad IPv4 routing caused by stale route caches (struct route). Route caches are sprinkled throughout PCBs, the IP fast-forwarding table, and IP tunnel interfaces (gre, gif, stf).
Stale IPv6 and ISO route caches will be treated by separate patches.
Thank you to Christoph Badura for suggesting the general approach to invalidating route caches that I take here.
Here are the details:
Add hooks to struct domain for tracking and for invalidating each domain's route caches: dom_rtcache, dom_rtflush, and dom_rtflushall.
Introduce helper subroutines, rtflush(ro) for invalidating a route cache, rtflushall(family) for invalidating all route caches in a routing domain, and rtcache(ro) for notifying the domain of a new cached route.
Chain together all IPv4 route caches where ro_rt != NULL. Provide in_rtcache() for adding a route to the chain. Provide in_rtflush() and in_rtflushall() for invalidating IPv4 route caches. In in_rtflush(), set ro_rt to NULL, and remove the route from the chain. In in_rtflushall(), walk the chain and remove every route cache.
In rtrequest1(), call rtflushall() to invalidate route caches when a route is added.
In gif(4), discard the workaround for stale caches that involves expiring them every so often.
Replace the pattern 'RTFREE(ro->ro_rt); ro->ro_rt = NULL;' with a call to rtflush(ro).
Update ipflow_fastforward() and all other users of route caches so that they expect a cached route, ro->ro_rt, to turn to NULL.
Take care when moving a 'struct route' to rtflush() the source and to rtcache() the destination.
In domain initializers, use .dom_xxx tags.
KNF here and there.
|
1.16 |
| 13-Nov-2006 |
dyoung | Add a source-address selection policy mechanism to the kernel.
Also, add ioctls SIOCGIFADDRPREF/SIOCSIFADDRPREF to get/set preference numbers for addresses. Make ifconfig(8) set/display preference numbers.
To activate source-address selection policies in your kernel, add 'options IPSELSRC' to your kernel configuration.
Miscellaneous changes in support of source-address selection:
1 Factor out some common code, producing rt_replace_ifa().
2 Abbreviate a for-loop with TAILQ_FOREACH().
3 Add the predicates on IPv4 addresses IN_LINKLOCAL() and IN_PRIVATE(), that are true for link-local unicast (169.254/16) and RFC1918 private addresses, respectively. Add the predicate IN_ANY_LOCAL() that is true for link-local unicast and multicast.
4 Add IPv4-specific interface attach/detach routines, in_domifattach and in_domifdetach, which build #ifdef IPSELSRC.
See in_getifa(9) for a more thorough description of source-address selection policy.
|
1.15 |
| 18-May-2006 |
liamjfoy | branches: 1.15.8; 1.15.10; Integrate Common Address Redundancy Procotol (CARP) from OpenBSD
'pseudo-device carp'
Thanks to: joerg@ christos@ riz@ and others who tested Ok: core@
|
1.14 |
| 11-Dec-2005 |
christos | branches: 1.14.4; 1.14.6; 1.14.8; 1.14.12; merge ktrace-lwp.
|
1.13 |
| 09-Jul-2005 |
xtraeme | Move ipl.h into the ipfilter block, which is the right place.
|
1.12 |
| 01-May-2005 |
martti | branches: 1.12.2; Install netinet/ipl.h (bin/30095)
|
1.11 |
| 22-Feb-2005 |
peter | branches: 1.11.2; Add MKIPFILTER; if set to no, don't build and install the ipf(4) programs, headers and LKM.
Add MKPF; if set to no, don't build and install the pf(4) programs, headers, LKM and spamd.
Both options default to yes, so nothing changed in the default build.
Reviewed by lukem.
|
1.10 |
| 05-Oct-2004 |
yamt | branches: 1.10.4; 1.10.6; move ipf headers and add a comment.
|
1.9 |
| 01-Oct-2004 |
christos | Move ipf to sys/dist/ipf; Note that I followed the pattern used for pf. I think though that the files.ipfilter and Makefile glue should go to the dist directory, not like it is done now.
|
1.8 |
| 04-Sep-2004 |
manu | IPv4 PIM support, based on a submission from Pavlin Radoslavov posted on tech-net@
|
1.7 |
| 23-Jul-2004 |
martti | Upgraded IPFilter to 4.1.3
|
1.6 |
| 28-Mar-2004 |
martti | branches: 1.6.2; Sync with official IPFilter
|
1.5 |
| 04-Sep-2003 |
itojun | revamp inpcb/in6pcb so that they are more aligned with each other. in6pcb lookup now uses hash(9).
|
1.4 |
| 26-Nov-2002 |
lukem | branches: 1.4.6; Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
|
1.3 |
| 19-Apr-2000 |
itojun | branches: 1.3.6; add net/if_stf.h and netinet/ip_encap.h (almost noone will include them though)
|
1.2 |
| 01-Jul-1999 |
itojun | branches: 1.2.2; IPv6 kernel code, based on KAME/NetBSD 1.4, SNAP kit 19990628. (Sorry for a big commit, I can't separate this into several pieces...) Pls check sys/netinet6/TODO and sys/netinet6/IMPLEMENTATION for details.
- sys/kern: do not assume single mbuf, accept chained mbuf on passing data from userland to kernel (or other way round). - "midway" ATM card: ATM PVC pseudo device support, like those done in ALTQ package (ftp://ftp.csl.sony.co.jp/pub/kjc/). - sys/netinet/tcp*: IPv4/v6 dual stack tcp support. - sys/netinet/{ip6,icmp6}.h, sys/net/pfkeyv2.h: IETF document assumes those file to be there so we patch it up. - sys/netinet: IPsec additions are here and there. - sys/netinet6/*: most of IPv6 code sits here. - sys/netkey: IPsec key management code - dev/pci/pcidevs: regen
In my understanding no code here is subject to export control so it should be safe.
|
1.1 |
| 12-Jun-1998 |
cgd | branches: 1.1.10; 1.1.12; Rework the way kernel include files are installed. In the new method, as with user-land programs, include files are installed by each directory in the tree that has includes to install. (This allows more flexibility as to what gets installed, makes 'partial installs' easier, and gives us more options as to which machines' includes get installed at any given time.) The old SYS_INCLUDES={symlinks,copies} behaviours are _both_ still supported, though at least one bug in the 'symlinks' case is fixed by this change. Include files can't be build before installation, so directories that have includes as targets (e.g. dev/pci) have to move those targets into a different Makefile.
|
1.1.12.3 |
| 30-Nov-1999 |
itojun | bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch just for reference purposes. This commit includes 1.4 -> 1.4.1 sync for kame branch.
The branch does not compile at all (due to the lack of ALTQ and some other source code). Please do not try to modify the branch, this is just for referenre purposes.
synchronization to latest KAME will take place on HEAD branch soon.
|
1.1.12.2 |
| 06-Jul-1999 |
itojun | KAME/NetBSD 1.4, SNAP kit 1999/07/05. NOTE: this branch is just for reference purposes (i.e. for taking cvs diff). do not touch anything on the branch. actual work must be done on HEAD branch.
|
1.1.12.1 |
| 28-Jun-1999 |
itojun | KAME/NetBSD 1.4 SNAP kit, dated 19990628.
NOTE: this branch (kame) is used just for refernce. this may not compile due to multiple reasons.
|
1.1.10.1 |
| 01-Jul-1999 |
thorpej | Sync w/ -current.
|
1.2.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago
|
1.3.6.1 |
| 11-Dec-2002 |
thorpej | Sync with HEAD.
|
1.4.6.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.4.6.5 |
| 04-Mar-2005 |
skrll | Sync with HEAD.
Hi Perry!
|
1.4.6.4 |
| 19-Oct-2004 |
skrll | Sync with HEAD
|
1.4.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.4.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.4.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.6.2.1 |
| 13-Aug-2004 |
jmc | branches: 1.6.2.1.2; Pullup rev 1.7 (requested by christos in ticket #759)
Bring up to ipf 4.1.3
|
1.6.2.1.2.2 |
| 13-May-2005 |
riz | Pull up revision 1.12 via patch (requested by martti in ticket #1495): Install netinet/ipl.h (bin/30095)
|
1.6.2.1.2.1 |
| 06-Feb-2005 |
jmc | Pull up patch (requested by martti in ticket #1086) Move ipf to sys/dist/ipf and sync w. trunk
|
1.10.6.1 |
| 19-Mar-2005 |
yamt | sync with head. xen and whitespace. xen part is not finished.
|
1.10.4.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.11.2.2 |
| 24-Jul-2005 |
tron | Pull up revision 1.13 (requested by peter in ticket #612): Move ipl.h into the ipfilter block, which is the right place.
|
1.11.2.1 |
| 01-May-2005 |
tron | Pull up revision 1.12 (requested by martti in ticket #231): Install netinet/ipl.h (bin/30095)
|
1.12.2.4 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.12.2.3 |
| 03-Sep-2007 |
yamt | sync with head.
|
1.12.2.2 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.12.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.14.12.1 |
| 24-May-2006 |
tron | Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
|
1.14.8.1 |
| 24-May-2006 |
yamt | sync with head.
|
1.14.6.1 |
| 01-Jun-2006 |
kardel | Sync with head.
|
1.14.4.2 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.14.4.1 |
| 02-Feb-2006 |
rpaulo | in_pcb_hdr.h is gone.
|
1.15.10.1 |
| 10-Dec-2006 |
yamt | sync with head.
|
1.15.8.2 |
| 12-Jan-2007 |
ad | Sync with head.
|
1.15.8.1 |
| 18-Nov-2006 |
ad | Sync with head.
|
1.17.8.1 |
| 11-Jul-2007 |
mjf | Sync with head.
|
1.17.6.2 |
| 09-Oct-2007 |
ad | Sync with head.
|
1.17.6.1 |
| 08-Jun-2007 |
ad | Sync with head.
|
1.17.2.1 |
| 07-May-2007 |
yamt | sync with head.
|
1.18.10.1 |
| 06-Oct-2007 |
yamt | sync with head.
|
1.18.8.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.18.6.1 |
| 07-Oct-2007 |
joerg | Sync with HEAD.
|
1.19.50.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.19.44.1 |
| 31-May-2011 |
rmind | sync with head
|
1.19.14.1 |
| 22-Feb-2008 |
keiichi | imported Mobile IPv6 code developed by the SHISA project (http://www.mobileip.jp/).
|
1.21.6.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.21.2.1 |
| 30-Oct-2012 |
yamt | sync with head
|
1.24.2.2 |
| 03-Dec-2017 |
jdolecek | update from HEAD
|
1.24.2.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.25.14.3 |
| 28-Aug-2017 |
skrll | Sync with HEAD
|
1.25.14.2 |
| 27-Dec-2015 |
skrll | Sync with HEAD (as of 26th Dec)
|
1.25.14.1 |
| 06-Apr-2015 |
skrll | Sync with HEAD
|
1.27.4.1 |
| 21-Apr-2017 |
bouyer | Sync with HEAD
|
1.27.2.1 |
| 20-Mar-2017 |
pgoyette | Sync with HEAD
|
1.28.14.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.28.12.2 |
| 30-Sep-2018 |
pgoyette | Ssync with HEAD
|
1.28.12.1 |
| 28-Jul-2018 |
pgoyette | Sync with HEAD
|