Home | History | Annotate | Download | only in net
History log of /src/sys/net/Makefile
RevisionDateAuthorComments
 1.47  12-Oct-2025  thorpej Some platforms have rules for retrieving the MAC address for an interface
beyond what properties exist. For example, a local address maybe be
present in a device tree property, but a system-wide property may indicate
that it should not be used (in favor of e.g. a singular system MAC addres -
LOOKIN' AT YOU, SUNW!).

So, the ether-get-mac-address device call is introduced to handle this
situation. Consult it before the standard properites, and if it succeeds,
use its result.
 1.46  03-Sep-2022  thorpej Garbage-collect the remaining vestiges of netisr.
 1.45  17-May-2021  yamaguchi Add a new link-aggregation pseudo interface named lagg(4)

- FreeBSD's lagg(4) based implementation
- MP-safe and MP-scalable
 1.44  11-Sep-2020  roy branches: 1.44.6; 1.44.8;
Implement address agnostic Neighbor Detection.

This is heavily based on IPv6 Neighbor Detection and allows per protocol
timers which also facilitate Neighor Unreachability Detection.
 1.43  20-Aug-2020  riastradh [ozaki-r] Changes to the kernel core for wireguard
 1.42  29-Jan-2020  thorpej Add support for MP-safe network interface statistics by maintaining them
in per-cpu storage, and collecting them for export in an if_data structure
when user-space wants them.

The new if_stat API is structured to make a gradual transition to the
new way in network drivers possible, and per-cpu stats are currently
disabled (thus there is no kernel ABI change). Once all drivers have
been converted, the old ABI will be removed, and per-cpu stats will be
enabled universally.
 1.41  20-Jan-2020  thorpej Remove FDDI support.
 1.40  19-Jan-2020  thorpej Remove Token Ring support.
 1.39  19-Jan-2020  thorpej Remove HIPPI support and the esh(4) driver that uses it. There have not
been any users of HIPPI for some time, and it is unlikely to be resurrected.
 1.38  06-Sep-2018  maxv branches: 1.38.6;
Remove the network ATM code.
 1.37  14-Aug-2018  maxv Retire EtherIP, we have L2TP instead.
 1.36  16-Feb-2018  knakahara branches: 1.36.2; 1.36.4;
Currently, it is not necessary to install rss_config.h. Pointed out by msaitoh@n.o.
 1.35  16-Feb-2018  knakahara Introduce very simple Receive Side Scaling (RSS) utility.

ok by msaitoh@n.o.
 1.34  10-Jan-2018  knakahara add ipsec(4) interface, which is used for route-based VPN.

man and ATF are added later, please see man for details.

reviewed by christos@n.o, joerg@n.o and ozaki-r@n.o, thanks.
https://mail-index.netbsd.org/tech-net/2017/12/18/msg006557.html
 1.33  16-Feb-2017  knakahara branches: 1.33.6;
add l2tp(4) L2TPv3 interface.

originally implemented by IIJ SEIL team.
 1.32  27-Oct-2012  alnsn branches: 1.32.14; 1.32.18; 1.32.22;
Add bpfjit and enable it for amd64.
 1.31  27-Sep-2012  alnsn Remove bpf_jit which was ported from FreeBSD recently.

It will soon be replaced with the new bpfjit kernel module.
 1.30  02-Aug-2012  matt branches: 1.30.2;
Export <net/bpf_jit.h> and add to the set lists.
 1.29  22-Aug-2010  rmind branches: 1.29.8;
Import NPF - a packet filter. Some features:

- Designed to be fully MP-safe and highly efficient.

- Tables/IP sets (hash or red-black tree) for high performance lookups.

- Stateful filtering and Network Address Port Translation (NAPT).
Framework for application level gateways (ALGs).

- Packet inspection engine called n-code processor - inspired by BPF -
supporting generic RISC-like and specific CISC-like instructions for
common patterns (e.g. IPv4 address matching). See npf_ncode(9) manual.

- Convenient userland utility npfctl(8) with npf.conf(8).

NOTE: This is not yet a fully capable alternative to PF or IPFilter.
Further work (support for binat/rdr, return-rst/return-icmp, common ALGs,
state saving/restoring, logging, etc) is in progress.

Thanks a lot to Matt Thomas for various useful comments and code review.
Aye by: board@
 1.28  26-Jun-2010  kefren Add MPLS support, proposed on tech-net@ a couple of days ago

Welcome to 5.99.33
 1.27  30-May-2009  hannken branches: 1.27.2; 1.27.4;
No need to include bsd.subdir.mk as bsd.kinc.mk already includes it.
 1.26  26-May-2009  pooka Install agr ioctl header and stop putting our hand under the sys skirt
in ifconfig.
 1.25  05-May-2008  ad branches: 1.25.14;
Back out previous. It broke the build.
 1.24  04-May-2008  ad Don't install sys/net/zlib.h.
 1.23  23-Apr-2008  thorpej branches: 1.23.2;
Add subroutines to support collating per-cpu-gathered network statistics.
 1.22  13-Jan-2007  isaki branches: 1.22.36; 1.22.40; 1.22.42;
Install <net/if_pflog.h>.
 1.21  11-Jan-2007  mouse Hook srt into the rest of the kernel build machinery, so it works to
just uncomment the pseudo-device line (which arguably should go into
other ports' GENERICs too, and at some point may).

OKed by perry.
 1.20  23-Nov-2006  rpaulo branches: 1.20.2; 1.20.4;
New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld.
Notable changes:
* Fixes PR 34268.
* Separates the code from gif(4) (which is more cleaner).
* Allows the usage of STP (Spanning Tree Protocol).
* Removed EtherIP implementation from gif(4)/tap(4).

Some input from Christos.
 1.19  18-Jun-2006  uwe branches: 1.19.4; 1.19.6;
Do not instal net/if_pppvar.h, net/if_slvar.h and net/if_stripvar.h.
The former two are no longer necessary as slstats is no more
and pppstats now uses an ioctl instead of rummaging through kmem.
The latter has nothign interesting for the userland, but uses
struct bintime that I'm about to hide under #ifdef _KERNEL.

A bunch of remaining <net/if_*.h> headers is pretty useless to the
userland too, but ... someone else's yag to shave...
 1.18  11-Dec-2005  christos branches: 1.18.4; 1.18.8; 1.18.14; 1.18.16;
merge ktrace-lwp.
 1.17  08-Jan-2005  cube branches: 1.17.8; 1.17.10;
Install net/if_tap.h.
 1.16  22-Jun-2004  itojun fix "includes" for pfvar.h
 1.15  22-Jun-2004  itojun foundation for PF
 1.14  13-Oct-2003  dyoung Complete replacement of the old 802.11 layer with the new.
 1.13  26-Nov-2002  lukem branches: 1.13.6;
Remove KDIR=, since SYS_INCLUDE=symlinks and KDIR are not supported any more.
 1.12  05-Oct-2001  bjh21 Install net/ieee1394.h the same way we install all the other
link-layer-specific headers.
 1.11  17-Aug-2001  augustss branches: 1.11.2;
Install if_bridgevar.h.
 1.10  29-Apr-2001  martin branches: 1.10.2;
Add an in-kernel PPPoE (ppp over ethernet, RFC 2516) implementation,
based on the existing net/if_spppsubr.c stuff.

While there are completely userland (bpf based) implementations available,
those have a vastly larger per packet overhead thus causing major CPU
overhead and higher latency. On an i386 base router, running a 486DX at 50MHz
my line (768kBit/s downstream) was limited to something (varying) between 10
and 20 kByte/s effective download rate. With this implementation I get full
bandwidth (~85kByte/s).

This is client side only. Arguably the right way to add full PPPoE support
(including server side) would be a variation of the ppp line discipline and
appropriate modifications to pppd. I promise every help I can give to anyone
doing that - but I needed this realy fast. Besids, on low memory NAT boxes
with typically a single PPPoE connection, this implementation is more
lightweight than a pppd based one, which nicely fits my needs.
 1.9  12-Dec-2000  thorpej branches: 1.9.2;
Put the BPF DLT_* constants into their own header file so that things
that reference them don't have to slurp in all of the BPF headers.

Define a new generic RAWAF type that is like DLT_RAW, but isn't specific
to IP (the macro takes an AF_* constant as an argument to generate the
actual type).
 1.8  28-Sep-2000  enami Install if_vlanvar.h.
 1.7  19-Apr-2000  itojun branches: 1.7.4;
add net/if_stf.h and netinet/ip_encap.h (almost noone will include them though)
 1.6  23-Jan-2000  chopps Add beginnings of ieee 802.11 generic stuff
 1.5  01-Jul-1999  itojun branches: 1.5.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.4  04-Apr-1999  explorer Install if_sppp.h in include/net/
 1.3  22-Mar-1999  bad branches: 1.3.2;
Add if_token.h to INCS.
 1.2  02-Oct-1998  hwr branches: 1.2.4;
Also install if_gre.h in /usr/include/net/
 1.1  12-Jun-1998  cgd 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.2.4.1  11-Dec-1998  kenh The beginnings of interface detach support. Still some bugs, but mostly
works for me.

This work was originally by Bill Studenmund, and cleaned up by me.
 1.3.2.1  04-Apr-1999  explorer branches: 1.3.2.1.2; 1.3.2.1.4;
Pull up recent changes to if_sppp*.[ch] (i4b code) with RCS id fixes
 1.3.2.1.4.2  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.3.2.1.4.1  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.3.2.1.2.2  01-Jul-1999  thorpej Sync w/ -current.
 1.3.2.1.2.1  21-Jun-1999  thorpej Sync w/ -current.
 1.5.2.2  13-Dec-2000  bouyer Sync with HEAD (for UBC fixes).
 1.5.2.1  20-Nov-2000  bouyer Update thorpej_scsipi to -current as of a month ago
 1.7.4.1  31-Dec-2000  jhawk Pull up revision 1.8 (requested by bouyer):
Add support for 802.1Q virtual LANs.
 1.9.2.4  11-Dec-2002  thorpej Sync with HEAD.
 1.9.2.3  22-Oct-2001  nathanw Catch up to -current.
 1.9.2.2  24-Aug-2001  nathanw Catch up with -current.
 1.9.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.10.2.2  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.10.2.1  25-Aug-2001  thorpej Merge Aug 24 -current into the kqueue branch.
 1.11.2.1  11-Oct-2001  fvdl Catch up with -current. Fix some bogons in the sparc64 kbd/ms
attach code. cd18xx conversion provided by mrg.
 1.13.6.4  17-Jan-2005  skrll Sync with HEAD.
 1.13.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.13.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.13.6.1  03-Aug-2004  skrll Sync with HEAD
 1.17.10.3  26-Feb-2007  yamt sync with head.
 1.17.10.2  30-Dec-2006  yamt sync with head.
 1.17.10.1  21-Jun-2006  yamt sync with head.
 1.17.8.1  19-Nov-2007  bouyer Pull up following revision(s) (requested by tron in ticket #1864):
distrib/sets/lists/comp/mi: revision 1.990 via patch
sys/net/Makefile: revision 1.22 via patch
Install <net/if_pflog.h>.
 1.18.16.1  13-Jul-2006  gdamore Merge from HEAD.
 1.18.14.1  22-Jun-2006  chap Complete a sync sys/ with head.
 1.18.8.1  26-Jun-2006  yamt sync with head.
 1.18.4.1  09-Sep-2006  rpaulo sync with head
 1.19.6.1  10-Dec-2006  yamt sync with head.
 1.19.4.2  01-Feb-2007  ad Sync with head.
 1.19.4.1  12-Jan-2007  ad Sync with head.
 1.20.4.1  29-Oct-2007  wrstuden Catch up with 4.0 RC3
 1.20.2.1  14-Oct-2007  xtraeme Pull up following revision(s) (requested by tron in ticket #932):
distrib/sets/lists/comp/mi: revision 1.990 (via patch)
sys/net/Makefile: revision 1.22 (via patch)

Install <net/if_pflog.h>.
 1.22.42.1  18-May-2008  yamt sync with head.
 1.22.40.1  02-Jun-2008  mjf Sync with HEAD.
 1.22.36.1  22-Feb-2008  keiichi imported Mobile IPv6 code developed by the SHISA project
(http://www.mobileip.jp/).
 1.23.2.3  09-Oct-2010  yamt sync with head
 1.23.2.2  11-Aug-2010  yamt sync with head.
 1.23.2.1  20-Jun-2009  yamt sync with head
 1.25.14.1  23-Jul-2009  jym Sync with HEAD.
 1.27.4.2  05-Mar-2011  rmind sync with head
 1.27.4.1  03-Jul-2010  rmind sync with head
 1.27.2.2  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.27.2.1  17-Aug-2010  uebayasi Sync with HEAD.
 1.29.8.1  30-Oct-2012  yamt sync with head
 1.30.2.2  03-Dec-2017  jdolecek update from HEAD
 1.30.2.1  20-Nov-2012  tls Resync to 2012-11-19 00:00:00 UTC
 1.32.22.1  21-Apr-2017  bouyer Sync with HEAD
 1.32.18.1  20-Mar-2017  pgoyette Sync with HEAD
 1.32.14.1  28-Aug-2017  skrll Sync with HEAD
 1.33.6.1  11-Feb-2018  snj Pull up following revision(s) (requested by ozaki-r in ticket #536):
distrib/sets/lists/base/shl.mi: 1.825
distrib/sets/lists/comp/mi: 1.2168-1.2169
distrib/sets/lists/comp/shl.mi: 1.310
distrib/sets/lists/debug/mi: 1.234
distrib/sets/lists/debug/shl.mi: 1.188
distrib/sets/lists/man/mi: 1.1570
distrib/sets/lists/tests/mi: 1.772
etc/mtree/NetBSD.dist.tests: 1.150
share/man/man4/Makefile: 1.650
share/man/man4/ipsec.4: 1.42-1.43
share/man/man4/ipsecif.4: 1.1-1.5
sys/arch/amd64/conf/ALL: 1.77
sys/arch/amd64/conf/GENERIC: 1.480
sys/conf/files: 1.1191
sys/net/Makefile: 1.34
sys/net/files.net: 1.14
sys/net/if.c: 1.404
sys/net/if.h: 1.248
sys/net/if_gif.c: 1.135
sys/net/if_ipsec.c: 1.1-1.3
sys/net/if_ipsec.h: 1.1
sys/net/if_l2tp.c: 1.16
sys/net/if_types.h: 1.28
sys/netinet/in.c: 1.214
sys/netinet/in.h: 1.103
sys/netinet/in_gif.c: 1.92
sys/netinet/ip_var.h: 1.122
sys/netinet6/in6.c: 1.257
sys/netinet6/in6.h: 1.88
sys/netinet6/in6_gif.c: 1.90
sys/netinet6/ip6_var.h: 1.75
sys/netipsec/Makefile: 1.6
sys/netipsec/files.netipsec: 1.13
sys/netipsec/ipsec.h: 1.62
sys/netipsec/ipsecif.c: 1.1
sys/netipsec/ipsecif.h: 1.1
sys/netipsec/key.c: 1.246-1.247
sys/netipsec/key.h: 1.34
sys/rump/net/Makefile.rumpnetcomp: 1.20
sys/rump/net/lib/libipsec/IPSEC.ioconf: 1.1
sys/rump/net/lib/libipsec/Makefile: 1.1
sys/rump/net/lib/libipsec/ipsec_component.c: 1.1
tests/net/Makefile: 1.34
tests/net/if_ipsec/Makefile: 1.1
tests/net/if_ipsec/t_ipsec.sh: 1.1-1.2
Don't touch an SP without a reference to it
unify processing to check nesting count for some tunnel protocols.
add ipsec(4) interface, which is used for route-based VPN.
man and ATF are added later, please see man for details.
reviewed by christos@n.o, joerg@n.o and ozaki-r@n.o, thanks.
https://mail-index.netbsd.org/tech-net/2017/12/18/msg006557.html
ipsec(4) interface supports rump now.
add ipsec(4) interface ATF.
add ipsec(4) interface man as ipsecif.4.
add ipsec(4) interface to amd64/GENERIC and amd64/ALL configs.
apply in{,6}_tunnel_validate() to gif(4).
Spell IPsec that way. Simplify macro usage. Sort SEE ALSO. Bump
date for previous.
Improve wording and macro use.
Some parts are not clear to me, so someone with knowledge of ipsecif(4)
should improve this some more.
Improve ipsecif.4. Default port ipsec(4) NAT-T is tested now.
pointed out by wiz@n.o and suggested by ozaki-r@n.o, thanks.
Change the prefix of test names to ipsecif_ to distinguish from tests for ipsec(4)
New sentence, new line. Remove empty macro.
Fix PR kern/52920. Pointed out by David Binderman, thanks.
Improve wording, and put a new drawing, from me and Kengo Nakahara.
apply a little more #ifdef INET/INET6. fixes !INET6 builds.
 1.36.4.2  08-Apr-2020  martin Merge changes from current as of 20200406
 1.36.4.1  10-Jun-2019  christos Sync with HEAD
 1.36.2.2  30-Sep-2018  pgoyette Ssync with HEAD
 1.36.2.1  06-Sep-2018  pgoyette Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)
 1.38.6.2  29-Feb-2020  ad Sync with head.
 1.38.6.1  25-Jan-2020  ad Sync with head.
 1.44.8.1  31-May-2021  cjep sync with head
 1.44.6.1  17-Jun-2021  thorpej Sync w/ HEAD.

RSS XML Feed