/* CMS REPLACEMENT HISTORY, Element __DECC_INCLUDE_PROLOGUE.H */ /* *10C1 11-DEC-2000 17:38:48 MYTH "V51 baselevel code freeze" */ /* 10A1 12-MAY-2000 00:52:21 MUGGERIDGE "V51IFT baselevel code freeze" */ /* 10B1 11-MAY-2000 15:39:34 MUGGERIDGE "V51IFT baselevel code freeze" */ /* *10 6-JUL-1999 11:36:46 POUFFARY "" */ /* *9 10-MAY-1999 16:35:44 KHAIT "put back gethostbyname2 for backward compatibility" */ /* *8 10-MAY-1999 03:37:58 POUFFARY "remove reference to gethostbyname2" */ /* *7 5-MAY-1999 14:18:47 KHAIT "Add new definitions." */ /* 6B1 28-OCT-1998 19:51:42 MUGGERIDGE "V50SSB baselevel code freeze" */ /* 6A1 22-OCT-1998 18:19:18 MUGGERIDGE "V50SSB baselevel code freeze" */ /* *6 2-SEP-1998 07:45:14 POUFFARY "Remove Kernel stuff not for customer" */ /* 5A1 18-JUN-1998 05:37:33 MUGGERIDGE "V50IFT baselevel code freeze" */ /* *5 23-MAR-1998 17:26:11 GEMIGNANI "Update build defs" */ /* *4 19-FEB-1998 15:35:33 GEMIGNANI "Clean up environment" */ /* *3 10-FEB-1998 17:55:30 GEMIGNANI "Change to BSD44 environment" */ /* *2 19-JAN-1998 15:47:22 GEMIGNANI "Update with simplified version" */ /* *1 19-JAN-1998 15:24:58 GEMIGNANI "Initial population of IPv6 source" */ /* CMS REPLACEMENT HISTORY, Element __DECC_INCLUDE_PROLOGUE.H */ #ifndef __TCPIP_OPENVMS_H_ #define __TCPIP_OPENVMS_H_ #endif #if !defined(__TCPIP$BUILD_ENVIRONMENT_IPV6__) #define __TCPIP$BUILD_ENVIRONMENT_IPV6__ #define OPENVMS_32BIT 1 /* ** TCP/IP Services for OpenVMS internal transliterations ** designed to intercept the new IPv6 routines and direct ** them to TCPIP$LIB.OLB until DECC includes support for ** them. */ #define freeaddrinfo TCPIP$FREEADDRINFO #define freehostent TCPIP$FREEHOSTENT #define gai_strerror TCPIP$GAI_STRERROR #define getaddrinfo TCPIP$GETADDRINFO #define getaddrinfo_compat43 TCPIP$GETADDRINFO_COMPAT43 #define gethostbyname2 TCPIP$GETHOSTBYNAME2 #define getipnodebyaddr TCPIP$GETIPNODEBYADDR #define getipnodebyname TCPIP$GETIPNODEBYNAME #define getnameinfo TCPIP$GETNAMEINFO #define if_freenameindex TCPIP$IF_FREENAMEINDEX #define if_indextoname TCPIP$IF_INDEXTONAME #define if_nametoindex TCPIP$IF_NAMETOINDEX #define if_nameindex TCPIP$IF_NAMEINDEX #define inet_aton TCPIP$INET_ATON #define inet_neta TCPIP$INET_NETA #define inet_net_ntop TCPIP$INET_NET_NTOP #define inet_net_ntop_ipv4 TCPIP$INET_NET_NTOP_IPV4 #define inet_net_pton TCPIP$INET_NET_PTON #define inet_net_pton_ipv4 TCPIP$INET_NET_PTON_IPV4 #define inet_nsap_addr TCPIP$INET_NSAP_ADDR #define inet_nsap_ntoa TCPIP$INET_NSAP_NTOA #define inet_ntop TCPIP$INET_NTOP #define inet_ntop_ipv4 TCPIP$INET_NTOP_IPV4 #define inet_pton TCPIP$INET_PTON #define inet_pton_ipv4 TCPIP$INET_PTON_IPV4 #define inet6_option_space TCPIP$INET6_OPTION_SPACE #define inet6_option_init TCPIP$INET6_OPTION_INIT #define inet6_option_append TCPIP$INET6_OPTION_APPEND #define inet6_option_alloc TCPIP$INET6_OPTION_ALLOC #define inet6_option_next TCPIP$INET6_OPTION_NEXT #define inet6_option_find TCPIP$INET6_OPTION_FIND #define inet6_rthdr_space TCPIP$INET6_RTHDR_SPACE #define inet6_rthdr_init TCPIP$INET6_RTHDR_INIT #define inet6_rthdr_add TCPIP$INET6_RTHDR_ADD /* ** The following routines are defined in the Unix build environment ** by socket.h when _SOCKADDR_LEN is defined. Direct them to the ** appropriate BSD 4.4 routines available in DECC. */ #define naccept DECC$__BSD44_ACCEPT #define ngetpeername DECC$__BSD44_GETPEERNAME #define ngetsockname DECC$__BSD44_GETSOCKNAME #define nrecvfrom DECC$__BSD44_RECVFROM #define nrecvmsg DECC$__BSD44_RECVMSG #define nsendmsg DECC$__BSD44_SENDMSG /* ** The following routines are not currently in the ** TCPIP implementation but *may* be implemented by ** DECC. At the moment, they should return an error. */ #define endhostent TCPIP$ENDHOSTENT #define endnetent TCPIP$ENDNETENT #define endprotoent TCPIP$ENDPROTOENT #define endservent TCPIP$ENDSERVENT #define getdtablesize TCPIP$GETDTABLESIZE #define gethostent TCPIP$GETHOSTENT #define getnetent TCPIP$GETNETENT #define getservent TCPIP$GETSERVENT #define sethostent TCPIP$SETHOSTENT #define setnetent TCPIP$SETNETENT #define setprotoent TCPIP$SETPROTOENT #define setservent TCPIP$SETSERVENT #endif /* __TCPIP$BUILD_ENVIRONMENT_IPV6__ */