History log of /haiku/headers/posix/sys/socket.h
Revision Date Author Comments
# 4b2d018b 10-Jun-2015 Adrien Destugues <pulkomandy@gmail.com>

Implement MSG_NOSIGNAL

* Part of latest POSIX specification, this prevents send() on a closed
socket to raise a SIGPIPE signal (but EPIPE is returned).


# ef769e5e 28-Dec-2012 Jérôme Duval <jerome.duval@gmail.com>

add declaration of sa_family_t in sys/socket.h

* added missing declaration of sa_family_t in sys/socket.h, this fixes #8731
thanks to Anarchos for the patch.
* fixed the build of the command ftp


# 173f54f1 19-Jul-2012 Matt Madia <mattmadia@gmail.com>

Updated copyright in headers. No functional change.


# 0fae8733 03-Nov-2010 Scott McCreary <scottmc2@gmail.com>

Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines.
Cleaned up some header style violations, making sure there are two blank lines after the header guards.
This fixes the posix header part of #2191.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e4ca3629 18-Sep-2010 Scott McCreary <scottmc2@gmail.com>

Readded parameter names, taking them from the ones used at opengroup, except for sockatmark for which I used descriptor instead of "s".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38712 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb05c02e 18-Sep-2010 Scott McCreary <scottmc2@gmail.com>

Fixed a dummy argument conflict, this was detected when fixing #5784.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38711 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 505a5551 23-Oct-2009 Jérôme Duval <korli@users.berlios.de>

added SOCK_SEQPACKET


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33752 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 051bb0bb 14-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Added a comment to SO_BINDTODEVICE.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28128 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0501b7cd 16-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Add AF_BLUETOOTH sockets family
- Feel free to change the index



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26445 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d29deffa 03-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Added the Linuxish SO_PEERCRED.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25303 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ac4630e1 12-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added <sys/param.h> include, which is needed for _ALIGN().
* Added SCM_RIGHTS macro.
* Added a few non-standard but widely-used CMSG_*() macros.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24936 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bab4c3bb 10-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Changed the type of msghdr::{msg_name,msg_control} to void* as dictated
by POSIX.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24902 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 479a9264 28-Mar-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Define PF_LOCAL and PF_UNIX for compatibility reasons. Makes OpenSSH
happier.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24642 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 15ab0bcf 21-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* int32_t, uint32_t are now of type "int", and no longer of type "long".
This should help to reduce the number of warnings imported code will throw
during compilation (helps a lot with tcpdump, for example).
* Since long is 64 bit on 64 bit platforms, we might want to think about doing
that change for the Haiku types int32 and uint32 as well.
* Fixed several occurences of hidden type problems.
* Fixed build of the stack and TCP under BeOS.
* Fixed incorrect typedef in socket_interface.h.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22643 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5e1d6fb2 04-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

* Added _ALIGN() and _ALIGNBYTES macros.
* Added cmsg macros.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22172 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5adca30a 07-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

Merge of branches/team/network/new_stack - not yet complete as SVN does only support
replacing files when merging when you don't have deleted them manually (for some reason,
it only works as part of the merge operation, and we didn't copy the whole tree to
have "a fresh start" - next time we know better, at least if SVN still suffers from
that same limitation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18456 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4e0eae18 22-Jun-2006 Jérôme Duval <korli@users.berlios.de>

patch from Olivier Coursiere for better error output in ping
change the size parameter type of several functions in sys/socket.h to match POSIX
compat libs and legacy headers keep the original R5 type (though I make a change for this)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17911 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 64f6fcfb 20-Sep-2005 Jérôme Duval <korli@users.berlios.de>

