⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sockaddrin6.m4

📁 linux network performance test tool
💻 M4
字号:
dnl *dnl * Copyright (c) 2001  Motoyuki Kasaharadnl *dnl * Redistribution and use in source and binary forms, with or withoutdnl * modification, are permitted provided that the following conditionsdnl * are met:dnl * 1. Redistributions of source code must retain the above copyrightdnl *    notice, this list of conditions and the following disclaimer.dnl * 2. Redistributions in binary form must reproduce the above copyrightdnl *    notice, this list of conditions and the following disclaimer in thednl *    documentation and/or other materials provided with the distribution.dnl * 3. Neither the name of the project nor the names of its contributorsdnl *    may be used to endorse or promote products derived from this softwarednl *    without specific prior written permission.dnl * dnl * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' ANDdnl * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THEdnl * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULARdnl * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORSBEdnl * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, ORdnl * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OFdnl * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESSdnl * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER INdnl * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)dnl * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OFdnl * THE POSSIBILITY OF SUCH DAMAGE.dnl *dnl * dnl * Check for struct sockaddr_in6dnl *AC_DEFUN([AC_STRUCT_SOCKADDR_IN6],[AC_CACHE_CHECK(for struct sockaddr_in6, ac_cv_struct_sockaddr_in6,[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>]], [[struct sockaddr_in6 address;]])],[ac_cv_struct_sockaddr_in6=yes],[ac_cv_struct_sockaddr_in6=no])])if test "$ac_cv_struct_sockaddr_in6" = yes; then    AC_DEFINE(HAVE_STRUCT_SOCKADDR_IN6, 1,[Define to 1 if <netinet/in.h> defines `struct sockaddr_in6'])fi])dnl * dnl * Check for struct sockaddr_storagednl * AC_DEFUN([AC_STRUCT_SOCKADDR_STORAGE],[AC_CACHE_CHECK(for struct sockaddr_storage, ac_cv_struct_sockaddr_storage,[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>]], [[struct sockaddr_storage address;]])],[ac_cv_struct_sockaddr_storage=yes],[ac_cv_struct_sockaddr_storage=no])])if test "$ac_cv_struct_sockaddr_storage" = yes; then    AC_DEFINE(HAVE_STRUCT_SOCKADDR_STORAGE, 1,[Define to 1 if <netinet/in.h> defines `struct sockaddr_storage'])fi])

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -