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.121 / (download) - annotate - [select for diffs], Wed Feb 8 17:58:41 2017 UTC (2 weeks, 5 days ago) by maya
Branch: MAIN
CVS Tags: HEAD
Changes since 1.120: +2 -1 lines
Diff to previous 1.120 (colored) to selected 1.69.6.1 (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 (6 weeks, 1 day ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.120: +4 -2 lines
Diff to previous 1.120 (colored) next main 1.121 (colored) to selected 1.69.6.1 (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 (3 months, 3 weeks ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.119: +8 -7 lines
Diff to previous 1.119 (colored) next main 1.120 (colored) to selected 1.69.6.1 (colored)

Sync with HEAD

Revision 1.110.4.4 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:11 2016 UTC (4 months, 3 weeks 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) next main 1.111 (colored) to selected 1.69.6.1 (colored)

Sync with HEAD

Revision 1.120 / (download) - annotate - [select for diffs], Wed Sep 21 10:50:23 2016 UTC (5 months, 1 week 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.69.6.1 (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 (10 months, 1 week 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.69.6.1 (colored)

Sync with HEAD

Revision 1.119 / (download) - annotate - [select for diffs], Wed Apr 6 19:45:46 2016 UTC (10 months, 3 weeks 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.69.6.1 (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 (14 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.69.6.1 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.118 / (download) - annotate - [select for diffs], Tue Oct 13 21:28:34 2015 UTC (16 months, 2 weeks 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.69.6.1 (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 (22 months, 3 weeks ago) by skrll
Branch: nick-nhusb
Changes since 1.110: +44 -23 lines
Diff to previous 1.110 (colored) to selected 1.69.6.1 (colored)

Sync with HEAD

Revision 1.117 / (download) - annotate - [select for diffs], Fri Apr 3 20:01:08 2015 UTC (22 months, 3 weeks 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.69.6.1 (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 (2 years ago) by rjs
Branch: MAIN
Changes since 1.115: +3 -1 lines
Diff to previous 1.115 (colored) to selected 1.69.6.1 (colored)

Add DCCP protocol support from KAME.

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

cleanup the CMSG* macro mess.

Revision 1.114 / (download) - annotate - [select for diffs], Sat Jan 24 17:15:22 2015 UTC (2 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.113: +5 -5 lines
Diff to previous 1.113 (colored) to selected 1.69.6.1 (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 (2 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.112: +9 -8 lines
Diff to previous 1.112 (colored) to selected 1.69.6.1 (colored)

add void casts to CMSG_

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

add lint comment

Revision 1.111 / (download) - annotate - [select for diffs], Tue Dec 2 19:38:16 2014 UTC (2 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored) to selected 1.69.6.1 (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 (2 years, 6 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) next main 1.108 (colored) to selected 1.69.6.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.108.