aboutsummaryrefslogtreecommitdiff
path: root/pflocal/sock.c
Commit message (Collapse)AuthorAgeFilesLines
* pflocal/Neal H. Walfield2005-05-181-3/+1
| | | | | | 2005-05-17 Neal H. Walfield <neal@gnu.org> * sock.c (sock_free): Don't destroy SOCK->CONNECT_QUEUE.
* Beautify last change.Marcus Brinkmann2002-04-241-2/+2
|
* 2002-04-24 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Marcus Brinkmann2002-04-241-26/+17
| | | | | | | * sock.c (sock_shutdown): When both SHUTDOWN_READ and SHUTDOWN_WRITE are set in FLAGS unlock sock->lock after all processing of `sock' is finished. (sock_create): Replace bzero with memset.
* 2001-03-31 Roland McGrath <roland@frob.com>Roland McGrath2001-04-011-3/+3
| | | | * sock.c: Include "connq.h" for connq_destroy decl.
* 2001-02-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-02-121-0/+4
| | | | | | | * connq.c (connq_destroy): New function. * connq.h: Prototype connq_destroy. * sock.c (sock_free): Call connq_destroy when listen or connect queue exist.
* Add `magic' protocols to specify the file type of a sockets. ThisMark Kettenis2000-08-021-3/+4
| | | | | | | | | | | | | allows implementation of POSIX pipes by using a S_IFSOCK protocol. * sock.h: Include <sys/types.h>. (struct sock): Add new member `mode'. (sock_create): Add new parameter `mode'. * sock.c (sock_create): Initialize `mode' member of struct sock, with new parameter. * pf.c (S_socket_create): Pass file type/mode to sock_create based on PROTOCOL. * io.c (S_io_stat): Use new member of `struct sock' to set ST->st_mode.
* (sock_create): Remove NEXT_SOCK_ID.Miles Bader1996-07-231-1/+0
|
* (sock_create): Initialize ID field to MACH_PORT_NULL.Miles Bader1996-07-011-1/+1
|
* (sock_free): Destroy SOCK's id port if necessary.Miles Bader1996-05-161-1/+3
|
* (sock_create_port, addr_create):Miles Bader1996-01-271-15/+16
| | | | Use ports_create_port instead of ports_allocate_port.
* (sock_bind): Don't change SOCK's ref count if we're returning an error.Miles Bader1996-01-241-10/+11
|
* Get rid of debugging cruft.Miles Bader1996-01-141-62/+2
|
* (sock_acquire_read_pipe, sock_acquire_write_pipe): `aquire' -> `acquire'.Miles Bader1995-08-291-4/+4
|
* (sock_create, sock_connect): Set/use the PIPE_CLASS field.Miles Bader1995-08-161-59/+49
| | | | | | | | | | | (sock_connect, sock_aquire_write_pipe): Use pipe_aquire_writer instead of pipe_aquire. (sock_aquire_read_pipe): Use pipe_aquire_reader instead of pipe_aquire. Handle the case where there is no read pipe (in which case return EPIPE). (sock_shutdown): Make shutting down the read half just like the write half -- the pipe goes away... (sock_create): Don't bump the read pipe ref count ourself. (sock_free): Use sock_shutdown to trash the read pipe too.
* (sock_create): Initialize the CONNECT_QUEUE field and rename CONNQ toMiles Bader1995-07-301-1/+2
| | | | LISTEN_QUEUE.
* entered into RCSMiles Bader1995-07-261-1/+2
|
* Formerly sock.c.~14~Miles Bader1995-07-251-0/+2
|
* Formerly sock.c.~13~Miles Bader1995-07-231-7/+14
|
* Formerly sock.c.~12~Miles Bader1995-07-221-4/+7
|
* Formerly sock.c.~11~Miles Bader1995-07-221-70/+93
|
* Formerly sock.c.~10~Miles Bader1995-07-191-40/+86
|
* Formerly sock.c.~9~Miles Bader1995-07-181-11/+50
|
* Formerly sock.c.~8~Miles Bader1995-07-161-38/+52
|
* Formerly sock.c.~7~Miles Bader1995-07-161-29/+98
|
* Formerly sock.c.~6~Miles Bader1995-07-041-77/+111
|
* Formerly sock.c.~5~Miles Bader1995-07-031-64/+163
|
* Formerly sock.c.~4~Miles Bader1995-07-021-32/+109
|
* Formerly sock.c.~3~Miles Bader1995-07-021-17/+89
|
* Formerly sock.c.~2~Miles Bader1995-07-011-14/+66
|
* Initial revisionMiles Bader1995-07-011-0/+32