Mercurial > emacs
view src/s/isc4-1.h @ 68008:10f0a09ec82e
Add IPv6 support.
(Qipv4, Qipv6): New vars.
(syms_of_process): Intern and staticpro them.
(Fformat_network_address): Handle 9 or 8 element vector as IPv6 address
with or without port number. Handle 4 element vector as IPv4 address
without port number.
(conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size)
(conv_lisp_to_sockaddr): Handle IPv6 addresses.
(Fmake_network_process): Use :family 'ipv4 and 'ipv6 to explicitly
request that address family only. :family nil or omitted means to
determine address family from the specified :host and :service.
(server_accept_connection): Handle IPv6 addresses.
(init_process): Add (:family ipv4) and (:family ipv6) sub-features.
(ifflag_table): Add missing OpenBSD IFF_ flags.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Wed, 04 Jan 2006 00:16:54 +0000 |
parents | 695cf19ef79e |
children | 375f2633d815 |
line wrap: on
line source
#include "isc3-0.h" /* ISC 4.1 has renamed __setostype, but also has fixed the bug for which we needed to call it; so just do nothing. uddeborg@carmen.se. */ #undef EXTRA_INITIALIZE #define ISC4_1 #undef LIBS_SYSTEM #define LIBS_SYSTEM -linet /* uddeborg@carmen.se recommends the rest of this file. */ /* A special startup file is used when compiling with Posix. */ #define START_FILES pre-crt0.o /lib/crtp1.o /* -lPW is only needed if not using Gcc. */ #undef LIB_STANDARD #if defined (__GNUC__) # define LIB_STANDARD -lcposix -lc /lib/crtn.o #else /* !__GNUC__ */ # define LIB_STANDARD -lPW -lcposix -lc /lib/crtn.o #endif /* !__GNUC__ */ /* We have Posix termios. */ #define HAVE_TERMIOS /* According to template.h HAVE_TERMIO and HAVE_TERMIOS shouldn't be */ /* defined at the same time. */ #undef HAVE_TERMIO /* ISC 4.1 has sys/wait.h but it does not work right. */ #undef HAVE_SYS_WAIT_H /* arch-tag: ec5c77d9-a330-4d93-8117-d2b374531c67 (do not change this comment) */