The NetBSD Project

CVS log for src/sys/sys/socket.h

[BACK] Up to [cvs.NetBSD.org] / src / sys / sys

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.132 / (download) - annotate - [select for diffs], Mon Jan 22 18:50:46 2024 UTC (8 weeks ago) by christos
Branch: MAIN
CVS Tags: triaxx-drm, HEAD
Changes since 1.131: +4 -4 lines
Diff to previous 1.131 (colored) to selected 1.59.2.2 (colored)

PR/57871: Haelwenn Monnier: Don't use u_char because it is not defined in with
POSIX_C_SOURCE

Revision 1.131 / (download) - annotate - [select for diffs], Tue Nov 2 20:35:51 2021 UTC (2 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.130: +5 -7 lines
Diff to previous 1.130 (colored) to selected 1.59.2.2 (colored)

unconditionally define sockaddr_storage; this is what linux and FreeBSD do
and it has been there since Issue 6:
https://pubs.opengroup.org/onlinepubs/009604599/basedefs/sys/socket.h.html

Revision 1.130 / (download) - annotate - [select for diffs], Tue Oct 12 17:06:26 2021 UTC (2 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.129: +6 -3 lines
Diff to previous 1.129 (colored) to selected 1.59.2.2 (colored)

Revert previous change because it causes uninitialized warnings with KMSAN.
The previous code was correct. Add a comment explaining why. Requested by chuq@

Revision 1.124.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:57 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.124: +29 -57 lines
Diff to previous 1.124 (colored) next main 1.125 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.123.4.5 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:52 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.123.4.4: +24 -1 lines
Diff to previous 1.123.4.4 (colored) to branchpoint 1.123 (colored) next main 1.124 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.129 / (download) - annotate - [select for diffs], Sun Nov 4 16:30:29 2018 UTC (5 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.128: +24 -1 lines
Diff to previous 1.128 (colored) to selected 1.59.2.2 (colored)

- Introduce a new SO_RERROR socket option to explicitly turn on
  receive overflow errors re-instating the default behavior to
  silently ignore them as before 2018-03-19.
- Introduce a new kern.sooptions sysctl to control the default
  behavior of socket options. Setting this to 0x4000 (SO_RERROR),
  turns on receive overflow error reporting for all sockets.
- Change dhcpcd to turn on SO_RERROR on all its sockets.

As discussed in tech-net.

Revision 1.123.4.4 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:58 2018 UTC (5 years, 5 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.123.4.3: +2 -10 lines
Diff to previous 1.123.4.3 (colored) to branchpoint 1.123 (colored) to selected 1.59.2.2 (colored)

Ssync with HEAD

Revision 1.128 / (download) - annotate - [select for diffs], Sun Sep 16 20:40:20 2018 UTC (5 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.127: +2 -10 lines
Diff to previous 1.127 (colored) to selected 1.59.2.2 (colored)

clean up a comment left behind from the previous commit.
this now only has sysctl pcb info.

Revision 1.123.4.3 / (download) - annotate - [select for diffs], Thu Sep 6 06:56:47 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.123.4.2: +2 -47 lines
Diff to previous 1.123.4.2 (colored) to branchpoint 1.123 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.127 / (download) - annotate - [select for diffs], Wed Aug 22 01:05:24 2018 UTC (5 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.126: +1 -47 lines
Diff to previous 1.126 (colored) to selected 1.59.2.2 (colored)

- Cleanup for dynamic sysctl:
  - Remove unused *_NAMES macros for sysctl.
  - Remove unused *_MAXID for sysctls.
- Move CTL_MACHDEP sysctl definitions for m68k into m68k/include/cpu.h and
  use them on all m68k machines.

Revision 1.126 / (download) - annotate - [select for diffs], Tue Jul 31 13:20:34 2018 UTC (5 years, 7 months ago) by rjs
Branch: MAIN
Changes since 1.125: +2 -1 lines
Diff to previous 1.125 (colored) to selected 1.59.2.2 (colored)

Add declaration of getsockopt2().

Revision 1.123.4.2 / (download) - annotate - [select for diffs], Sat Jul 28 04:38:12 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.123.4.1: +4 -2 lines
Diff to previous 1.123.4.1 (colored) to branchpoint 1.123 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.125 / (download) - annotate - [select for diffs], Tue Jul 17 05:52:07 2018 UTC (5 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.124: +4 -2 lines
Diff to previous 1.124 (colored) to selected 1.59.2.2 (colored)

 Add /d(dump) and /v(verbose) modifiers to DDB's "show mbuf" command. Mainly
written by Hiroki SUENAGA. Currently, /v supports Ethernet, PPP, PPPoE, ARP,
IPv4, ICMP, IPv6, ICMPv6, TCP and UDP.

Revision 1.123.4.1 / (download) - annotate - [select for diffs], Sun Apr 22 07:20:29 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.124 / (download) - annotate - [select for diffs], Thu Apr 19 21:19:07 2018 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422
Branch point for: phil-wifi
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) to selected 1.59.2.2 (colored)

s/static inline/static __inline/g for consistency with other include
headers.

Revision 1.107.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:21 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.107.2.2: +66 -32 lines
Diff to previous 1.107.2.2 (colored) to branchpoint 1.107 (colored) next main 1.108 (colored) to selected 1.59.2.2 (colored)

update from HEAD

Revision 1.110.4.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:53:16 2017 UTC (6 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.110.4.4: +7 -3 lines
Diff to previous 1.110.4.4 (colored) to branchpoint 1.110 (colored) next main 1.111 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.122.2.1 / (download) - annotate - [select for diffs], Tue Jul 25 01:55:21 2017 UTC (6 years, 7 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.122: +3 -2 lines
Diff to previous 1.122 (colored) next main 1.123 (colored) to selected 1.59.2.2 (colored)

Pull up following revision(s) (requested by ozaki-r in ticket #140):
	sys/kern/uipc_domain.c: 1.97-1.99
	sys/net/rtsock.c: 1.225-1.227
	sys/sys/socket.h: 1.123
Restore the original length of a sockaddr for netmask
route(8) passes a sockaddr for netmask that is truncated with its
prefixlen. However the kernel basically doesn't expect such format
and may read beyond the data. So restore the original length of the
the data at the beginning of the kernel for the rest components.
Failures of ATF tests such as route_flags_blackhole6 should
be fixed.
--
Avoid DIAGNOSTIC warning with previous fix and simplify it (don't require
memory alloc/free).
--
put the code that returns the sizeof the socket by family in one place.
--
don't warn about AF_LINK sockets with sa_len less than the size of the sockaddr
--
don't print diagnostic for AF_LINK

Revision 1.123 / (download) - annotate - [select for diffs], Sat Jul 1 16:59:12 2017 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Branch point for: pgoyette-compat
Changes since 1.122: +3 -2 lines
Diff to previous 1.122 (colored) to selected 1.59.2.2 (colored)

put the code that returns the sizeof the socket by family in one place.

Revision 1.122 / (download) - annotate - [select for diffs], Sat May 27 21:02:56 2017 UTC (6 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.121: +4 -2 lines
Diff to previous 1.121 (colored) to selected 1.59.2.2 (colored)

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.

Revision 1.120.2.2 / (download) - annotate - [select for diffs], Fri Apr 21 16:54:08 2017 UTC (6 years, 10 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.120.2.1: +2 -1 lines
Diff to previous 1.120.2.1 (colored) to branchpoint 1.120 (colored) next main 1.121 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.119.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:53 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.119.2.1: +2 -1 lines
Diff to previous 1.119.2.1 (colored) to branchpoint 1.119 (colored) next main 1.120 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.121 / (download) - annotate - [select for diffs], Wed Feb 8 17:58:41 2017 UTC (7 years, 1 month ago) by maya
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Changes since 1.120: +2 -1 lines
Diff to previous 1.120 (colored) to selected 1.59.2.2 (colored)

Add accept4, a tiny wrapper around paccept.

accept4 is a syscall in Linux, FreeBSD and OpenBSD. It is used in
LLVM, zeromq, and probably others. paccept is a superset of it.

adding it to libc ensures it is used by programs and prevents the
need to define the same wrapper in every program.

Revision 1.120.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 20:27:34 2017 UTC (7 years, 2 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.120: +4 -2 lines
Diff to previous 1.120 (colored) to selected 1.59.2.2 (colored)

Initial commit of a CAN socket layer, compatible with linux SoccketCAN
(but incomplete). Based on work from Robert Swindells.

Revision 1.119.2.1 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:22 2016 UTC (7 years, 4 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.119: +8 -7 lines
Diff to previous 1.119 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.110.4.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:11 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.110.4.3: +8 -7 lines
Diff to previous 1.110.4.3 (colored) to branchpoint 1.110 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.120 / (download) - annotate - [select for diffs], Wed Sep 21 10:50:23 2016 UTC (7 years, 5 months ago) by roy
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.119: +8 -7 lines
Diff to previous 1.119 (colored) to selected 1.59.2.2 (colored)

Add ifam_pid and ifam_addrflags to ifa_msghdr.
Re-version RTM_NEWADDR, RTM_DELADDR, RTM_CHGADDR and NET_RT_IFLIST.
Add compat code for old version.

Revision 1.110.4.3 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:19 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.110.4.2: +10 -3 lines
Diff to previous 1.110.4.2 (colored) to branchpoint 1.110 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.119 / (download) - annotate - [select for diffs], Wed Apr 6 19:45:46 2016 UTC (7 years, 11 months ago) by roy
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.118: +10 -3 lines
Diff to previous 1.118 (colored) to selected 1.59.2.2 (colored)

Add sc_pid to sockcred so that SOCK_DGRAM and LOCAL_CREDS socket option
can learn the process id of the AF_LOCAL sender.
Add compat glue for old structure.

Revision 1.110.4.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:18 2015 UTC (8 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.110.4.1: +2 -1 lines
Diff to previous 1.110.4.1 (colored) to branchpoint 1.110 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.118 / (download) - annotate - [select for diffs], Tue Oct 13 21:28:34 2015 UTC (8 years, 5 months ago) by rjs
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.117: +2 -1 lines
Diff to previous 1.117 (colored) to selected 1.59.2.2 (colored)

Add core networking support for SCTP.

Revision 1.110.4.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:18:32 2015 UTC (8 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.110: +44 -23 lines
Diff to previous 1.110 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.117 / (download) - annotate - [select for diffs], Fri Apr 3 20:01:08 2015 UTC (8 years, 11 months ago) by rtr
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.116: +19 -1 lines
Diff to previous 1.116 (colored) to selected 1.59.2.2 (colored)

* change pr_bind to accept struct sockaddr * instead of struct mbuf *
* update protocol bind implementations to use/expect sockaddr *
  instead of mbuf *
* introduce sockaddr_big struct for storage of addr data passed via
  sys_bind; sockaddr_big is of sufficient size and alignment to
  accommodate all addr data sizes received.
* modify sys_bind to allocate sockaddr_big instead of using an mbuf.
* bump kernel version to 7.99.9 for change to pr_bind() parameter type.

Patch posted to tech-net@
  http://mail-index.netbsd.org/tech-net/2015/03/15/msg005004.html

The choice to use a new structure sockaddr_big has been retained since
changing sockaddr_storage size would lead to unnecessary ABI change. The
use of the new structure does not preclude future work that increases
the size of sockaddr_storage and at that time sockaddr_big may be
trivially replaced.

Tested by mrg@ and myself, discussed with rmind@, posted to tech-net@

Revision 1.116 / (download) - annotate - [select for diffs], Tue Feb 10 19:11:52 2015 UTC (9 years, 1 month ago) by rjs
Branch: MAIN
Changes since 1.115: +3 -1 lines
Diff to previous 1.115 (colored) to selected 1.59.2.2 (colored)

Add DCCP protocol support from KAME.

Revision 1.115 / (download) - annotate - [select for diffs], Sat Jan 24 18:07:54 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.114: +22 -22 lines
Diff to previous 1.114 (colored) to selected 1.59.2.2 (colored)

cleanup the CMSG* macro mess.

Revision 1.114 / (download) - annotate - [select for diffs], Sat Jan 24 17:15:22 2015 UTC (9 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.113: +5 -5 lines
Diff to previous 1.113 (colored) to selected 1.59.2.2 (colored)

back to return u_char * according to:
    http://pubs.opengroup.org/onlinepubs/009695399/basedefs/sys/socket.h.html

Revision 1.113 / (download) - annotate - [select for diffs], Tue Jan 20 01:10:16 2015 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.112: +9 -8 lines
Diff to previous 1.112 (colored) to selected 1.59.2.2 (colored)

add void casts to CMSG_

Revision 1.112 / (download) - annotate - [select for diffs], Tue Jan 20 01:02:25 2015 UTC (9 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.111: +2 -2 lines
Diff to previous 1.111 (colored) to selected 1.59.2.2 (colored)

add lint comment

Revision 1.111 / (download) - annotate - [select for diffs], Tue Dec 2 19:38:16 2014 UTC (9 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored) to selected 1.59.2.2 (colored)

sockaddr_format now returns the number of chars written.

Revision 1.107.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.107.2.1: +5 -2 lines
Diff to previous 1.107.2.1 (colored) to branchpoint 1.107 (colored) to selected 1.59.2.2 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.108.10.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:54 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.108: +5 -2 lines
Diff to previous 1.108 (colored) next main 1.109 (colored) to selected 1.59.2.2 (colored)

Rebase.

Revision 1.110 / (download) - annotate - [select for diffs], Wed May 28 14:55:16 2014 UTC (9 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.109: +3 -2 lines
Diff to previous 1.109 (colored) to selected 1.59.2.2 (colored)

CID 976378: Avoid incorrect computation with ngrps == 0

Revision 1.100.2.3 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (9 years, 9 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.100.2.2: +4 -1 lines
Diff to previous 1.100.2.2 (colored) to branchpoint 1.100 (colored) next main 1.101 (colored) to selected 1.59.2.2 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.108: +3 -1 lines
Diff to previous 1.108 (colored) next main 1.109 (colored) to selected 1.59.2.2 (colored)

sync with head

Revision 1.109 / (download) - annotate - [select for diffs], Thu Apr 17 16:14:22 2014 UTC (9 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.108: +3 -1 lines
Diff to previous 1.108 (colored) to selected 1.59.2.2 (colored)

CID/1203196: Don't confuse coverity with out of bounds access

Revision 1.107.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:30:12 2013 UTC (11 years ago) by tls
Branch: tls-maxphys
Changes since 1.107: +2 -1 lines
Diff to previous 1.107 (colored) to selected 1.59.2.2 (colored)

resync with head

Revision 1.108 / (download) - annotate - [select for diffs], Thu Jan 31 14:30:47 2013 UTC (11 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: tls-earlyentropy, rmind-smpnet
Changes since 1.107: +2 -1 lines
Diff to previous 1.107 (colored) to selected 1.59.2.2 (colored)

Add sockaddr_format to ease debugging code dealing with socket
addresses.

Revision 1.100.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:57 2012 UTC (11 years, 4 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.100.2.1: +14 -1 lines
Diff to previous 1.100.2.1 (colored) to branchpoint 1.100 (colored) to selected 1.59.2.2 (colored)

sync with head

Revision 1.107 / (download) - annotate - [select for diffs], Fri Jun 22 18:26:35 2012 UTC (11 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.106: +14 -1 lines
Diff to previous 1.106 (colored) to selected 1.59.2.2 (colored)

Add {send,recv}mmsg from Linux

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:53 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.100: +6 -7 lines
Diff to previous 1.100 (colored) to selected 1.59.2.2 (colored)

sync with head

Revision 1.100.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:35:51 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.100: +6 -7 lines
Diff to previous 1.100 (colored) next main 1.101 (colored) to selected 1.59.2.2 (colored)

merge to -current.

Revision 1.106 / (download) - annotate - [select for diffs], Sun Jan 29 18:33:07 2012 UTC (12 years, 1 month ago) by roy
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored) to selected 1.59.2.2 (colored)

Allow using CMSG_NXTHDR with -Wcast-align.

If various checks are omitted, the CMSG_NXTHDR macro expands to
(struct cmsghdr *)((char *)(cmsg) + \
_ALIGN(((struct cmsghdr *)(cmsg))->cmsg_len))

Although there is no alignment problem (assuming cmsg is properly aligned
and _ALIGN is correct), this violates -Wcast-align on strict-alignment
architectures. Therefore an intermediate cast to void * is appropriate here.

There is no workaround other than not using -Wcast-align.

Taken from FreeBSD commit r220742 by jilles

Revision 1.105 / (download) - annotate - [select for diffs], Wed Jan 25 00:28:35 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.104: +3 -1 lines
Diff to previous 1.104 (colored) to selected 1.59.2.2 (colored)

As discussed in tech-kern, provide the means to prevent delivery of SIGPIPE
on EPIPE for all file descriptor types:

- provide O_NOSIGPIPE for open,kqueue1,pipe2,dup3,fcntl(F_{G,S}ETFL) [NetBSD]
- provide SOCK_NOSIGPIPE for socket,socketpair [NetBSD]
- provide SO_NOSIGPIPE for {g,s}seckopt [NetBSD/FreeBSD/MacOSX]
- provide F_{G,S}ETNOSIGPIPE for fcntl [MacOSX]

Revision 1.104 / (download) - annotate - [select for diffs], Fri Jan 20 14:08:07 2012 UTC (12 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.103: +1 -9 lines
Diff to previous 1.103 (colored) to selected 1.59.2.2 (colored)

Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressions
again. This was changed in sys/socket.h r1.51 to work around fallout
from the IPv6 aux data migration. It broke the historic ABI on some
platforms. This commit restores compatibility for netbsd32 code on such
platforms and provides a template for future changes to the CMSG_*
alignment. Revert PCC/Clang workarounds in postfix and tmux.

Revision 1.103 / (download) - annotate - [select for diffs], Fri Jan 20 01:17:01 2012 UTC (12 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.102: +1 -2 lines
Diff to previous 1.102 (colored) to selected 1.59.2.2 (colored)

CMSG_ALIGN is only for the kernel.

Revision 1.102 / (download) - annotate - [select for diffs], Fri Jan 20 00:25:29 2012 UTC (12 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.101: +8 -3 lines
Diff to previous 1.101 (colored) to selected 1.59.2.2 (colored)

Don't use __cmsg_alignbytes in the kernel. Mark it as constant function
for userland as its value never changes. This allows the compiler to
optimise most invocations away.

Revision 1.101 / (download) - annotate - [select for diffs], Tue Dec 20 23:56:29 2011 UTC (12 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.100: +2 -1 lines
Diff to previous 1.100 (colored) to selected 1.59.2.2 (colored)

- Eliminate so_nbio and turn it into a bit SS_NBIO in so_state.
- Introduce MSG_NBIO so that we can turn non blocking i/o on a per call basis
- Use MSG_NBIO to fix the XXX: multi-threaded issues on the fifo sockets.
- Don't set SO_CANTRCVMORE, if we were interrupted (perhaps do it for all
  errors?).

Revision 1.100 / (download) - annotate - [select for diffs], Sun Jun 26 16:43:12 2011 UTC (12 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.99: +11 -1 lines
Diff to previous 1.99 (colored) to selected 1.59.2.2 (colored)

* Arrange for interfaces that create new file descriptors to be able to
  set close-on-exec on creation (http://udrepper.livejournal.com/20407.html).

    - Add F_DUPFD_CLOEXEC to fcntl(2).
    - Add MSG_CMSG_CLOEXEC to recvmsg(2) for unix file descriptor passing.
    - Add dup3(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
    - Add pipe2(2) syscall with a flags argument for O_CLOEXEC, O_NONBLOCK.
    - Add flags SOCK_CLOEXEC, SOCK_NONBLOCK to the socket type parameter
      for socket(2) and socketpair(2).
    - Add new paccept(2) syscall that takes an additional sigset_t to alter
      the sigmask temporarily and a flags argument to set SOCK_CLOEXEC,
      SOCK_NONBLOCK.
    - Add new mode character 'e' to fopen(3) and popen(3) to open pipes
      and file descriptors for close on exec.
    - Add new kqueue1(2) syscall with a new flags argument to open the
      kqueue file descriptor with O_CLOEXEC, O_NONBLOCK.

* Fix the system calls that take socklen_t arguments to actually do so.

* Don't include userland header files (signal.h) from system header files
  (rump_syscallargs.h).

* Bump libc version for the new syscalls.

Revision 1.98.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:13 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.98: +10 -5 lines
Diff to previous 1.98 (colored) next main 1.99 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.97.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:25 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.97.4.1: +10 -5 lines
Diff to previous 1.97.4.1 (colored) to branchpoint 1.97 (colored) next main 1.98 (colored) to selected 1.59.2.2 (colored)

sync with head

Revision 1.98.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:20:05 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.98: +10 -5 lines
Diff to previous 1.98 (colored) next main 1.99 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.99 / (download) - annotate - [select for diffs], Tue Feb 1 01:39:21 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.98: +10 -5 lines
Diff to previous 1.98 (colored) to selected 1.59.2.2 (colored)

Add a new AF/PF_ROUTE which is 64-bit clean which makes the routing socket
interface (and its associated sysctls) act identically for both 32 and 64 bit
programs.  The old unclean one remains for backward compatibility.

Revision 1.97.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:09 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.97: +4 -3 lines
Diff to previous 1.97 (colored) next main 1.98 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.89.26.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:11 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.89.26.3: +4 -3 lines
Diff to previous 1.89.26.3 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.97.4.1 / (download) - annotate - [select for diffs], Sat Jul 3 01:20:04 2010 UTC (13 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.97: +4 -3 lines
Diff to previous 1.97 (colored) to selected 1.59.2.2 (colored)

sync with head

Revision 1.98 / (download) - annotate - [select for diffs], Sat Jun 26 14:24:27 2010 UTC (13 years, 8 months ago) by kefren
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.97: +4 -3 lines
Diff to previous 1.97 (colored) to selected 1.59.2.2 (colored)

Add MPLS support, proposed on tech-net@ a couple of days ago

Welcome to 5.99.33

Revision 1.89.26.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:43 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.89.26.2: +2 -2 lines
Diff to previous 1.89.26.2 (colored) to branchpoint 1.89 (colored) to selected 1.59.2.2 (colored)

sync with head

Revision 1.97 / (download) - annotate - [select for diffs], Sat Dec 5 20:11:18 2009 UTC (14 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored) to selected 1.59.2.2 (colored)

Remove the portalfs kernel file system driver.  Replace mount_portal(8)
with a version based on puffs.  User functionality remains the same.

Revision 1.89.26.2 / (download) - annotate - [select for diffs], Wed Sep 16 13:38:06 2009 UTC (14 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.89.26.1: +3 -1 lines
Diff to previous 1.89.26.1 (colored) to branchpoint 1.89 (colored) to selected 1.59.2.2 (colored)

sync with head

Revision 1.96 / (download) - annotate - [select for diffs], Fri Sep 11 22:06:29 2009 UTC (14 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, jym-xensuspend-nbase
Changes since 1.95: +3 -1 lines
Diff to previous 1.95 (colored) to selected 1.59.2.2 (colored)

Make ifconfig(8) set and display preference numbers for IPv6
addresses.  Make the kernel support SIOC[SG]IFADDRPREF for IPv6
interface addresses.

In in6ifa_ifpforlinklocal(), consult preference numbers before
making an otherwise arbitrary choice of in6_ifaddr.  Otherwise,
preference numbers are *not* consulted by the kernel, but that will
be rather easy for somebody with a little bit of free time to fix.

Please note that setting the preference number for a link-local
IPv6 address does not work right, yet, but that ought to be fixed
soon.

In support of the changes above,

1 Add a method to struct domain for "externalizing" a sockaddr, and
  provide an implementation for IPv6.  Expect more work in this area: it
  may be more proper to say that the IPv6 implementation "internalizes"
  a sockaddr.  Add sockaddr_externalize().

2 Add a subroutine, sofamily(), that returns a struct socket's address
  family or AF_UNSPEC.

3 Make a lot of IPv4-specific code generic, and move it from
  sys/netinet/ to sys/net/ for re-use by IPv6 parts of the kernel and
  ifconfig(8).

Revision 1.94.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:23:03 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored) next main 1.95 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.89.26.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:36 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.89: +23 -9 lines
Diff to previous 1.89 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.95 / (download) - annotate - [select for diffs], Tue Apr 28 20:54:50 2009 UTC (14 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, jymxensuspend-base, jym-xensuspend-base
Changes since 1.94: +2 -1 lines
Diff to previous 1.94 (colored) to selected 1.59.2.2 (colored)

Extract sockaddr_any_by_family() from sockaddr_any() for looking up a
wildcard ("any") address by protocol family instead of by sockaddr.

Revision 1.91.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:30 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.91: +14 -8 lines
Diff to previous 1.91 (colored) next main 1.92 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.94 / (download) - annotate - [select for diffs], Mon Jan 19 02:27:57 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base
Branch point for: jym-xensuspend
Changes since 1.93: +5 -3 lines
Diff to previous 1.93 (colored) to selected 1.59.2.2 (colored)

Provide compatibility to the old timeval SCM_TIMESTAMP messages.

Revision 1.89.20.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:41 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.89.20.2: +9 -5 lines
Diff to previous 1.89.20.2 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.93 / (download) - annotate - [select for diffs], Wed Jan 14 18:07:29 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.92: +5 -3 lines
Diff to previous 1.92 (colored) to selected 1.59.2.2 (colored)

version the timeout get/set sockopt calls, because they take struct timeval.

Revision 1.92 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:55 2009 UTC (15 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.91: +6 -4 lines
Diff to previous 1.91 (colored) to selected 1.59.2.2 (colored)

merge christos-time_t

Revision 1.89.22.2 / (download) - annotate - [select for diffs], Sat Nov 1 21:22:28 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.89.22.1: +9 -2 lines
Diff to previous 1.89.22.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored) to selected 1.59.2.2 (colored)

Sync with head.

Revision 1.90.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:18:09 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.90: +7 -1 lines
Diff to previous 1.90 (colored) next main 1.91 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.89.20.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:41:05 2008 UTC (15 years, 5 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.89.20.1: +6 -0 lines
Diff to previous 1.89.20.1 (colored) to branchpoint 1.89 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.89.28.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:37:05 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.89.28.1: +7 -1 lines
Diff to previous 1.89.28.1 (colored) to branchpoint 1.89 (colored) next main 1.90 (colored) to selected 1.59.2.2 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.91 / (download) - annotate - [select for diffs], Mon Aug 4 03:55:47 2008 UTC (15 years, 7 months ago) by tls
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.90: +7 -1 lines
Diff to previous 1.90 (colored) to selected 1.59.2.2 (colored)

Add accept filters, ported from FreeBSD by Coyote Point Systems.  Add inetd
support for specifying an accept filter for a service (mostly as a usage
example, but it can be handy for other things).  Manual pages to follow
in a day or so.

OK core@.

Revision 1.89.20.1 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:20 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.89: +3 -2 lines
Diff to previous 1.89 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.89.28.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:32:03 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.89: +3 -2 lines
Diff to previous 1.89 (colored) to selected 1.59.2.2 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.89.30.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:33:51 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.89: +3 -2 lines
Diff to previous 1.89 (colored) next main 1.90 (colored) to selected 1.59.2.2 (colored)

Sync with head.

Revision 1.89.24.1 / (download) - annotate - [select for diffs], Tue Jun 17 09:15:17 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.89: +3 -2 lines
Diff to previous 1.89 (colored) next main 1.90 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.90 / (download) - annotate - [select for diffs], Sun Jun 15 21:14:06 2008 UTC (15 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pf42-base4, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.89: +3 -2 lines
Diff to previous 1.89 (colored) to selected 1.59.2.2 (colored)

define AF_80211

Revision 1.89.22.1 / (download) - annotate - [select for diffs], Sat Mar 29 20:47:03 2008 UTC (15 years, 11 months ago) by christos
Branch: christos-time_t
Changes since 1.89: +6 -4 lines
Diff to previous 1.89 (colored) to selected 1.59.2.2 (colored)

Welcome to the time_t=long long dev_t=uint64_t branch.

Revision 1.89.16.1 / (download) - annotate - [select for diffs], Fri Feb 22 02:53:34 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.89: +6 -2 lines
Diff to previous 1.89 (colored) next main 1.90 (colored) to selected 1.59.2.2 (colored)

imported Mobile IPv6 code developed by the SHISA project
(http://www.mobileip.jp/).

Revision 1.87.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:34:56 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.87: +20 -3 lines
Diff to previous 1.87 (colored) next main 1.88 (colored) to selected 1.59.2.2 (colored)

sync with HEAD

Revision 1.75.4.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:36:33 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.75.4.4: +17 -1 lines
Diff to previous 1.75.4.4 (colored) to branchpoint 1.75 (colored) next main 1.76 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.84.2.4 / (download) - annotate - [select for diffs], Tue Oct 9 13:45:11 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.84.2.3: +20 -3 lines
Diff to previous 1.84.2.3 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored) to selected 1.59.2.2 (colored)

Sync with head.

Revision 1.87.6.2 / (download) - annotate - [select for diffs], Tue Oct 2 18:29:29 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.87.6.1: +17 -1 lines
Diff to previous 1.87.6.1 (colored) to branchpoint 1.87 (colored) next main 1.88 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Sep 19 04:33:45 2007 UTC (16 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa, simonb-wapbl, mjf-devfs2, keiichi-mipv6, christos-time_t
Changes since 1.88: +17 -1 lines
Diff to previous 1.88 (colored) to selected 1.59.2.2 (colored)

1) Introduce a new socket option, (SOL_SOCKET, SO_NOHEADER), that
   tells a socket that it should both add a protocol header to tx'd
   datagrams and remove the header from rx'd datagrams:

        int onoff = 1, s = socket(...);
        setsockopt(s, SOL_SOCKET, SO_NOHEADER, &onoff);

2) Add an implementation of (SOL_SOCKET, SO_NOHEADER) for raw IPv4
   sockets.

3) Reorganize the protocols' pr_ctloutput implementations a bit.
   Consistently return ENOPROTOOPT when an option is unsupported,
   and EINVAL if a supported option's arguments are incorrect.
   Reorganize the flow of code so that it's more clear how/when
   options are passed down the stack until they are handled.

   Shorten some pr_ctloutput staircases for readability.

4) Extract common mbuf code into subroutines, add new sockaddr
   methods, and introduce a new subroutine, fsocreate(), for reuse
   later; use it first in sys_socket():

struct mbuf *m_getsombuf(struct socket *so)

        Create an mbuf and make its owner the socket `so'.

struct mbuf *m_intopt(struct socket *so, int val)

        Create an mbuf, make its owner the socket `so', put the
        int `val' into it, and set its length to sizeof(int).


int fsocreate(..., int *fd)

        Create a socket, a la socreate(9), put the socket into the
        given LWP's descriptor table, return the descriptor at `fd'
        on success.

void *sockaddr_addr(struct sockaddr *sa, socklen_t *slenp)
const void *sockaddr_const_addr(const struct sockaddr *sa, socklen_t *slenp)

        Extract a pointer to the address part of a sockaddr.  Write
        the length of the address  part at `slenp', if `slenp' is
        not NULL.

socklen_t sockaddr_getlen(const struct sockaddr *sa)

        Return the length of a sockaddr.  This just evaluates to
        sa->sa_len.  I only add this for consistency with code that
        appears in a portable userland library that I am going to
        import.

const struct sockaddr *sockaddr_any(const struct sockaddr *sa)

        Return the "don't care" sockaddr in the same family as
        `sa'.  This is the address a client should sobind(9) if it
        does not care the source address and, if applicable, the
        port et cetera that it uses.

const void *sockaddr_anyaddr(const struct sockaddr *sa, socklen_t *slenp)

        Return the "don't care" sockaddr in the same family as
        `sa'.  This is the address a client should sobind(9) if it
        does not care the source address and, if applicable, the
        port et cetera that it uses.

Revision 1.87.6.1 / (download) - annotate - [select for diffs], Mon Sep 3 16:49:14 2007 UTC (16 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.87: +4 -3 lines
Diff to previous 1.87 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.75.4.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:46:36 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.75.4.3: +24 -6 lines
Diff to previous 1.75.4.3 (colored) to branchpoint 1.75 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 10:24:01 2007 UTC (16 years, 6 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.87: +4 -3 lines
Diff to previous 1.87 (colored) next main 1.88 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Aug 30 02:17:39 2007 UTC (16 years, 6 months ago) by dyoung
Branch: MAIN
CVS Tags: nick-csl-alignment-base5
Changes since 1.87: +4 -3 lines
Diff to previous 1.87 (colored) to selected 1.59.2.2 (colored)

Use malloc(9) for sockaddrs instead of pool(9), and remove dom_sa_pool
and dom_sa_len members from struct domain.  Pools of fixed-size
objects are too rigid for sockaddr_dls, whose size can vary over
a wide range.

Return sockaddr_dl to its "historical" size.  Now that I'm using
malloc(9) instead of pool(9) to allocate sockaddr_dl, I can create
a sockaddr_dl of any size in the kernel, so expanding sockaddr_dl
is useless.

Avoid using sizeof(struct sockaddr_dl) in the kernel.

Introduce sockaddr_dl_alloc() for allocating & initializing an
arbitrary sockaddr_dl on the heap.

Add an argument, the sockaddr length, to sockaddr_alloc(),
sockaddr_copy(), and sockaddr_dl_setaddr().

Constify: LLADDR() -> CLLADDR().

Where the kernel overwrites LLADDR(), use sockaddr_dl_setaddr(),
instead.  Used properly, sockaddr_dl_setaddr() will not overrun
the end of the sockaddr.

Revision 1.84.2.3 / (download) - annotate - [select for diffs], Sun Jul 15 13:28:12 2007 UTC (16 years, 8 months ago) by ad
Branch: vmlocking
Changes since 1.84.2.2: +2 -1 lines
Diff to previous 1.84.2.2 (colored) to branchpoint 1.84 (colored) to selected 1.59.2.2 (colored)

Sync with head.

Revision 1.84.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:12:36 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.84: +18 -1 lines
Diff to previous 1.84 (colored) next main 1.85 (colored) to selected 1.59.2.2 (colored)

Sync with head.

Revision 1.87 / (download) - annotate - [select for diffs], Sun Jun 24 18:00:16 2007 UTC (16 years, 8 months ago) by dsl
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.86: +2 -1 lines
Diff to previous 1.86 (colored) to selected 1.59.2.2 (colored)

Split sys_getpeername() and sys_getsockname() so they can be called when the
  'name' is wanted in kernel code.
Similarly split sys_accept() and change the split in recvmsg() so that it
  is useful to the compat functions, recvit() is removed and replaced by
  do_sys_recvmsg().
Factor out the code that writes socked names to userspace (from mbuf) to
  avoid replicated code.
Extract the code that writes socket 'control' (CMSG) data out to userspace,
  being more careful about the 'fd' that may exist inside SCM_RIGHTS msgs.
  (they still get lost if some of the latter copyout calls fail).
Since these are new functions, and old LKMs will fail to load.

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Sat Jun 9 23:58:17 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.84.2.1: +7 -1 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored) to selected 1.59.2.2 (colored)

Sync with head.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Fri Jun 8 14:18:13 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.84: +11 -1 lines
Diff to previous 1.84 (colored) to selected 1.59.2.2 (colored)

Sync with head.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Jun 1 22:53:52 2007 UTC (16 years, 9 months ago) by dsl
Branch: MAIN
Changes since 1.85: +7 -1 lines
Diff to previous 1.85 (colored) to selected 1.59.2.2 (colored)

Split sys_bind() and sys_connect() so that compat code can use common code
  once the 'address' has been copied into an mbuf.
Add extra flags for 'struct msghdr.msg_flags' to indicate that the address
  and control are already in mbufs, and that the uio structure is in userspace
  for sending data, rename sendit() to do_sys_sendmsg() to ensure no old code
  passes in random flags.
Changes to compat code to use new functions - removing some stackgap use.
Fix a 'use after free' in compat_43_sys_recvmsg.
I ***THINK*** the code that converts 'cmsg' formatted data is borked!
svr4_stream.c ought to be generated from svr4_32_stream.c during the build.

Revision 1.82.10.3 / (download) - annotate - [select for diffs], Mon May 7 10:56:14 2007 UTC (16 years, 10 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.82.10.2: +11 -1 lines
Diff to previous 1.82.10.2 (colored) to branchpoint 1.82 (colored) next main 1.83 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.85 / (download) - annotate - [select for diffs], Wed May 2 20:40:29 2007 UTC (16 years, 10 months ago) by dyoung
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.84: +11 -1 lines
Diff to previous 1.84 (colored) to selected 1.59.2.2 (colored)

Eliminate address family-specific route caches (struct route, struct
route_in6, struct route_iso), replacing all caches with a struct
route.

The principle benefit of this change is that all of the protocol
families can benefit from route cache-invalidation, which is
necessary for correct routing.  Route-cache invalidation fixes an
ancient PR, kern/3508, at long last; it fixes various other PRs,
also.

Discussions with and ideas from Joerg Sonnenberger influenced this
work tremendously.  Of course, all design oversights and bugs are
mine.

DETAILS

1 I added to each address family a pool of sockaddrs.  I have
  introduced routines for allocating, copying, and duplicating,
  and freeing sockaddrs:

        struct sockaddr *sockaddr_alloc(sa_family_t af, int flags);
        struct sockaddr *sockaddr_copy(struct sockaddr *dst,
                                       const struct sockaddr *src);
        struct sockaddr *sockaddr_dup(const struct sockaddr *src, int flags);
        void sockaddr_free(struct sockaddr *sa);

  sockaddr_alloc() returns either a sockaddr from the pool belonging
  to the specified family, or NULL if the pool is exhausted.  The
  returned sockaddr has the right size for that family; sa_family
  and sa_len fields are initialized to the family and sockaddr
  length---e.g., sa_family = AF_INET and sa_len = sizeof(struct
  sockaddr_in).  sockaddr_free() puts the given sockaddr back into
  its family's pool.

  sockaddr_dup() and sockaddr_copy() work analogously to strdup()
  and strcpy(), respectively.  sockaddr_copy() KASSERTs that the
  family of the destination and source sockaddrs are alike.

  The 'flags' argumet for sockaddr_alloc() and sockaddr_dup() is
  passed directly to pool_get(9).

2 I added routines for initializing sockaddrs in each address
  family, sockaddr_in_init(), sockaddr_in6_init(), sockaddr_iso_init(),
  etc.  They are fairly self-explanatory.

3 structs route_in6 and route_iso are no more.  All protocol families
  use struct route.  I have changed the route cache, 'struct route',
  so that it does not contain storage space for a sockaddr.  Instead,
  struct route points to a sockaddr coming from the pool the sockaddr
  belongs to.  I added a new method to struct route, rtcache_setdst(),
  for setting the cache destination:

        int rtcache_setdst(struct route *, const struct sockaddr *);

  rtcache_setdst() returns 0 on success, or ENOMEM if no memory is
  available to create the sockaddr storage.

  It is now possible for rtcache_getdst() to return NULL if, say,
  rtcache_setdst() failed.  I check the return value for NULL
  everywhere in the kernel.

4 Each routing domain (struct domain) has a list of live route
  caches, dom_rtcache.  rtflushall(sa_family_t af) looks up the
  domain indicated by 'af', walks the domain's list of route caches
  and invalidates each one.

Revision 1.82.10.2 / (download) - annotate - [select for diffs], Mon Mar 12 06:00:54 2007 UTC (17 years ago) by rmind
Branch: yamt-idlelwp
Changes since 1.82.10.1: +6 -6 lines
Diff to previous 1.82.10.1 (colored) to branchpoint 1.82 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Mar 4 06:03:41 2007 UTC (17 years ago) by christos
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.83: +6 -6 lines
Diff to previous 1.83 (colored) to selected 1.59.2.2 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.82.10.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:55:17 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored) to selected 1.59.2.2 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.75.4.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:15 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.75.4.2: +2 -2 lines
Diff to previous 1.75.4.2 (colored) to branchpoint 1.75 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.83 / (download) - annotate - [select for diffs], Tue Feb 20 19:07:11 2007 UTC (17 years, 1 month ago) by plunky
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored) to selected 1.59.2.2 (colored)

add comment for PF_BLUETOOTH

Revision 1.75.4.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:55 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.75.4.1: +6 -2 lines
Diff to previous 1.75.4.1 (colored) to branchpoint 1.75 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:42 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.78: +21 -13 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.59.2.2 (colored)

sync with head

Revision 1.78.6.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:26 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.78.6.2: +6 -2 lines
Diff to previous 1.78.6.2 (colored) to branchpoint 1.78 (colored) next main 1.79 (colored) to selected 1.59.2.2 (colored)

sync with head

Revision 1.79.4.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:50:06 2006 UTC (17 years, 8 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.79: +9 -3 lines
Diff to previous 1.79 (colored) next main 1.80 (colored) to selected 1.59.2.2 (colored)

Merge from HEAD.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Jun 27 03:49:08 2006 UTC (17 years, 8 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, rpaulo-netinet-merge-pcb-base, post-newlock2-merge, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored) to selected 1.59.2.2 (colored)

that should be _STANDALONE, not STANDALONE.

Revision 1.81 / (download) - annotate - [select for diffs], Mon Jun 26 21:23:59 2006 UTC (17 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.80: +6 -2 lines
Diff to previous 1.80 (colored) to selected 1.59.2.2 (colored)

version the socket(2) syscall.  for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.

Revision 1.78.6.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:54:29 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.78.6.1: +4 -2 lines
Diff to previous 1.78.6.1 (colored) to branchpoint 1.78 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 03:39:50 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.79: +4 -2 lines
Diff to previous 1.79 (colored) next main 1.80 (colored) to selected 1.59.2.2 (colored)

Complete a sync sys/ with head.

Revision 1.75.4.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:03 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.75: +21 -36 lines
Diff to previous 1.75 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.80 / (download) - annotate - [select for diffs], Mon Jun 19 15:44:56 2006 UTC (17 years, 9 months ago) by gdamore
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, chap-midi-nbase, chap-midi-base
Changes since 1.79: +4 -2 lines
Diff to previous 1.79 (colored) to selected 1.59.2.2 (colored)

Initial import of bluetooth stack on behalf of Iain Hibbert.  (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.

Revision 1.78.4.1 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:27 2006 UTC (17 years, 9 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.78: +13 -11 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.59.2.2 (colored)

Sync with head.

Revision 1.78.10.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:47 2006 UTC (17 years, 9 months ago) by tron
Branch: peter-altq
Changes since 1.78: +13 -11 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.59.2.2 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.78.6.1 / (download) - annotate - [select for diffs], Wed May 24 10:59:21 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.78: +13 -11 lines
Diff to previous 1.78 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.78.8.1 / (download) - annotate - [select for diffs], Thu May 11 23:31:36 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.78: +13 -11 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.59.2.2 (colored)

sync with head

Revision 1.79 / (download) - annotate - [select for diffs], Thu May 11 15:49:44 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, elad-kernelauth-base
Branch point for: gdamore-uart, chap-midi
Changes since 1.78: +13 -11 lines
Diff to previous 1.78 (colored) to selected 1.59.2.2 (colored)

Add MSG_NOSIGNAL (from FreeBSD)

Revision 1.77.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:52:48 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored) next main 1.78 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.68.4.1 / (download) - annotate - [select for diffs], Mon Jan 30 14:48:18 2006 UTC (18 years, 1 month ago) by tron
Branch: netbsd-2
Changes since 1.68: +3 -3 lines
Diff to previous 1.68 (colored) next main 1.69 (colored) to selected 1.59.2.2 (colored)

Pull up following revision(s) (requested by kleink in ticket #10233):
	sys/sys/socket.h: revision 1.78
Since NULL isn't necessarily available, change CMSG_*() to use the
integer constant expression directly instead.
Fixes a problem in the build of rxvt-unicode-7.2, as reported by
Thomas Klausner.

Revision 1.75.2.1 / (download) - annotate - [select for diffs], Mon Jan 30 13:13:55 2006 UTC (18 years, 1 month ago) by tron
Branch: netbsd-3
CVS Tags: netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1
Changes since 1.75: +3 -3 lines
Diff to previous 1.75 (colored) next main 1.76 (colored) to selected 1.59.2.2 (colored)

Pull up following revision(s) (requested by kleink in ticket #1143):
	sys/sys/socket.h: revision 1.78
Since NULL isn't necessarily available, change CMSG_*() to use the
integer constant expression directly instead.
Fixes a problem in the build of rxvt-unicode-7.2, as reported by
Thomas Klausner.

Revision 1.78 / (download) - annotate - [select for diffs], Sat Jan 28 13:20:18 2006 UTC (18 years, 1 month ago) by kleink
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.77: +3 -3 lines
Diff to previous 1.77 (colored) to selected 1.59.2.2 (colored)

Since NULL isn't necessarily available, change CMSG_*() to use the
integer constant expression directly instead.

Fixes a problem in the build of rxvt-unicode-7.2, as reported by
Thomas Klausner.

Revision 1.67.2.9 / (download) - annotate - [select for diffs], Sun Dec 11 10:29:36 2005 UTC (18 years, 3 months ago) by christos
Branch: ktrace-lwp
Changes since 1.67.2.8: +4 -1 lines
Diff to previous 1.67.2.8 (colored) next main 1.68 (colored) to selected 1.59.2.2 (colored)

Sync with head.

Revision 1.76.6.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:33 2005 UTC (18 years, 3 months ago) by yamt
Branch: yamt-readahead
Changes since 1.76: +4 -1 lines
Diff to previous 1.76 (colored) next main 1.77 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.77 / (download) - annotate - [select for diffs], Tue Nov 29 03:12:16 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-readahead-base3, ktrace-lwp-base
Branch point for: yamt-uio_vmspace
Changes since 1.76: +4 -1 lines
Diff to previous 1.76 (colored) to selected 1.59.2.2 (colored)

sprinkle const

Revision 1.67.2.8 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:13 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.67.2.7: +1 -23 lines
Diff to previous 1.67.2.7 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD. Here we go again...

Revision 1.76 / (download) - annotate - [select for diffs], Sat Sep 24 15:52:03 2005 UTC (18 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-readahead
Changes since 1.75: +1 -23 lines
Diff to previous 1.75 (colored) to selected 1.59.2.2 (colored)

It is now ``later''. Follow cgd's 1993 wish and move struct osockaddr
and struct omsghdr to a compat header.

Revision 1.69.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:38 2005 UTC (18 years, 10 months ago) by kent
Branch: kent-audio2
Changes since 1.69: +66 -28 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.59.2.2 (colored)

sync with -current

Revision 1.67.2.7 / (download) - annotate - [select for diffs], Fri Apr 1 14:32:11 2005 UTC (18 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.67.2.6: +42 -1 lines
Diff to previous 1.67.2.6 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.69.6.2 / (download) - annotate - [select for diffs], Sat Mar 19 08:36:52 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.69.6.1: +45 -4 lines
Diff to previous 1.69.6.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored) to selected 1.59.2.2 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Mar 9 19:02:22 2005 UTC (19 years ago) by tron
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, kent-audio2-base
Branch point for: yamt-lazymbuf, netbsd-3
Changes since 1.74: +21 -22 lines
Diff to previous 1.74 (colored) to selected 1.59.2.2 (colored)

Solve problem invented in revision 1.73 differently:
Use "__uint64_t" etc. instead of pulling in "sys/socket.h" to avoid
namespace pollution. Based on comments made by Klaus Klein on the
current-users mailing list.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Mar 9 18:53:57 2005 UTC (19 years ago) by tron
Branch: MAIN
Changes since 1.73: +2 -1 lines
Diff to previous 1.73 (colored) to selected 1.59.2.2 (colored)

Include "sys/types.h" to get definition of "uint64_t". This is necessary
because socket(2) lists only "sys/socket.h" as a requirement. And besides
that it fixes build errors in our "libc".

Revision 1.73 / (download) - annotate - [select for diffs], Wed Mar 9 05:07:19 2005 UTC (19 years ago) by atatat
Branch: MAIN
Changes since 1.72: +42 -1 lines
Diff to previous 1.72 (colored) to selected 1.59.2.2 (colored)

Add the following nodes to the sysctl tree:

	net.local.stream.pcblist
	net.local.dgram.pcblist
	net.inet.tcp.pcblist
	net.inet.udp.pcblist
	net.inet.raw.pcblist
	net.inet6.tcp6.pcblist
	net.inet6.udp6.pcblist
	net.inet6.raw6.pcblist

which allow retrieval of the pcbs in use for those protocols.  The
struct involved is 32/64 bit clean and incorporates parts of struct
inpcb, struct unpcb, a bit of struct tcpcb, and two socket addresses.

Revision 1.67.2.6 / (download) - annotate - [select for diffs], Tue Mar 8 13:53:12 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.67.2.5: +2 -2 lines
Diff to previous 1.67.2.5 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.72 / (download) - annotate - [select for diffs], Tue Mar 8 07:43:14 2005 UTC (19 years ago) by kleink
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.59.2.2 (colored)

Fix a (harmless) typo in the definition of PF_RTIP;
from usa@garbagecollect.jp in PR kern/29624.

Revision 1.67.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:54:23 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.67.2.4: +3 -3 lines
Diff to previous 1.67.2.4 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.71 / (download) - annotate - [select for diffs], Sat Feb 26 22:25:34 2005 UTC (19 years ago) by perry
Branch: MAIN
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored) to selected 1.59.2.2 (colored)

nuke trailing whitespace

Revision 1.69.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:56 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.69: +22 -25 lines
Diff to previous 1.69 (colored) to selected 1.59.2.2 (colored)

sync with head.

Revision 1.67.2.4 / (download) - annotate - [select for diffs], Fri Feb 4 11:48:06 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.67.2.3: +22 -25 lines
Diff to previous 1.67.2.3 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Feb 3 19:20:02 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base2
Changes since 1.69: +22 -25 lines
Diff to previous 1.69 (colored) to selected 1.59.2.2 (colored)

de-__P

Revision 1.67.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:50 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.67.2.2: +1 -1 lines
Diff to previous 1.67.2.2 (colored) to selected 1.59.2.2 (colored)

Fix the sync with head I botched.

Revision 1.67.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:30 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.67.2.1: +2 -1 lines
Diff to previous 1.67.2.1 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Sep 3 18:14:09 2004 UTC (19 years, 6 months ago) by darrenr
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.68: +2 -1 lines
Diff to previous 1.68 (colored) to selected 1.59.2.2 (colored)

add a per-socket counter for dropped UDP packets when the internal buffers
are full.

Revision 1.67.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:30 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.67: +2 -6 lines
Diff to previous 1.67 (colored) to selected 1.59.2.2 (colored)

Sync with HEAD

Revision 1.68 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:14 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0
Branch point for: netbsd-2
Changes since 1.67: +2 -6 lines
Diff to previous 1.67 (colored) to selected 1.59.2.2 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Apr 28 23:16:30 2003 UTC (20 years, 10 months ago) by bjh21
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.66: +20 -18 lines
Diff to previous 1.66 (colored) to selected 1.59.2.2 (colored)

Add a new feature-test macro, _NETBSD_SOURCE.  If this is defined
by the application, all NetBSD interfaces are made visible, even
if some other feature-test macro (like _POSIX_C_SOURCE) is defined.
<sys/featuretest.h> defined _NETBSD_SOURCE if none of _ANSI_SOURCE,
_POSIX_C_SOURCE and _XOPEN_SOURCE is defined, so as to preserve
existing behaviour.

This has two major advantages:
+ Programs that require non-POSIX facilities but define _POSIX_C_SOURCE
  can trivially be overruled by putting -D_NETBSD_SOURCE in their CFLAGS.
+ It makes most of the #ifs simpler, in that they're all now ORs of the
  various macros, rather than having checks for (!defined(_ANSI_SOURCE) ||
  !defined(_POSIX_C_SOURCE) || !defined(_XOPEN_SOURCE)) all over the place.

I've tried not to change the semantics of the headers in any case where
_NETBSD_SOURCE wasn't defined, but there were some places where the
current semantics were clearly mad, and retaining them was harder than
correcting them.  In particular, I've mostly normalised things so that
_ANSI_SOURCE gets you the smallest set of stuff, then _POSIX_C_SOURCE,
_XOPEN_SOURCE and _NETBSD_SOURCE in that order.

Tested by building for vax, encouraged by thorpej, and uncontested in
tech-userlevel for a week.

Revision 1.66 / (download) - annotate - [select for diffs], Sat Apr 19 21:30:29 2003 UTC (20 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.65: +3 -2 lines
Diff to previous 1.65 (colored) to selected 1.59.2.2 (colored)

PR/2845: Mike Schwartz: Allow some #defines to be tuned by kernel options
by protecting them via #ifndef OPTIONNAME

Revision 1.60.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:48 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.60.2.2: +51 -21 lines
Diff to previous 1.60.2.2 (colored) next main 1.61 (colored) to selected 1.59.2.2 (colored)

Sync kqueue branch with -current.

Revision 1.59.2.5 / (download) - annotate - [select for diffs], Wed Nov 14 19:18:51 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.59.2.4: +10 -7 lines
Diff to previous 1.59.2.4 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored) to selected 1.59.2.2 (colored)

Catch up to -current.

Revision 1.65 / (download) - annotate - [select for diffs], Mon Oct 22 20:59:04 2001 UTC (22 years, 5 months ago) by kleink
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Changes since 1.64: +10 -7 lines
Diff to previous 1.64 (colored) to selected 1.59.2.2 (colored)

Sprinkle some __restrict into <sys/socket.h>.

Revision 1.59.2.4 / (download) - annotate - [select for diffs], Mon Oct 22 20:42:12 2001 UTC (22 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.59.2.3: +42 -15 lines
Diff to previous 1.59.2.3 (colored) to branchpoint 1.59 (colored) to selected 1.59.2.2 (colored)

Catch up to -current.

Revision 1.64 / (download) - annotate - [select for diffs], Mon Oct 22 17:53:44 2001 UTC (22 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.63: +2 -1 lines
Diff to previous 1.63 (colored) to selected 1.59.2.2 (colored)

Add a sockatmark(3), the 1003.1g wrapper around SIOCATMARK.

Revision 1.63 / (download) - annotate - [select for diffs], Tue Oct 16 19:47:44 2001 UTC (22 years, 5 months ago) by kleink
Branch: MAIN
Changes since 1.62: +41 -15 lines
Diff to previous 1.62 (colored) to selected 1.59.2.2 (colored)

Make this capable of being included without pre-requisite headers.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Mon Oct 1 12:48:14 2001 UTC (22 years, 5 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.61: +9 -2 lines
Diff to previous 1.61 (colored) next main 1.62 (colored) to selected 1.59.2.2 (colored)

Catch up with -current.

Revision 1.59.2.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:37:01 2001 UTC (22 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.59.2.2: +9 -2 lines
Diff to previous 1.59.2.2 (colored) to branchpoint 1.59 (colored)

Catch up to -current.

Revision 1.60.2.2 / (download) - annotate - [select for diffs], Thu Sep 13 01:16:28 2001 UTC (22 years, 6 months ago) by thorpej
Branch: kqueue
Changes since 1.60.2.1: +9 -2 lines
Diff to previous 1.60.2.1 (colored) to selected 1.59.2.2 (colored)

Update the kqueue branch to HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Sep 7 08:13:01 2001 UTC (22 years, 6 months ago) by itojun
Branch: MAIN
CVS Tags: thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.61: +9 -2 lines
Diff to previous 1.61 (colored) to selected 1.59.2.2 (colored)

make CMSG_FIRSTHDR() validat emsg_controllen, as suggested in RFC2292.
from kame

Revision 1.59.2.2 / (download) - annotate - [selected], Fri Aug 24 00:13:09 2001 UTC (22 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.59.2.1: +1 -5 lines
Diff to previous 1.59.2.1 (colored) to branchpoint 1.59 (colored)

Catch up with -current.

Revision 1.60.2.1 / (download) - annotate - [select for diffs], Fri Aug 3 04:14:05 2001 UTC (22 years, 7 months ago) by lukem
Branch: kqueue
Changes since 1.60: +1 -5 lines
Diff to previous 1.60 (colored) to selected 1.59.2.2 (colored)

update to -current

Revision 1.61 / (download) - annotate - [select for diffs], Tue Jul 17 11:49:41 2001 UTC (22 years, 8 months ago) by jdolecek
Branch: MAIN
CVS Tags: thorpej-devvp-base
Branch point for: thorpej-devvp
Changes since 1.60: +1 -5 lines
Diff to previous 1.60 (colored) to selected 1.59.2.2 (colored)

Expel MSG_COMPAT/COMPAT_OLDSOCK, make the COMPAT_43 wrappers
arrange things as needed.  Unfortunately, the check in sockargs()
have to stay, since 4.3BSD bind(2), connect(2) and sendto(2) were
not versioned at the time :(

This code was tested to pass regression tests.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 20:09:54 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.59: +7 -7 lines
Diff to previous 1.59 (colored) to selected 1.59.2.2 (colored)

Catch up to -current.

Revision 1.60 / (download) - annotate - [select for diffs], Sat May 5 12:47:58 2001 UTC (22 years, 10 months ago) by kleink
Branch: MAIN
Branch point for: kqueue
Changes since 1.59: +7 -7 lines
Diff to previous 1.59 (colored) to selected 1.59.2.2 (colored)

* Replace a couple of cases of u_char and u_short with uint8_t and uint16_t,
  respectively.
* Simplify sockaddr_storage calculations a bit by the fact that, per defintion,
  sizeof (char) == 1.
Fixes PR standards/10791.

Revision 1.55.2.2 / (download) - annotate - [select for diffs], Tue May 1 10:29:06 2001 UTC (22 years, 10 months ago) by he
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001
Changes since 1.55.2.1: +2 -2 lines
Diff to previous 1.55.2.1 (colored) to branchpoint 1.55 (colored) next main 1.56 (colored) to selected 1.59.2.2 (colored)

Pull up revision 1.58 (via patch, requested by kleink):
  Avoid traditional CPP recursion in definition of socklen_t.
  Fixes PR#12761.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:35 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.46: +48 -26 lines
Diff to previous 1.46 (colored) next main 1.47 (colored) to selected 1.59.2.2 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.55.2.1 / (download) - annotate - [select for diffs], Mon Oct 9 02:41:28 2000 UTC (23 years, 5 months ago) by toshii
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-BETA2, netbsd-1-5-BETA
Changes since 1.55: +5 -3 lines
Diff to previous 1.55 (colored) to selected 1.59.2.2 (colored)

Pullup revision 1.59 (approved by jhawk):
  Wrap __cmsg_alignbytes in __BEGIN_DECLS ... __END_DECLS.

Revision 1.59 / (download) - annotate - [select for diffs], Wed Oct 4 08:59:16 2000 UTC (23 years, 5 months ago) by toshii
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.58: +5 -3 lines
Diff to previous 1.58 (colored) to selected 1.59.2.2 (colored)

Wrap __cmsg_alignbytes in __BEGIN_DECLS ... __END_DECLS.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jul 28 09:33:28 2000 UTC (23 years, 7 months ago) by kleink
Branch: MAIN
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored) to selected 1.59.2.2 (colored)

Avoid recursion with traditional cpp.

Revision 1.57 / (download) - annotate - [select for diffs], Wed Jul 5 02:47:23 2000 UTC (23 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.59.2.2 (colored)

delint a macro

Revision 1.56 / (download) - annotate - [select for diffs], Mon Jun 26 15:48:21 2000 UTC (23 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.55: +15 -9 lines
Diff to previous 1.55 (colored) to selected 1.59.2.2 (colored)

XNS5.2: define sa_family_t and use it where specified by the standard.

Revision 1.54.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:10:27 2000 UTC (23 years, 9 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.54: +6 -2 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.59.2.2 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Jun 4 08:50:28 2000 UTC (23 years, 9 months ago) by itojun
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-ALPHA2
Branch point for: netbsd-1-5
Changes since 1.54: +6 -2 lines
Diff to previous 1.54 (colored) to selected 1.59.2.2 (colored)

move socklen_t decl to sys/ansi.h.
sys/socket.h pulls in sys/ansi.h and declare socklen_t as necessary.
the change is to allow declaration of socklen_t with less inclusion ordering
constraints.  (netdb.h needs this change)

Revision 1.54 / (download) - annotate - [select for diffs], Mon Apr 3 11:49:25 2000 UTC (23 years, 11 months ago) by augustss
Branch: MAIN
CVS Tags: minoura-xpg4dl-base
Branch point for: minoura-xpg4dl
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.59.2.2 (colored)

Change #define CMSG_ALIGN so it's not recursive.  Now the kernel compiles
again.

Revision 1.53 / (download) - annotate - [select for diffs], Mon Apr 3 02:06:11 2000 UTC (23 years, 11 months ago) by itojun
Branch: MAIN
Changes since 1.52: +11 -8 lines
Diff to previous 1.52 (colored) to selected 1.59.2.2 (colored)

hide CMSG_ALIGN() from the userland, it is not part of RFC2292/Posix.1g.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Mar 28 05:04:45 2000 UTC (23 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.51: +1 -3 lines
Diff to previous 1.51 (colored) to selected 1.59.2.2 (colored)

Remove prototype for pfctlinput() - there's already one in
sys/protosw.h with the other pf*() prototypes.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Mar 2 07:41:50 2000 UTC (24 years ago) by itojun
Branch: MAIN
Changes since 1.50: +10 -4 lines
Diff to previous 1.50 (colored) to selected 1.59.2.2 (colored)

make CMSG_ALIGN always synchronize with kernel's idea of ALIGNBYTES.
ancillary data alignment will be ALIGNBYTES, not sizeof(long) - 1, from now.

CMSG_xx will NOT resolve into constant.  if you use CMSG_xx to allocate
arrays, you'll lose.

bump shlib minor for libc.

NOTE: if you are on top of arch with ALIGNBYTES != sizeof(long) - 1,
you need to recompile IPv6-related binaries.  there is no way to guarantee
backward compat in this aspect.  sorry for this.  this should be the last
backward compat breakage for IPv6-related ancillary data manipulation.
(we still have PR 9516 for unix-domain sockets...)

Revision 1.50 / (download) - annotate - [select for diffs], Fri Feb 18 05:19:25 2000 UTC (24 years, 1 month ago) by itojun
Branch: MAIN
Changes since 1.49: +6 -4 lines
Diff to previous 1.49 (colored) to selected 1.59.2.2 (colored)

fix alignment problem in ancillary messages (alpha).

the change constitutes binary compatibility issue hen sizeof(long) !=4.
there's no way to be backward compatible, and only guys affected
are IPv6 userland tools.

From: GŽöran Bengtson <goeran@cdg.chalmers.se>

Revision 1.49 / (download) - annotate - [select for diffs], Thu Feb 3 09:23:03 2000 UTC (24 years, 1 month ago) by enami
Branch: MAIN
CVS Tags: chs-ubc2-newbase
Changes since 1.48: +1 -2 lines
Diff to previous 1.48 (colored) to selected 1.59.2.2 (colored)

Remove duplicated PF_INET6 definition.

Revision 1.46.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:36:35 1999 UTC (24 years, 2 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.46: +7 -5 lines
Diff to previous 1.46 (colored) next main 1.47 (colored) to selected 1.59.2.2 (colored)

Pull up to last week's -current.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Dec 20 06:18:45 1999 UTC (24 years, 3 months ago) by itojun
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.59.2.2 (colored)

based on recent discussion on ipngwg, use XNET definition for
sockaddr_storage.  next revision of RFC2553 will be using this.

ss_len and ss_family are now available for userland programmers.

Revision 1.43.6.3 / (download) - annotate - [select for diffs], Tue Nov 30 13:36:18 1999 UTC (24 years, 3 months ago) by itojun
Branch: kame
CVS Tags: kame_141_19991130
Changes since 1.43.6.2: +2 -2 lines
Diff to previous 1.43.6.2 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored) to selected 1.59.2.2 (colored)

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.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Nov 19 10:41:41 1999 UTC (24 years, 4 months ago) by bouyer
Branch: MAIN
Changes since 1.46: +5 -3 lines
Diff to previous 1.46 (colored) to selected 1.59.2.2 (colored)

Update protocoles and interfaces stats counters to 64bit.
RTM_IFINFO is now 0xf, 0xe is RTM_OIFINFO which returns the old (if_msghdr14)
struct with 32bit counters (binary compat, conditioned on COMPAT_14).
Same for sysctl: node 3 is renamed NET_RT_OIFLIST, NET_RT_IFLIST is now node 4.
Change rt_msg1() to add an mbuf to the mbuf chain instead of just panic()
when the message is larger than MHLEN.

Revision 1.43.4.2 / (download) - annotate - [select for diffs], Mon Aug 2 22:56:00 1999 UTC (24 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.43.4.1: +4 -6 lines
Diff to previous 1.43.4.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored) to selected 1.59.2.2 (colored)

Update from trunk.

Revision 1.43.6.2 / (download) - annotate - [select for diffs], Tue Jul 6 11:03:07 1999 UTC (24 years, 8 months ago) by itojun
Branch: kame
CVS Tags: kame_14_19990705
Changes since 1.43.6.1: +2 -2 lines
Diff to previous 1.43.6.1 (colored) to branchpoint 1.43 (colored) to selected 1.59.2.2 (colored)

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.

Revision 1.46 / (download) - annotate - [select for diffs], Sat Jul 3 13:37:34 1999 UTC (24 years, 8 months ago) by kleink
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.45: +4 -6 lines
Diff to previous 1.45 (colored) to selected 1.59.2.2 (colored)

Modify the previous change to:
* not declare struct sockaddr_storage in pre-XNS5.2 D2.0 environments, and
* not use __{BEGIN,END}_DECLS in a _KERNEL environment, which is not necessary.

Revision 1.43.4.1 / (download) - annotate - [select for diffs], Thu Jul 1 23:50:36 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.43: +68 -3 lines
Diff to previous 1.43 (colored) to selected 1.59.2.2 (colored)

Sync w/ -current.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Jul 1 20:09:57 1999 UTC (24 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.59.2.2 (colored)

avoid void * arithmetic (msg_control is now void *).

Revision 1.44 / (download) - annotate - [select for diffs], Thu Jul 1 08:13:00 1999 UTC (24 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.43: +67 -2 lines
Diff to previous 1.43 (colored) to selected 1.59.2.2 (colored)

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.

Revision 1.43.6.1 / (download) - annotate - [select for diffs], Mon Jun 28 06:37:11 1999 UTC (24 years, 8 months ago) by itojun
Branch: kame
CVS Tags: kame_14_19990628
Changes since 1.43: +67 -2 lines
Diff to previous 1.43 (colored) to selected 1.59.2.2 (colored)

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.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Feb 11 20:33:26 1999 UTC (25 years, 1 month ago) by cjs
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4
Branch point for: kame, chs-ubc2
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) to selected 1.59.2.2 (colored)

Fix compiler warning.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Feb 10 17:57:27 1999 UTC (25 years, 1 month ago) by kleink
Branch: MAIN
Changes since 1.41: +50 -22 lines
Diff to previous 1.41 (colored) to selected 1.59.2.2 (colored)

* Define socklen_t, an unsigned integral type used to hold the lengths of
socket options, addresses etc., and use it where specified by XNS5.
* Per XNS5, change data pointers types in struct msghdr from caddr_t to void *;
  make msg_iovlen a signed int (apparently for consistency with the iovcnt
  argument to readv()/writev()).
* Some name space protection.

Revision 1.41 / (download) - annotate - [select for diffs], Fri Dec 18 13:18:42 1998 UTC (25 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.40: +4 -13 lines
Diff to previous 1.40 (colored) to selected 1.59.2.2 (colored)

solve the COMPAT_OLDSOCK/MSG_COMPAT problem differently:
The source files which need MSG_COMPAT define COMPAT_OLDSOCK.

Revision 1.40 / (download) - annotate - [select for diffs], Sun Dec 13 19:19:34 1998 UTC (25 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored) to selected 1.59.2.2 (colored)

add include "opt_compat_43.h" otherwise, if this is our only compat option,
we don't link (reported by Klaus Klein).

Revision 1.26.8.1 / (download) - annotate - [select for diffs], Tue Nov 10 04:21:22 1998 UTC (25 years, 4 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) next main 1.27 (colored) to selected 1.59.2.2 (colored)

poull up rev 1.39 from trunk (mrg)

Revision 1.39 / (download) - annotate - [select for diffs], Mon Nov 9 04:01:55 1998 UTC (25 years, 4 months ago) by mrg
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored) to selected 1.59.2.2 (colored)

compat_ultrix wants MSG_COMPAT/COMPAT_OLDSOCK: don't depend on COMPAT_43

Revision 1.38 / (download) - annotate - [select for diffs], Sat Sep 5 19:03:25 1998 UTC (25 years, 6 months ago) by kleink
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.37: +6 -1 lines
Diff to previous 1.37 (colored) to selected 1.59.2.2 (colored)

Protect _XOPEN_SOURCE against sysctl MIB identifiers.

Revision 1.37 / (download) - annotate - [select for diffs], Fri Jun 26 14:06:35 1998 UTC (25 years, 8 months ago) by hannken
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.36: +2 -2 lines
Diff to previous 1.36 (colored) to selected 1.59.2.2 (colored)

Back out last change. usr.sbin/pstat/pstat.c is wrong.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Jun 26 13:57:20 1998 UTC (25 years, 8 months ago) by hannken
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.59.2.2 (colored)

Protect '#include "opt_*"' by '#if defined(_KERNEL)' for userland build.

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jun 25 23:57:03 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored) to selected 1.59.2.2 (colored)

defopt COMPAT_HPUX

Revision 1.34 / (download) - annotate - [select for diffs], Thu Jun 25 23:40:59 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) to selected 1.59.2.2 (colored)

defopt COMPAT_SUNOS

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jun 25 23:18:23 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored) to selected 1.59.2.2 (colored)

defopt COMPAT_LINUX

Revision 1.32 / (download) - annotate - [select for diffs], Thu Jun 25 22:49:48 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.31: +4 -1 lines
Diff to previous 1.31 (colored) to selected 1.59.2.2 (colored)

defopt COMPAT_FREEBSD

Revision 1.31 / (download) - annotate - [select for diffs], Thu Apr 30 00:03:16 1998 UTC (25 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored) to selected 1.59.2.2 (colored)

Define a new pseudo-address family, pseudo_AF_HDRCMPLT, which is used by
BPF to tell interface output routines to not fill in the layer 2 source
address.  From Greg Smith <greg@nas.nasa.gov>.

Revision 1.30 / (download) - annotate - [select for diffs], Sat Apr 25 17:29:45 1998 UTC (25 years, 10 months ago) by matt
Branch: MAIN
Changes since 1.29: +3 -1 lines
Diff to previous 1.29 (colored) to selected 1.59.2.2 (colored)

Add MSG_MCAST and MSG_BCAST so recvmsg can return how the message was received.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Apr 25 10:41:12 1998 UTC (25 years, 11 months ago) by kleink
Branch: MAIN
Changes since 1.28: +8 -1 lines
Diff to previous 1.28 (colored) to selected 1.59.2.2 (colored)

Per X/Open CAE Spec, Issue 5, define 3 preprocessor symbols to be used to
specify the type of socket shutdown(2).

Revision 1.28 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:14 1998 UTC (26 years ago) by fvdl
Branch: MAIN
Changes since 1.27: +4 -4 lines
Diff to previous 1.27 (colored) to selected 1.59.2.2 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:13:57 1998 UTC (26 years ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +3 -3 lines
Diff to previous 1.1.1.2 (colored) to selected 1.59.2.2 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:11:09 1998 UTC (26 years ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +95 -16 lines
Diff to previous 1.1.1.1 (colored) to selected 1.59.2.2 (colored)

Import 4.4BSD-Lite for reference

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 7 22:46:26 1998 UTC (26 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.26: +20 -1 lines
Diff to previous 1.26 (colored) to selected 1.59.2.2 (colored)

Add the sockcred structure and related definitions, and the SCM_CREDS
control message type.

Revision 1.26 / (download) - annotate - [select for diffs], Mon May 5 06:29:09 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Branch point for: netbsd-1-3
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) to selected 1.59.2.2 (colored)

Ok, _really_ back out the sockaddr alignment change this time.  We can't
reasonably "fix" the compiler "bug" that causes the forced alignment
to fail on certain platforms (e.g. m68k), so we _have_ to solve this
problem a different way.

Revision 1.25 / (download) - annotate - [select for diffs], Fri May 2 22:23:13 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.59.2.2 (colored)

Align a sockaddr to 4 bytes, not sizeof(long)

Revision 1.24 / (download) - annotate - [select for diffs], Fri May 2 22:19:13 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +4 -4 lines
Diff to previous 1.23 (colored) to selected 1.59.2.2 (colored)

Revert the reverting of the last change.  Turns out the trouble
on the m68k was a compiler bug (thanks Charles and Christos!)

Revision 1.23 / (download) - annotate - [select for diffs], Fri May 2 19:02:02 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored) to selected 1.59.2.2 (colored)

Revert previous alignment-related change.  It caused unexpected problems
on at least one architecture.  The alignment issue on the alpha will
be solved in a different way.

Revision 1.22 / (download) - annotate - [select for diffs], Fri May 2 01:01:43 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +4 -4 lines
Diff to previous 1.21 (colored) to selected 1.59.2.2 (colored)

Deal with an alignment problem on the Alpha port.  The maximum required
alignment of any field in a struct sockaddr is 1, since all members are
chars or char arrays (as noted by Ross Harvey on port-alpha).  This causes
the possibility of unaligned access faults when a sockaddr is cast to
e.g. a sockaddr_in.  Solution: explicitly direct the compiler to
longword-align the start of a struct sockaddr.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Mar 18 03:47:42 1997 UTC (27 years ago) by sommerfe
Branch: MAIN
Changes since 1.20: +8 -5 lines
Diff to previous 1.20 (colored) to selected 1.59.2.2 (colored)

Reserve a place for PF_KEY; rename SIP to INET6

Revision 1.20 / (download) - annotate - [select for diffs], Sat Mar 15 17:08:28 1997 UTC (27 years ago) by is
Branch: MAIN
Changes since 1.19: +5 -1 lines
Diff to previous 1.19 (colored) to selected 1.59.2.2 (colored)

Synchronize the CTL_NET_NAMES with the AF_* definitions (ISDN and ARP where
missing).

Revision 1.19.4.2 / (download) - annotate - [select for diffs], Tue Feb 11 17:47:45 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.19.4.1: +357 -0 lines
Diff to previous 1.19.4.1 (colored) to branchpoint 1.19 (colored) next main 1.20 (colored) to selected 1.59.2.2 (colored)

Allocate and define AF_ARP and PF_ARP. These will be used to
a) communicate the hardware independent part of ARP packets (rfc826) from/to
if_*subr.c in the ongoing effort to rewrite the ARP subsystem for non-Ethernet
networks
b) communicate the hardware independent part of RARP packets (rfc903) from/to
userland sockets to avoid putting link level header format knowledge into
rarpd, when it is enhanced to support non-Ethernet networks.

Revision 1.19.4.1, Tue Feb 11 17:47:44 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.19: +0 -357 lines
FILE REMOVED

file socket.h was added on branch is-newarp on 1997-02-11 17:47:45 +0000

Revision 1.19 / (download) - annotate - [select for diffs], Tue Feb 11 17:47:44 1997 UTC (27 years, 1 month ago) by is
Branch: MAIN
CVS Tags: mrg-vm-swap, is-newarp-before-merge, is-newarp-base
Branch point for: is-newarp
Changes since 1.18: +4 -2 lines
Diff to previous 1.18 (colored) to selected 1.59.2.2 (colored)

Allocate and define AF_ARP and PF_ARP. These will be used to
a) communicate the hardware independent part of ARP packets (rfc826) from/to
if_*subr.c in the ongoing effort to rewrite the ARP subsystem for non-Ethernet
networks
b) communicate the hardware independent part of RARP packets (rfc903) from/to
userland sockets to avoid putting link level header format knowledge into
rarpd, when it is enhanced to support non-Ethernet networks.

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jan 11 05:15:03 1997 UTC (27 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-setroot
Changes since 1.17: +3 -1 lines
Diff to previous 1.17 (colored) to selected 1.59.2.2 (colored)

Implement SO_TIMESTAMP socket option: receive a timeval timestamp
as a control message with a datagram.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Jul 4 03:15:39 1996 UTC (27 years, 8 months ago) by chuck
Branch: MAIN
Changes since 1.16: +7 -2 lines
Diff to previous 1.16 (colored) to selected 1.59.2.2 (colored)

add native mode atm protocol info, also ensure AF number remain sync'd
with freebsd.

Revision 1.16 / (download) - annotate - [select for diffs], Fri May 3 09:23:22 1996 UTC (27 years, 10 months ago) by neil
Branch: MAIN
CVS Tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored) to selected 1.59.2.2 (colored)

Remove #ifdefs

Thanks to cgd@NetBSD.ORG for pointing the following out to me:

listen (fd, SOMAXCONN); would break.

As programs wouldn't see the changes that might be specified in
the kernel config file.

As penance I am going to see if it would be possible to move this
into param.h and provide away of finding out what the kernel
value is. On busy network servers this value is useful to have as a tunable
kernel parameter.

Revision 1.15 / (download) - annotate - [select for diffs], Thu May 2 00:25:13 1996 UTC (27 years, 10 months ago) by neil
Branch: MAIN
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) to selected 1.59.2.2 (colored)

Add ability to do options SOMAXCONN=n which is useful on
busy network servers.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Feb 9 18:25:36 1996 UTC (28 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.13: +8 -2 lines
Diff to previous 1.13 (colored) to selected 1.59.2.2 (colored)

Filesystem prototype changes

Revision 1.13 / (download) - annotate - [select for diffs], Fri Feb 9 06:32:22 1996 UTC (28 years, 1 month ago) by mycroft
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.59.2.2 (colored)

Increase SOMAXCONN.

Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 29 22:10:11 1995 UTC (28 years, 11 months ago) by briggs
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.59.2.2 (colored)

KERNEL -> _KERNEL

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 26 20:24:45 1995 UTC (29 years ago) by jtc
Branch: MAIN
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored) to selected 1.59.2.2 (colored)

KERNEL -> _KERNEL

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jun 29 06:45:27 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (colored) to selected 1.59.2.2 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.9 / (download) - annotate - [select for diffs], Mon Jun 27 19:32:03 1994 UTC (29 years, 8 months ago) by cgd
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.59.2.2 (colored)

new standard, minimally intrusive ID format

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 13 06:12:10 1994 UTC (29 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +92 -18 lines
Diff to previous 1.7 (colored) to selected 1.59.2.2 (colored)

Update to 4.4-Lite networking code, with a few local changes.

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 4 11:25:25 1994 UTC (29 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.6: +2 -53 lines
Diff to previous 1.6 (colored) to selected 1.59.2.2 (colored)

Move internal prototypes to a better place.

Revision 1.6 / (download) - annotate - [select for diffs], Wed May 4 10:59:14 1994 UTC (29 years, 10 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +37 -11 lines
Diff to previous 1.5 (colored) to selected 1.59.2.2 (colored)

Prototype lots of kernel-internal functions.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Wed Nov 10 19:53:14 1993 UTC (30 years, 4 months ago) by mycroft
Branch: magnum
Changes since 1.5: +5 -3 lines
Diff to previous 1.5 (colored) next main 1.6 (colored) to selected 1.59.2.2 (colored)

Change `AF_UNIX' to `AF_LOCAL' and `PF_UNIX' to `PF_LOCAL', with #defines for
compatibility.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Jun 27 05:59:06 1993 UTC (30 years, 8 months ago) by andrew
Branch: MAIN
CVS Tags: wnvm, nvm-base, nvm, netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, magnum-base
Branch point for: magnum
Changes since 1.4: +27 -2 lines
Diff to previous 1.4 (colored) to selected 1.59.2.2 (colored)

ANSIfications - lots of function prototyping.

Revision 1.4 / (download) - annotate - [select for diffs], Thu May 20 16:23:09 1993 UTC (30 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.59.2.2 (colored)

add rcs ids as necessary, and also clean up headers

Revision 1.3 / (download) - annotate - [select for diffs], Mon Apr 19 01:35:01 1993 UTC (30 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored) to selected 1.59.2.2 (colored)

Fix typo.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 19 01:23:13 1993 UTC (30 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +6 -1 lines
Diff to previous 1.1 (colored) to selected 1.59.2.2 (colored)

Add consistent multiple-inclusion protection.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.59.2.2 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years ago) by cgd
Branch: MAIN
Diff to selected 1.59.2.2 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>