added a socketpair prototype (part of bug #52)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14209 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 15b8f34b 13-Aug-2004 Philippe Houdoin <philippe.houdoin@gmail.com>

These size_t arguments should be, well, according to POSIX, socklen_t,
but Be declared them as int. So do I.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8567 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e09429df 18-Apr-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Removed unneeded constants.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7231 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f1730f62 17-Apr-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Fixed collision between SO_XXX and IP_XXX defines.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7227 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fde2fe1c 15-Apr-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Checking in headers for libbind.so.
Also updated our socket.h to be more compatible with BONE (we do not support SO_NONBLOCK which is needed for Mozilla).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7201 a95241bf-73f2-0310-859d-f6bbb57e9c96


# be9443cb 08-Apr-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Changed address families to match bone.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7184 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 48103d34 02-Aug-2003 shatty <shatty@nowhere.fake>

changed to use stdint and intX_t types


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4198 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c4766723 06-Jul-2003 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

extern "C" wrapper needed for inclusion from C++


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3870 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b5170a4 02-Sep-2002 beveloper <beveloper@nowhere.fake>

modified to support building of libnet


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@960 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1f058e39 12-Jul-2002 David Reid <dreid@nowhere.fake>

Small update to bring this up to date.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@114 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 52a38012 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4b2d018be4c848b0cfb8d401185fa998ab6cfd90 10-Jun-2015 Adrien Destugues <pulkomandy@gmail.com>

Implement MSG_NOSIGNAL

* Part of latest POSIX specification, this prevents send() on a closed
socket to raise a SIGPIPE signal (but EPIPE is returned).


# ef769e5e87d9b16125b0fb1e51fc8b90a91a3cb0 28-Dec-2012 Jérôme Duval <jerome.duval@gmail.com>

add declaration of sa_family_t in sys/socket.h

* added missing declaration of sa_family_t in sys/socket.h, this fixes #8731
thanks to Anarchos for the patch.
* fixed the build of the command ftp


# 173f54f1473bd6a6511c5fc6dc899c91fb8dd667 19-Jul-2012 Matt Madia <mattmadia@gmail.com>

Updated copyright in headers. No functional change.


# 0fae873352b02792db93f721c1a2ff6b240c8ecc 03-Nov-2010 Scott McCreary <scottmc2@gmail.com>

Updated posix headers to remove commas from copyright line, to match the preferred coding guidelines.
Cleaned up some header style violations, making sure there are two blank lines after the header guards.
This fixes the posix header part of #2191.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39288 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e4ca362903443a3b0785483479f86ccbff5c4e63 18-Sep-2010 Scott McCreary <scottmc2@gmail.com>

Readded parameter names, taking them from the ones used at opengroup, except for sockatmark for which I used descriptor instead of "s".


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38712 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bb05c02ef9c0d7830e8bf7363a1f15055aa786ba 18-Sep-2010 Scott McCreary <scottmc2@gmail.com>

Fixed a dummy argument conflict, this was detected when fixing #5784.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38711 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 505a5551a44e68ae15cdf7945bfe72273c3f9f7d 23-Oct-2009 Jérôme Duval <korli@users.berlios.de>

added SOCK_SEQPACKET


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33752 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 051bb0bb6443d7c9d2e3cdf61e0277a68e1b3e59 14-Oct-2008 Axel Dörfler <axeld@pinc-software.de>

* Added a comment to SO_BINDTODEVICE.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28128 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0501b7cd8077dd0f58a6e2fa5f14120641e0f9cd 16-Jul-2008 Oliver Ruiz Dorantes <oliver.ruiz.dorantes@gmail.com>

Add AF_BLUETOOTH sockets family
- Feel free to change the index



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26445 a95241bf-73f2-0310-859d-f6bbb57e9c96


# d29deffa2c68980cc3bad00f531a1c0cf7ee5f63 03-May-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Added the Linuxish SO_PEERCRED.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25303 a95241bf-73f2-0310-859d-f6bbb57e9c96


# ac4630e16137072c94a2b4ac0ba611c78f8d68e1 12-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

* Added <sys/param.h> include, which is needed for _ALIGN().
* Added SCM_RIGHTS macro.
* Added a few non-standard but widely-used CMSG_*() macros.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24936 a95241bf-73f2-0310-859d-f6bbb57e9c96


# bab4c3bbff3f47a39fe55e952975d1047c4a7514 10-Apr-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Changed the type of msghdr::{msg_name,msg_control} to void* as dictated
by POSIX.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24902 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 479a92647771e4aa1996bfc310e2e1e328e63a61 28-Mar-2008 Ingo Weinhold <ingo_weinhold@gmx.de>

Define PF_LOCAL and PF_UNIX for compatibility reasons. Makes OpenSSH
happier.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24642 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 15ab0bcf01ef7bd7323d9b2da55906bafbb40fd3 21-Oct-2007 Axel Dörfler <axeld@pinc-software.de>

* int32_t, uint32_t are now of type "int", and no longer of type "long".
This should help to reduce the number of warnings imported code will throw
during compilation (helps a lot with tcpdump, for example).
* Since long is 64 bit on 64 bit platforms, we might want to think about doing
that change for the Haiku types int32 and uint32 as well.
* Fixed several occurences of hidden type problems.
* Fixed build of the stack and TCP under BeOS.
* Fixed incorrect typedef in socket_interface.h.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22643 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5e1d6fb269dc50eaa14bd5b7ec9df30e36787146 04-Sep-2007 Axel Dörfler <axeld@pinc-software.de>

* Added _ALIGN() and _ALIGNBYTES macros.
* Added cmsg macros.
* Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22172 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 5adca30a18617cc25bc50a9a12e2fe6539412ccb 07-Aug-2006 Axel Dörfler <axeld@pinc-software.de>

Merge of branches/team/network/new_stack - not yet complete as SVN does only support
replacing files when merging when you don't have deleted them manually (for some reason,
it only works as part of the merge operation, and we didn't copy the whole tree to
have "a fresh start" - next time we know better, at least if SVN still suffers from
that same limitation).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18456 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 4e0eae186525220c36e1882f000d1c6651f468d0 22-Jun-2006 Jérôme Duval <korli@users.berlios.de>

