summaryrefslogtreecommitdiff
path: root/?id=e3b8d4bb58a799dc7fd563ac39bf3015762af03b
diff options
context:
space:
mode:
authorDavid van Moolenbroek <david@minix3.org>2016-02-21 19:28:24 +0000
committerDavid van Moolenbroek <david@minix3.org>2017-03-09 23:39:49 +0000
commite3b8d4bb58a799dc7fd563ac39bf3015762af03b (patch)
tree4979003451350a53fc1398d0ad358827ecf1a26b /?id=e3b8d4bb58a799dc7fd563ac39bf3015762af03b
parent181fb1b2b562251d07c6fcffd262fd8efbcd2ee0 (diff)
VFS: add BSD socket API, socket driver support
This patch adds the implementation of the BSD socket system calls which have been introduced in an earlier patch. At the same time, it adds support for communication with socket drivers, using a new "socket device" (SDEV_) protocol. These two parts, implemented in socket.c and sdev.c respectively, form the upper and lower halves of the new BSD socket support in VFS. New mapping functionality for socket domains and drivers is added as well, implemented in smap.c. The rest of the changes mainly facilitate the separation of character and socket driver calls, and do not make any fundamental alterations. For example, while this patch changes VFS's select.c rather heavily, the new select logic for socket drivers is the exact same as for character drivers; the changes mainly separate the driver type specific parts from the generic select logic further than before. Change-Id: I2f13084dd3c8d3a68bfc69da0621120c8291f707
Diffstat (limited to '?id=e3b8d4bb58a799dc7fd563ac39bf3015762af03b')
0 files changed, 0 insertions, 0 deletions