//===----------------------------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// /// /// \file /// Definition of internet address macros /// //===----------------------------------------------------------------------===// #ifndef LLVM_LIBC_MACROS_INET_ADDRESS_MACROS_H #define LLVM_LIBC_MACROS_INET_ADDRESS_MACROS_H #define INET_ADDRSTRLEN 16 // strlen("255.255.255.255") + 1 #define INET6_ADDRSTRLEN 46 // ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255 #endif // LLVM_LIBC_MACROS_INET_ADDRESS_MACROS_H