Home
last modified time | relevance | path

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

/ohos5.0/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 o… in SetExtSocketOpt() argument
27 (void)optValue; in SetExtSocketOpt()
32 int32_t GetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *o… in GetExtSocketOpt() argument
37 (void)optValue; in GetExtSocketOpt()
H A Dclient_trans_socket_service.c234 static int32_t CheckSocketOptParam(OptLevel level, OptType optType, void *optValue) in CheckSocketOptParam() argument
244 if (optValue == NULL) { in CheckSocketOptParam()
251 int32_t SetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t optVa… in SetSocketOpt() argument
253 int32_t ret = CheckSocketOptParam(level, optType, optValue); 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 *optV… in GetSocketOpt() argument
276 int32_t ret = CheckSocketOptParam(level, optType, optValue); in GetSocketOpt()
291 ret = GetExtSocketOpt(socket, level, optType, optValue, optValueSize); in GetSocketOpt()
/ohos5.0/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 o…
27 int32_t GetExtSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *o…
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/src/
H A Dclient_trans_stream_virtual.c52 int32_t TransSetStreamMultiLayer(int32_t channelId, const void *optValue) in TransSetStreamMultiLayer() argument
55 (void)optValue; in TransSetStreamMultiLayer()
H A Dclient_trans_stream.c217 int32_t TransSetStreamMultiLayer(int32_t channelId, const void *optValue) in TransSetStreamMultiLayer() argument
223 return SetVtpStreamMultiLayerOpt(channelId, optValue); in TransSetStreamMultiLayer()
/ohos5.0/foundation/communication/dsoftbus/interfaces/inner_kits/transport/
H A Dinner_socket.h116 int32_t SetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t optVa…
132 int32_t GetSocketOpt(int32_t socket, OptLevel level, OptType optType, void *optValue, int32_t *optV…
/ohos5.0/base/location/test/location_geofence/source/
H A Dlocation_gnss_geofence_callback_host_test.cpp154 GnssGeofenceOperateResult optValue = static_cast<GnssGeofenceOperateResult>(0); variable
155 callback->SetGeofenceOperationResult(optValue);
157 ASSERT_TRUE(optValue == optResult);
/ohos5.0/foundation/communication/dhcp/services/dhcp_client/src/
H A Ddhcp_client_state_machine.cpp1482 unsigned char optValue[VENDOR_MAX_LEN - DHCP_OPT_CODE_BYTES - DHCP_OPT_LEN_BYTES] = {0}; in AddClientIdToOpts() local
1483 optValue[DHCP_OPT_CODE_INDEX] = CLIENT_IDENTIFIER_OPTION; in AddClientIdToOpts()
1484 optValue[DHCP_OPT_LEN_INDEX] = MAC_ADDR_LEN + 1; in AddClientIdToOpts()
1485 optValue[DHCP_OPT_DATA_INDEX] = NUMBER_ONE; /* Generate format: 1 + ifaceMac. */ in AddClientIdToOpts()
1490 int optValueLen = DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + optValue[DHCP_OPT_LEN_INDEX]; in AddClientIdToOpts()
1492 AddOptStrToOpts(packet->options, optValue, optValueLen); in AddClientIdToOpts()
1527 unsigned char optValue[VENDOR_MAX_LEN] = {0}; in AddStrToOpts() local
1528 optValue[DHCP_OPT_CODE_INDEX] = option; in AddStrToOpts()
1529 optValue[DHCP_OPT_LEN_INDEX] = strlen(buf); in AddStrToOpts()
1535 int optValueLen = DHCP_OPT_CODE_BYTES + DHCP_OPT_LEN_BYTES + optValue[DHCP_OPT_LEN_INDEX]; in AddStrToOpts()
[all …]
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/src/
H A Dclient_trans_udp_stream_interface.cpp146 int32_t SetVtpStreamMultiLayerOpt(int32_t channelId, const void *optValue) in SetVtpStreamMultiLayerOpt() argument
148 if (optValue == nullptr) { in SetVtpStreamMultiLayerOpt()
162 return adaptor->GetStreamManager()->SetMultiLayer(optValue); in SetVtpStreamMultiLayerOpt()
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/include/
H A Dclient_trans_stream.h38 int32_t TransSetStreamMultiLayer(int32_t channelId, const void *optValue);
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/adaptor/include/
H A Dclient_trans_udp_stream_interface.h71 int32_t SetVtpStreamMultiLayerOpt(int32_t channelId, const void *optValue);
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/include/
H A Dclient_trans_udp_manager.h95 int32_t TransUdpChannelSetStreamMultiLayer(int32_t channelId, const void *optValue);
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/fillp/include/
H A Dfillpinc.h565 void *optValue, FILLP_INT *optLen);
584 FILLP_CONST void *optValue, socklen_t optLen);
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/common/src/
H A Dclient_trans_udp_manager.c504 int32_t TransUdpChannelSetStreamMultiLayer(int32_t channelId, const void *optValue) in TransUdpChannelSetStreamMultiLayer() argument
516 return TransSetStreamMultiLayer(channelId, optValue); in TransUdpChannelSetStreamMultiLayer()