/reactos/dll/win32/ws2_32/src/ |
H A D | sockctrl.c | 275 IN OUT INT FAR* optlen) in getsockopt() argument 297 if (!(optlen) || (*optlen < sizeof(DWORD))) in getsockopt() 307 *optlen = sizeof(DWORD); in getsockopt() 330 !(optlen) || in getsockopt() 334 *optlen = sizeof(WSAPROTOCOL_INFOA); in getsockopt() 340 OldOptLen = *optlen; in getsockopt() 344 *optlen = sizeof(WSAPROTOCOL_INFOW); in getsockopt() 389 *optlen = OldOptLen; in getsockopt() 425 IN INT optlen) in setsockopt() argument 441 if (optlen < sizeof(DWORD)) in setsockopt() [all …]
|
/reactos/drivers/network/tcpip/lwip/src/core/ |
H A D | tcp_out.c | 164 u8_t optlen; in tcp_create_segment() local 180 seg->len = p->tot_len - optlen; in tcp_create_segment() 399 u8_t optlen; in tcp_write() local 603 u16_t max_len = mss_local - optlen; in tcp_write() 834 u8_t optlen; in tcp_split_unsent_seg() local 1041 u8_t optlen = 0; in tcp_enqueue_flags() local 1086 (p->len >= optlen)); in tcp_enqueue_flags() 1177 optlen += 12; in tcp_get_num_sacks() 1183 optlen += 8; in tcp_get_num_sacks() 1986 u8_t optlen; in tcp_rst_common() local [all …]
|
/reactos/drivers/network/tcpip/lwip/src/api/ |
H A D | sockets.c | 206 #define LWIP_SOCKOPT_CHECK_OPTLEN(sock, optlen, opttype) do { if ((optlen) < sizeof(opttype)) { don… argument 208 LWIP_SOCKOPT_CHECK_OPTLEN(sock, optlen, opttype); \ 211 LWIP_SOCKOPT_CHECK_OPTLEN(sock, optlen, opttype); \ 2817 if ((NULL == optval) || (NULL == optlen)) { in lwip_getsockopt() 2833 if (*optlen > LWIP_SETGETSOCKOPT_MAXOPTLEN) { in lwip_getsockopt() 2844 LWIP_SETGETSOCKOPT_DATA_VAR_REF(data).optlen = *optlen; in lwip_getsockopt() 2864 *optlen = LWIP_SETGETSOCKOPT_DATA_VAR_REF(data).optlen; in lwip_getsockopt() 2897 &data->optlen); in lwip_getsockopt_callback() 3279 if (optlen > LWIP_SETGETSOCKOPT_MAXOPTLEN) { in lwip_setsockopt() 3290 LWIP_SETGETSOCKOPT_DATA_VAR_REF(data).optlen = optlen; in lwip_setsockopt() [all …]
|
/reactos/modules/rosapps/applications/net/ncftp/sio/ |
H A D | SConnect.c | 45 int optlen; in SConnect() 170 optlen = sizeof(optval); in SConnect() 171 if (getsockopt(sfd, SOL_SOCKET, SO_ERROR, &optval, &optlen) == 0) { in SConnect()
|
/reactos/drivers/network/tcpip/lwip/src/core/ipv4/ |
H A D | ip4.c | 838 u16_t optlen) argument 850 ip_options, optlen); 876 u16_t optlen) argument 895 if (optlen != 0) { 899 if (optlen > (IP_HLEN_MAX - IP_HLEN)) { 907 optlen_aligned = (u16_t)((optlen + 3) & ~3); 916 MEMCPY(p->payload, ip_options, optlen); 917 if (optlen < optlen_aligned) { 919 memset(((char *)p->payload) + optlen, 0, (size_t)(optlen_aligned - optlen));
|
/reactos/drivers/network/tcpip/lwip/src/include/lwip/ |
H A D | sockets.h | 600 int lwip_getsockopt (int s, int level, int optname, void *optval, socklen_t *optlen); 601 int lwip_setsockopt (int s, int level, int optname, const void *optval, socklen_t optlen); 643 #define setsockopt(s,level,optname,opval,optlen) lwip_setsockopt(s,level,optname,opval,optlen) argument 645 #define getsockopt(s,level,optname,opval,optlen) lwip_getsockopt(s,level,optname,opval,optlen) argument
|
H A D | ip4.h | 85 u16_t optlen); 88 u16_t optlen);
|
H A D | opt.h | 2865 #define LWIP_HOOK_TCP_INPACKET_PCB(pcb, hdr, optlen, opt1len, opt2, p) argument 3244 #define LWIP_HOOK_SOCKETS_SETSOCKOPT(s, sock, level, optname, optval, optlen, err) argument 3267 #define LWIP_HOOK_SOCKETS_GETSOCKOPT(s, sock, level, optname, optval, optlen, err) argument
|
/reactos/drivers/network/tcpip/lwip/src/netif/ppp/ |
H A D | ccp.c | 1525 int optlen; in ccp_printpkt() local 1552 optlen = p[1]; in ccp_printpkt() 1553 if (optlen < 2 || optlen > len) in ccp_printpkt() 1556 len -= optlen; in ccp_printpkt() 1557 optend = p + optlen; in ccp_printpkt() 1561 if (optlen >= CILEN_MPPE) { in ccp_printpkt() 1583 if (optlen >= CILEN_DEFLATE) { in ccp_printpkt() 1597 if (optlen >= CILEN_BSD_COMPRESS) { in ccp_printpkt() 1606 if (optlen >= CILEN_PREDICTOR_1) { in ccp_printpkt() 1612 if (optlen >= CILEN_PREDICTOR_2) { in ccp_printpkt()
|
/reactos/drivers/network/tcpip/lwip/src/include/lwip/priv/ |
H A D | sockets_priv.h | 122 socklen_t optlen; member
|
/reactos/sdk/include/psdk/ |
H A D | winsock.h | 597 _Out_writes_bytes_(*optlen) char FAR *optval, 598 _Inout_ int FAR *optlen); 687 _In_reads_bytes_opt_(optlen) const char FAR *optval, 688 _In_ int optlen);
|
H A D | winsock2.h | 1065 _Out_writes_bytes_(*optlen) char FAR *optval, 1066 _Inout_ int FAR *optlen); 1142 _In_reads_bytes_(optlen) const char FAR *optval, 1143 _In_ int optlen); 1794 _Out_writes_bytes_(*optlen) char FAR *optval, 1795 _Inout_ int FAR *optlen); 1897 _In_reads_bytes_opt_(optlen) const char FAR *optval, 1898 _In_ int optlen);
|
H A D | ws2spi.h | 168 _Out_writes_bytes_(*optlen) char FAR *optval, 169 _Inout_ LPINT optlen, 289 _In_reads_bytes_opt_(optlen) const char FAR *optval, 290 _In_ int optlen,
|
/reactos/dll/win32/msafd/misc/ |
H A D | dllmain.c | 2790 IN INT optlen, in WSPSetSockOpt() argument 2816 if (optlen < sizeof(BOOL)) in WSPSetSockOpt() 2825 if (optlen < sizeof(BOOL)) in WSPSetSockOpt() 2834 if (optlen < sizeof(BOOL)) in WSPSetSockOpt() 2843 if (optlen < sizeof(BOOL)) in WSPSetSockOpt() 2852 if (optlen < sizeof(BOOL)) in WSPSetSockOpt() 2872 if (optlen < sizeof(ULONG)) in WSPSetSockOpt() 2896 if (optlen < sizeof(ULONG)) in WSPSetSockOpt() 2924 if (optlen < sizeof(INT)) in WSPSetSockOpt() 2936 if (optlen < sizeof(DWORD)) in WSPSetSockOpt() [all …]
|
/reactos/dll/win32/msafd/ |
H A D | msafd.h | 273 IN OUT LPINT optlen, 398 IN INT optlen,
|
/reactos/sdk/include/reactos/winsock/ |
H A D | msafdlib.h | 674 IN OUT LPINT optlen, 799 IN INT optlen,
|
/reactos/drivers/network/tcpip/include/ |
H A D | tcpcore.h | 1225 int optname, char *optval, int optlen); 2394 int optlen); 2400 int *optlen); 2542 int *optlen); 2545 int optlen);
|
/reactos/modules/rostests/winetests/ws2_32/ |
H A D | sock.c | 4458 optlen = sizeof(int); in test_extendedSocketOptions() 4467 optlen = sizeof(int); in test_extendedSocketOptions() 4475 optlen = sizeof(int); in test_extendedSocketOptions() 4483 optlen = sizeof(int); in test_extendedSocketOptions() 4491 optlen = sizeof(int); in test_extendedSocketOptions() 4498 optlen = sizeof(LINGER); in test_extendedSocketOptions() 4521 optlen = sizeof(BOOL); in test_extendedSocketOptions() 5562 socklen_t optlen; in test_send() local 5661 optlen = sizeof(connect_time); in test_send() 5668 optlen = sizeof(connect_time); in test_send() [all …]
|
/reactos/sdk/tools/mkisofs/schilytools/mkisofs/ |
H A D | mkisofs.c | 1724 int optlen; local 1743 optlen = p - fmt; 1746 (optlen > 1 && twod) ? "--" : "-",
|