summaryrefslogtreecommitdiff
path: root/pflocal/sock.c
AgeCommit message (Collapse)Author
2002-04-24Beautify last change.Marcus Brinkmann
2002-04-242002-04-24 Ognyan Kulev <ogi@fmi.uni-sofia.bg>Marcus Brinkmann
* 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-04-012001-03-31 Roland McGrath <roland@frob.com>Roland McGrath
* sock.c: Include "connq.h" for connq_destroy decl.
2001-02-122001-02-11 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* connq.c (connq_destroy): New function. * connq.h: Prototype connq_destroy. * sock.c (sock_free): Call connq_destroy when listen or connect queue exist.
2000-08-02Add `magic' protocols to specify the file type of a sockets. ThisMark Kettenis
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.
1996-07-23(sock_create): Remove NEXT_SOCK_ID.Miles Bader
1996-07-01(sock_create): Initialize ID field to MACH_PORT_NULL.Miles Bader
1996-05-16(sock_free): Destroy SOCK's id port if necessary.Miles Bader
1996-01-27(sock_create_port, addr_create):Miles Bader
Use ports_create_port instead of ports_allocate_port.
1996-01-24(sock_bind): Don't change SOCK's ref count if we're returning an error.Miles Bader
1996-01-14Get rid of debugging cruft.Miles Bader
1995-08-29(sock_acquire_read_pipe, sock_acquire_write_pipe): `aquire' -> `acquire'.Miles Bader
1995-08-16(sock_create, sock_connect): Set/use the PIPE_CLASS field.Miles Bader
(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.
1995-07-30(sock_create): Initialize the CONNECT_QUEUE field and rename CONNQ toMiles Bader
LISTEN_QUEUE.
1995-07-26entered into RCSMiles Bader
1995-07-25Formerly sock.c.~14~Miles Bader
1995-07-23Formerly sock.c.~13~Miles Bader
1995-07-22Formerly sock.c.~12~Miles Bader
1995-07-22Formerly sock.c.~11~Miles Bader
1995-07-19Formerly sock.c.~10~Miles Bader
1995-07-18Formerly sock.c.~9~Miles Bader
1995-07-16Formerly sock.c.~8~Miles Bader
1995-07-16Formerly sock.c.~7~Miles Bader
1995-07-04Formerly sock.c.~6~Miles Bader
1995-07-03Formerly sock.c.~5~Miles Bader
1995-07-02Formerly sock.c.~4~Miles Bader
1995-07-02Formerly sock.c.~3~Miles Bader
1995-07-01Formerly sock.c.~2~Miles Bader
1995-07-01Initial revisionMiles Bader