Lines Matching refs:BIO_ADDR
52 BIO_ADDR *BIO_ADDR_new(void)
54 BIO_ADDR *ret = OPENSSL_zalloc(sizeof(*ret));
65 void BIO_ADDR_free(BIO_ADDR *ap)
70 void BIO_ADDR_clear(BIO_ADDR *ap)
77 * BIO_ADDR_make - non-public routine to fill a BIO_ADDR with the contents
80 int BIO_ADDR_make(BIO_ADDR *ap, const struct sockaddr *sa)
102 int BIO_ADDR_rawmake(BIO_ADDR *ap, int family,
140 int BIO_ADDR_family(const BIO_ADDR *ap)
145 int BIO_ADDR_rawaddress(const BIO_ADDR *ap, void *p, size_t *l)
179 unsigned short BIO_ADDR_rawport(const BIO_ADDR *ap)
192 * @ap: the BIO_ADDR that has the input info
203 static int addr_strings(const BIO_ADDR *ap, int numeric,
277 char *BIO_ADDR_hostname_string(const BIO_ADDR *ap, int numeric)
287 char *BIO_ADDR_service_string(const BIO_ADDR *ap, int numeric)
297 char *BIO_ADDR_path_string(const BIO_ADDR *ap)
308 * for a given BIO_ADDR. In reality, this is simply a type safe cast.
311 const struct sockaddr *BIO_ADDR_sockaddr(const BIO_ADDR *ap)
320 * of the input BIO_ADDR).
322 struct sockaddr *BIO_ADDR_sockaddr_noconst(BIO_ADDR *ap)
329 * of the struct sockaddr the BIO_ADDR is using. If the protocol family
331 * the size of the BIO_ADDR type is returned.
333 socklen_t BIO_ADDR_sockaddr_size(const BIO_ADDR *ap)
420 const BIO_ADDR *BIO_ADDRINFO_address(const BIO_ADDRINFO *bai)
423 return (BIO_ADDR *)bai->bai_addr;
598 just an advanced cast of BIO_ADDR* to struct sockaddr *
602 BIO_ADDR *addr = BIO_ADDR_new();