X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-bsd-sockets%2Fconstants.lisp;h=e487966a47e987a39956a3fab81ac2330f2954a9;hb=22c1de0a40df83bb5628974010a879cb2c17ff53;hp=e79288838f72fdf16eb2fbbd92aa8628201c7b75;hpb=10d2c05ea44ca0837091434fe2223c0c31687615;p=sbcl.git diff --git a/contrib/sb-bsd-sockets/constants.lisp b/contrib/sb-bsd-sockets/constants.lisp index e792888..e487966 100644 --- a/contrib/sb-bsd-sockets/constants.lisp +++ b/contrib/sb-bsd-sockets/constants.lisp @@ -10,13 +10,14 @@ ;;; then the stuff we're looking for ((:integer af-inet "AF_INET" "IP Protocol family") - (:integer af-unspec "AF_UNSPEC" "Unspecified.") -#-solaris (:integer af-local "AF_LOCAL" "Local to host (pipes and file-domain).") - (:integer af-unix "AF_UNIX" "Old BSD name for af-local. ") -#-(or solaris freebsd) (:integer af-file "AF_FILE" "POSIX name for af-local. ") -#+linux (:integer af-inet6 "AF_INET6" "IP version 6. ") -#+linux (:integer af-route "AF_NETLINK" "Alias to emulate 4.4BSD ") - + (:integer af-unspec "AF_UNSPEC" "Unspecified") + (:integer af-local + #+(or sunos solaris) "AF_UNIX" + #-(or sunos solaris) "AF_LOCAL" + "Local to host (pipes and file-domain).") + #+linux (:integer af-inet6 "AF_INET6" "IP version 6") + #+linux (:integer af-route "AF_NETLINK" "Alias to emulate 4.4BSD ") + (:integer sock-stream "SOCK_STREAM" "Sequenced, reliable, connection-based byte streams.") (:integer sock-dgram "SOCK_DGRAM" @@ -166,10 +167,6 @@ (addr (* t)) (len integer) (af integer))) - (:structure hostent ("struct hostent" - ((* t) name "char *" "h_name") - (integer length "int" "h_length"))) - (:function setsockopt ("setsockopt" integer (socket integer) (level integer)