Lines Matching refs:sockopt_len
558 socklen_t sockopt_len; /* assume that system supporting IP_MTU is in dgram_ctrl() local
661 sockopt_len = sizeof(sockopt_val); in dgram_ctrl()
666 &sockopt_len)) < 0 || sockopt_val < 0) { in dgram_ctrl()
681 (void *)&sockopt_val, &sockopt_len)) < 0 in dgram_ctrl()
1772 socklen_t sockopt_len; in BIO_new_dgram_sctp() local
1814 sockopt_len = (socklen_t) (sizeof(sctp_assoc_t) + 256 * sizeof(uint8_t)); in BIO_new_dgram_sctp()
1815 authchunks = OPENSSL_zalloc(sockopt_len); in BIO_new_dgram_sctp()
1821 &sockopt_len); in BIO_new_dgram_sctp()
1829 p < (unsigned char *)authchunks + sockopt_len; in BIO_new_dgram_sctp()
1861 sockopt_len = (socklen_t) sizeof(struct sctp_event_subscribe); in BIO_new_dgram_sctp()
1862 ret = getsockopt(fd, IPPROTO_SCTP, SCTP_EVENTS, &event, &sockopt_len); in BIO_new_dgram_sctp()
2291 socklen_t sockopt_len = 0; in dgram_sctp_ctrl() local
2346 sockopt_len = sizeof(struct sctp_authkeyid); in dgram_sctp_ctrl()
2349 &sockopt_len); in dgram_sctp_ctrl()
2354 sockopt_len = sizeof(struct sctp_authkey) + 64 * sizeof(uint8_t); in dgram_sctp_ctrl()
2355 authkey = OPENSSL_malloc(sockopt_len); in dgram_sctp_ctrl()
2360 memset(authkey, 0, sockopt_len); in dgram_sctp_ctrl()
2373 sockopt_len); in dgram_sctp_ctrl()
2390 sockopt_len = sizeof(struct sctp_authkeyid); in dgram_sctp_ctrl()
2393 &sockopt_len); in dgram_sctp_ctrl()
2426 sockopt_len = sizeof(struct sctp_authkeyid); in dgram_sctp_ctrl()
2429 &authkeyid, &sockopt_len); in dgram_sctp_ctrl()
2439 sockopt_len = sizeof(struct sctp_authkeyid); in dgram_sctp_ctrl()
2441 &authkeyid, sockopt_len); in dgram_sctp_ctrl()