/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/src/ |
H A D | socket_opt.c | 50 static FILLP_INT SockGetSockOptFillp(struct FtSocket *sock, FILLP_INT optName, void *optVal, FILLP_INT *optLen) in SockGetSockOptFillp() argument 53 switch (optName) { in SockGetSockOptFillp() 99 FILLP_INT optName, in SockGetSockOpt() 120 if ((optName == SO_ERROR) && (level == SOL_SOCKET)) { in SockGetSockOpt() 135 err = SockGetSockOptFillp(sock, optName, optVal, optLen); in SockGetSockOpt() 142 err = osSock->ioSock->ops->getsockopt(osSock->ioSock, level, optName, optVal, optLen); in SockGetSockOpt() 265 FILLP_INT optName, FILLP_CONST void *optVal, socklen_t optLen) in SockSetSockOptFillp() 268 switch (optName) { in SockSetSockOptFillp() 291 FILLP_INT optName, in SockSetSockOpt() 306 if ((level == SOL_SOCKET) && ((optName in SockSetSockOpt() 96 SockGetSockOpt( FILLP_INT sockIndex, FILLP_INT level, FILLP_INT optName, void *optVal, FILLP_INT *optLen) SockGetSockOpt() argument 264 SockSetSockOptFillp(struct FtSocket *sock, FILLP_INT optName, FILLP_CONST void *optVal, socklen_t optLen) SockSetSockOptFillp() argument 288 SockSetSockOpt( FILLP_INT sockIndex, FILLP_INT level, FILLP_INT optName, FILLP_CONST void *optVal, socklen_t optLen) SockSetSockOpt() argument [all...] |
H A D | api.c | 1035 * optName: Optname options are passed uninterpreted to system interface. 1043 FILLP_INT optName, in FtGetSockOpt() 1047 return SockGetSockOpt(fd, level, optName, optVal, optLen); in FtGetSockOpt() 1058 * optName: Optname options are passed uninterpreted to system interface. 1066 FILLP_INT optName, in FtSetSockOpt() 1070 return SockSetSockOpt(fd, level, optName, optVal, optLen); in FtSetSockOpt() 1040 FtGetSockOpt( FILLP_INT fd, FILLP_INT level, FILLP_INT optName, void *optVal, FILLP_INT *optLen) FtGetSockOpt() argument 1063 FtSetSockOpt( FILLP_INT fd, FILLP_INT level, FILLP_INT optName, FILLP_CONST void *optVal, socklen_t optLen) FtSetSockOpt() argument
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/app_lib/include/ |
H A D | socket_opt.h | 25 FILLP_INT SockGetSockOpt(FILLP_INT sockIndex, FILLP_INT level, FILLP_INT optName, void *optVal, FILLP_INT *optLen); 27 FILLP_INT SockSetSockOpt(FILLP_INT sockIndex, FILLP_INT level, FILLP_INT optName,
|
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/ |
H A D | network_mock.cpp | 46 int32_t SoftBusSocketSetOpt(int32_t socketFd, int32_t level, int32_t optName, const void *optVal, int32_t optLen) in SoftBusSocketSetOpt() argument 48 return GetNetworkInterface()->SoftBusSocketSetOpt(socketFd, level, optName, optVal, optLen); in SoftBusSocketSetOpt()
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/ |
H A D | sysio.h | 48 int (*getsockopt)(void *argSock, FILLP_INT level, FILLP_INT optName, void *optVal, FILLP_INT *optLen); 49 int (*setsockopt)(void *argSock, FILLP_INT level, FILLP_INT optName, FILLP_CONST void *optVal, socklen_t optLen);
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/ |
H A D | sysio_udp.c | 79 FILLP_INT optName, 85 FILLP_INT optName, 171 FILLP_INT optName, in SysioGetsockoptUdp() 177 return FILLP_GETSOCKOPT(udpSock->udpSock, level, optName, optVal, optLen); in SysioGetsockoptUdp() 183 FILLP_INT optName, in SysioSetsockoptUdp() 189 return FILLP_SETSOCKOPT(udpSock->udpSock, level, optName, optVal, optLen); in SysioSetsockoptUdp() 168 SysioGetsockoptUdp( void *arg, FILLP_INT level, FILLP_INT optName, void *optVal, FILLP_INT *optLen) SysioGetsockoptUdp() argument 180 SysioSetsockoptUdp( void *arg, FILLP_INT level, FILLP_INT optName, FILLP_CONST void *optVal, socklen_t optLen) SysioSetsockoptUdp() argument
|
/foundation/communication/dsoftbus/adapter/common/kernel/posix/ |
H A D | softbus_adapter_socket.c | 111 int32_t SoftBusSocketSetOpt(int32_t socketFd, int32_t level, int32_t optName, const void *optVal, int32_t optLen) in SoftBusSocketSetOpt() argument 113 int32_t ret = setsockopt(socketFd, level, optName, optVal, (socklen_t)optLen); in SoftBusSocketSetOpt() 122 int32_t SoftBusSocketGetOpt(int32_t socketFd, int32_t level, int32_t optName, void *optVal, int32_t *optLen) in SoftBusSocketGetOpt() argument 124 int32_t ret = getsockopt(socketFd, level, optName, optVal, (socklen_t *)optLen); in SoftBusSocketGetOpt()
|
/foundation/communication/dsoftbus/adapter/common/include/ |
H A D | softbus_adapter_socket.h | 140 int32_t SoftBusSocketSetOpt(int32_t socketFd, int32_t level, int32_t optName, const void *optVal, int32_t optLen); 141 int32_t SoftBusSocketGetOpt(int32_t socketFd, int32_t level, int32_t optName, void *optVal, int32_t *optLen);
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/include/ |
H A D | callbacks.h | 419 IN FILLP_INT optName, 427 IN FILLP_INT optName,
|
/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/ |
H A D | network_mock.h | 48 int32_t socketFd, int32_t level, int32_t optName, const void *optVal, int32_t optLen) = 0;
|
/foundation/communication/dsoftbus/components/nstackx/fillp/include/ |
H A D | fillpcallbacks.h | 183 * @param[in] optName Indicates the socket option name. 191 IN FILLP_INT optName, IN FILLP_CONST void *optVal, IN FILLP_INT optLen); 200 * @param[in] optName Indicates the socket option name. 208 IN FILLP_INT optName, IO void *optVal, IO FILLP_INT *optLen);
|
H A D | fillpinc.h | 557 * @param[in] optName Indicates the Optname options which are passed uninterpreted to system interface. 564 extern FILLP_INT DLL_API FtGetSockOpt(FILLP_INT fd, FILLP_INT level, FILLP_INT optName, 576 * @param[in] optName Indicates the Optname options which are passed uninterpreted to system interface. 583 extern FILLP_INT DLL_API FtSetSockOpt(FILLP_INT fd, FILLP_INT level, FILLP_INT optName,
|
/foundation/communication/dsoftbus/components/nstackx/fillp/src/public/src/ |
H A D | callbacks.c | 1146 FILLP_INT FillpFuncSetSockOpt(IN FILLP_INT sockFd, IN FILLP_INT level, IN FILLP_INT optName, in FillpFuncSetSockOpt() argument 1149 return setsockopt(sockFd, level, optName, optVal, (socklen_t)optLen); in FillpFuncSetSockOpt() 1152 FILLP_INT FillpFuncGetSockOpt(IN FILLP_INT sockFd, IN FILLP_INT level, IN FILLP_INT optName, IO void *optVal, in FillpFuncGetSockOpt() argument 1156 return getsockopt(sockFd, level, optName, (char *)optVal, (int *)optLen); in FillpFuncGetSockOpt() 1158 return getsockopt(sockFd, level, optName, optVal, (socklen_t *)optLen); in FillpFuncGetSockOpt()
|