projects
/
sbcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
1.0.18.18: Add support for abstract namespace addresses for AF_LOCAL sockets.
[sbcl.git]
/
contrib
/
sb-bsd-sockets
/
constants.lisp
diff --git
a/contrib/sb-bsd-sockets/constants.lisp
b/contrib/sb-bsd-sockets/constants.lisp
index
2fcb27c
..
7badaf7
100644
(file)
--- a/
contrib/sb-bsd-sockets/constants.lisp
+++ b/
contrib/sb-bsd-sockets/constants.lisp
@@
-130,6
+130,7
@@
(:structure in-addr ("struct in_addr"
((array (unsigned 8)) addr "u_int32_t" "s_addr")))
(:structure sockaddr-in ("struct sockaddr_in"
(:structure in-addr ("struct in_addr"
((array (unsigned 8)) addr "u_int32_t" "s_addr")))
(:structure sockaddr-in ("struct sockaddr_in"
+ #+darwin ((unsigned 8) len "__uint8_t" "sin_len")
(integer family "sa_family_t" "sin_family")
;; These two could be in-port-t and
;; in-addr-t, but then we'd throw away the
(integer family "sa_family_t" "sin_family")
;; These two could be in-port-t and
;; in-addr-t, but then we'd throw away the
@@
-140,6
+141,9
@@
(:structure sockaddr-un ("struct sockaddr_un"
(integer family "sa_family_t" "sun_family")
(c-string path "char" "sun_path")))
(:structure sockaddr-un ("struct sockaddr_un"
(integer family "sa_family_t" "sun_family")
(c-string path "char" "sun_path")))
+ (:structure sockaddr-un-abstract ("struct sockaddr_un"
+ (integer family "sa_family_t" "sun_family")
+ ((array (unsigned 8)) path "char" "sun_path")))
(:structure hostent ("struct hostent"
(c-string-pointer name "char *" "h_name")
((* c-string) aliases "char **" "h_aliases")
(:structure hostent ("struct hostent"
(c-string-pointer name "char *" "h_name")
((* c-string) aliases "char **" "h_aliases")
@@
-287,8
+291,6
@@
(:integer EAI-SERVICE "EAI_SERVICE")
#-freebsd
(:integer EAI-ADDRFAMILY "EAI_ADDRFAMILY")
(:integer EAI-SERVICE "EAI_SERVICE")
#-freebsd
(:integer EAI-ADDRFAMILY "EAI_ADDRFAMILY")
- #-freebsd
- (:integer EAI-NODATA "EAI_NODATA")
(:integer EAI-MEMORY "EAI_MEMORY")
(:integer EAI-FAIL "EAI_FAIL")
(:integer EAI-AGAIN "EAI_AGAIN")
(:integer EAI-MEMORY "EAI_MEMORY")
(:integer EAI-FAIL "EAI_FAIL")
(:integer EAI-AGAIN "EAI_AGAIN")