Path: blob/main/crypto/openssl/include/internal/bio_addr.h
34879 views
/*1* Copyright 2022 The OpenSSL Project Authors. All Rights Reserved.2*3* Licensed under the Apache License 2.0 (the "License"). You may not use4* this file except in compliance with the License. You can obtain a copy5* in the file LICENSE in the source distribution or at6* https://www.openssl.org/source/license.html7*/89#ifndef OSSL_BIO_ADDR_H10# define OSSL_BIO_ADDR_H1112# include "internal/e_os.h"13# include "internal/e_winsock.h"14# include "internal/sockets.h"1516# ifndef OPENSSL_NO_SOCK17union bio_addr_st {18struct sockaddr sa;19# if OPENSSL_USE_IPV620struct sockaddr_in6 s_in6;21# endif22struct sockaddr_in s_in;23# ifndef OPENSSL_NO_UNIX_SOCK24struct sockaddr_un s_un;25# endif26};27# endif2829#endif303132