patch from Olivier Coursiere for better error output in ping
change the size parameter type of several functions in sys/socket.h to match POSIX
compat libs and legacy headers keep the original R5 type (though I make a change for this)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17911 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 64f6fcfb1d201e9b3021aaceb206c9c7c5ca5871 20-Sep-2005 Jérôme Duval <korli@users.berlios.de>

added a socketpair prototype (part of bug #52)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14209 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 15b8f34b6f7ef9d8943ca603871c4654e3b53c8f 13-Aug-2004 Philippe Houdoin <philippe.houdoin@gmail.com>

These size_t arguments should be, well, according to POSIX, socklen_t,
but Be declared them as int. So do I.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8567 a95241bf-73f2-0310-859d-f6bbb57e9c96


# e09429df45d30a74020334e4abbfd9905c597cdb 18-Apr-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Removed unneeded constants.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7231 a95241bf-73f2-0310-859d-f6bbb57e9c96


# f1730f62f58349751e050c7413de00c45ad9c63c 17-Apr-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Fixed collision between SO_XXX and IP_XXX defines.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7227 a95241bf-73f2-0310-859d-f6bbb57e9c96


# fde2fe1c1c7c88254d6689600850f701df108ec2 15-Apr-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Checking in headers for libbind.so.
Also updated our socket.h to be more compatible with BONE (we do not support SO_NONBLOCK which is needed for Mozilla).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7201 a95241bf-73f2-0310-859d-f6bbb57e9c96


# be9443cb6e8e5c2e6be80b6f4383fee341ff3119 08-Apr-2004 Waldemar Kornewald <wkornew@nowhere.fake>

Changed address families to match bone.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7184 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 48103d3411b270326b48760d7150623c9d85dd82 02-Aug-2003 shatty <shatty@nowhere.fake>

changed to use stdint and intX_t types


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4198 a95241bf-73f2-0310-859d-f6bbb57e9c96


# c47667231a1e46da586edd6cb881c16a80a23069 06-Jul-2003 Michael Pfeiffer <michael.w.pfeiffer@gmail.com>

extern "C" wrapper needed for inclusion from C++


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3870 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 0b5170a447e6bbb212b1eecb53e36584bf59b7cb 02-Sep-2002 beveloper <beveloper@nowhere.fake>

modified to support building of libnet


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@960 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 1f058e396c3c91b31fe10adb7a2210d1c36dd8d7 12-Jul-2002 David Reid <dreid@nowhere.fake>

Small update to bring this up to date.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@114 a95241bf-73f2-0310-859d-f6bbb57e9c96


# 52a380120846174213ccce9c4aab0dda17c72083 08-Jul-2002 ejakowatz <ejakowatz@nowhere.fake>

It is accomplished ...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10 a95241bf-73f2-0310-859d-f6bbb57e9c96