summaryrefslogtreecommitdiff
path: root/hurd/networking.mdwn
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-04-30 12:41:44 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-04-30 12:41:44 +0200
commit51be2dee214da567a1558bfbd321c5a7dc08f3e2 (patch)
tree6edf162aae944f8ca37ad62000b4555b7d408e9f /hurd/networking.mdwn
parentc105cd27111444f3d35e495515ea90ab78e0ac7f (diff)
Rework again
Diffstat (limited to 'hurd/networking.mdwn')
-rw-r--r--hurd/networking.mdwn6
1 files changed, 5 insertions, 1 deletions
diff --git a/hurd/networking.mdwn b/hurd/networking.mdwn
index e1bebec5..2f13813a 100644
--- a/hurd/networking.mdwn
+++ b/hurd/networking.mdwn
@@ -10,7 +10,11 @@ is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]
For each supported `PF_*` protocol family (domain), there is a file `/servers/socket/N`
-where `N` is the numeric value for the `PF_*` symbol. libc's socket(), socketpair() and friends use `hurd_socket_server` to open them: the latter computes the `/servers/socket/N` path, then open it a return the result. Since those paths are translated (see showtrans on `/servers/socket/N`), it's a port to a translator which is returned. Right now
+where `N` is the numeric value for the `PF_*` symbol. libc's `socket()`,
+`socketpair()` and friends use `_hurd_socket_server` to open them: the latter
+computes the `/servers/socket/N` path, then opens it with `__file_name_lookup`,
+and returns the result. Since those paths are translated (see showtrans on
+`/servers/socket/N`), it's a port to a translator which is returned. Right now
[[`PF_LOCAL`|translator/pflocal]] (a.k.a. `PF_UNIX` or `AF_UNIX`) `N=1`,
[[`PF_INET`|translator/pfinet]] (a.k.a `AF_INET`) `N=2` and
[[`PF_INET6`|translator/pfinet/ipv6]] (a.k.a `AF_INET6`) `N=26` are supported.