Home
last modified time | relevance | path

Searched refs:optValueSize (Results 1 - 4 of 4) sorted by relevance

/foundation/communication/dsoftbus/sdk/transmission/session/src/
H A Dclient_trans_socket_option.c22 int32_t SetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, uint32_t optValueSize) in SetExtSocketOpt() argument
28 (void)optValueSize; in SetExtSocketOpt()
32 int32_t GetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *optValueSize) in GetExtSocketOpt() argument
38 (void)optValueSize; in GetExtSocketOpt()
H A Dclient_trans_socket_service.c251 int32_t SetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t optValueSize) in SetSocketOpt() argument
257 if (optValueSize <= 0) { in SetSocketOpt()
258 TRANS_LOGE(TRANS_SDK, "invalid optValueSize."); in SetSocketOpt()
268 ret = SetExtSocketOpt(socket, level, optType, optValue, optValueSize); in SetSocketOpt()
274 int32_t GetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *optValueSize) in GetSocketOpt() argument
280 if (optValueSize == NULL) { in GetSocketOpt()
281 TRANS_LOGE(TRANS_SDK, "invalid optValueSize."); in GetSocketOpt()
291 ret = GetExtSocketOpt(socket, level, optType, optValue, optValueSize); in GetSocketOpt()
/foundation/communication/dsoftbus/sdk/transmission/session/include/
H A Dclient_trans_socket_option.h26 int32_t SetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, uint32_t optValueSize);
27 int32_t GetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *optValueSize);
/foundation/communication/dsoftbus/interfaces/inner_kits/transport/
H A Dinner_socket.h109 * @param optValueSize Indicates the length of the option value to set.
111 * @return Returns <b>SOFTBUS_INVALID_PARAM</b> if <b>optValue</b> is <b>NULL</b> or <b>optValueSize</b> is zero.
116 int32_t SetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t optValueSize);
125 * @param optValueSize Indicates the pointer to the optValue size to get, which cannot be <b>NULL</b>.
127 * @return Returns <b>SOFTBUS_INVALID_PARAM</b> if <b>optValue</b> is <b>NULL</b> or <b>optValueSize</b> is <b>NULL</b>.
132 int32_t GetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *optValueSize);

Completed in 2 milliseconds