Home
last modified time | relevance | path

Searched refs:cmsg_len (Results 1 – 1 of 1) sorted by relevance

/PHP-7.1/ext/sockets/
H A Dconversions.c899 cmsghdr->cmsg_len = CMSG_LEN(data_len); in from_zval_write_control()
966 if (CMSG_LEN(entry->size) > cmsg->cmsg_len) { in to_zval_read_cmsg_data()
969 (zend_long)CMSG_LEN(entry->size), (zend_long)cmsg->cmsg_len); in to_zval_read_cmsg_data()
973 len = (size_t)cmsg->cmsg_len; /* use another var because type of cmsg_len varies */ in to_zval_read_cmsg_data()
1387 size_t *cmsg_len; in to_zval_read_fd_array() local
1396 …if ((cmsg_len = zend_hash_str_find_ptr(&ctx->params, KEY_CMSG_LEN, sizeof(KEY_CMSG_LEN) - 1)) == N… in to_zval_read_fd_array()
1401 if (*cmsg_len < data_offset) { in to_zval_read_fd_array()
1403 … "offset (" ZEND_LONG_FMT " vs " ZEND_LONG_FMT ")", (zend_long)*cmsg_len, (zend_long)data_offset); in to_zval_read_fd_array()
1406 num_elems = (*cmsg_len - data_offset) / sizeof(int); in to_zval_read_fd_array()

Completed in 8 milliseconds