Home
last modified time | relevance | path

Searched +full:getsockopt +full:- +full:timeouts (Results 1 – 21 of 21) sorted by relevance

/third_party/rust/crates/rustix/.github/workflows/
Dtest-users.yml10 runs-on: ${{ matrix.os }}
15 …build: [ubuntu, i686-linux, aarch64-linux, powerpc64le-linux, riscv64-linux, mipsel-linux, mips64e…
17 - build: ubuntu
18 os: ubuntu-latest
20 - build: i686-linux
21 os: ubuntu-latest
23 target: i686-unknown-linux-gnu
24 gcc_package: gcc-i686-linux-gnu
25 gcc: i686-linux-gnu-gcc
26 libc_package: libc-dev-i386-cross
[all …]
Dmain.yml6 - main
13 runs-on: ubuntu-latest
15 - uses: actions/checkout@v3
18 - uses: ./.github/actions/install-rust
21 - run: cargo fmt --all -- --check
25 runs-on: ${{ matrix.os }}
30 - build: stable
31 os: ubuntu-latest
33 - build: nightly
34 os: ubuntu-latest
[all …]
/third_party/toybox/lib/
Dnet.c15 if (-1 == setsockopt(fd, level, opt, val, len)) perror_exit("setsockopt"); in xsetsockopt()
43 int fd = -1, one = 1; in xconnbind()
46 for (ai = ai_arg; ai; ai = ai->ai_next) { in xconnbind()
47 fd = (ai->ai_next ? socket : xsocket)(ai->ai_family, ai->ai_socktype, in xconnbind()
48 ai->ai_protocol); in xconnbind()
50 if (!(dobind ? bind : connect)(fd, ai->ai_addr, ai->ai_addrlen)) break; in xconnbind()
51 else if (!ai->ai_next) perror_exit_raw(dobind ? "bind" : "connect"); in xconnbind()
90 timeout -= now-then; in xpoll()
97 // half-connection shutdown. timeouts return if no data for X ms.
100 /* fix "netcat -q" fail problem */
[all …]
/third_party/python/Doc/library/
Dsocket.rst1 :mod:`socket` --- Low-level networking interface
5 :synopsis: Low-level networking interface.
9 --------------
20 .. include:: ../includes/wasm-notavail.rst
25 call and library interface for sockets to Python's object-oriented style: the
27 the various socket system calls. Parameter types are somewhat higher-level than
43 ---------------
52 - The address of an :const:`AF_UNIX` socket bound to a file system node
55 Linux's abstract namespace is returned as a :term:`bytes-like object` with
59 bytes-like object can be used for either type of address when
[all …]
/third_party/openssl/include/openssl/
Dbio.h.in2 * {- join("\n * ", @autowarntext) -}
4 * Copyright 1995-2022 The OpenSSL Project Authors. All Rights Reserved.
11 {-
13 -}
84 # define BIO_CTRL_RESET 1/* opt - rewind/zero etc */
85 # define BIO_CTRL_EOF 2/* opt - are we at the eof */
86 # define BIO_CTRL_INFO 3/* opt - extra tit-bits */
87 # define BIO_CTRL_SET 4/* man - set the 'IO' type */
88 # define BIO_CTRL_GET 5/* man - get the 'IO' type */
89 # define BIO_CTRL_PUSH 6/* opt - internal, used to signify change */
[all …]
/third_party/lwip/
DCHANGELOG7 * [Enter new changes just after this line - do not remove this line]
11 2025-06-03: Simon Goldschmidt
12 * ip4_frag/ip6_frag: fix potential NULL-pointer access on memory errors
14 (STABLE-2.2.1):
18 2023-10-11: Faidon Liambotis
21 2023-09-29: Jiri Findejs
26 2024-02-19: Simon Goldschmidt
29 2024-01-09: Simon Goldschmidt
30 * snmp v3, ppp: prevent possible timing attacks by using a constant-runtime-memcmp when
33 2023-01-04: Simon Goldschmidt
[all …]
/third_party/curl/lib/
Dmulti.c21 * SPDX-License-Identifier: curl
60 to 911 takes on a 32-bit machine 4 x 804 = 3211 more bytes. Still, every
61 CURL handle takes 45-50 K memory, therefore this 3K are not significant.
82 (((x) && (x)->magic == CURL_MULTI_HANDLE)? TRUE: \
86 ((x) && (x)->magic == CURL_MULTI_HANDLE)
125 data->req.chunk = FALSE; in before_perform()
146 CURLMstate oldstate = data->mstate; in mstate()
175 data->mstate = state; in mstate()
178 if(data->mstate >= MSTATE_PENDING && in mstate()
179 data->mstate < MSTATE_COMPLETED) { in mstate()
[all …]
/third_party/libuv/src/unix/
Dstream.c88 stream->read_cb = NULL; in uv__stream_init()
89 stream->alloc_cb = NULL; in uv__stream_init()
90 stream->close_cb = NULL; in uv__stream_init()
91 stream->connection_cb = NULL; in uv__stream_init()
92 stream->connect_req = NULL; in uv__stream_init()
93 stream->shutdown_req = NULL; in uv__stream_init()
94 stream->accepted_fd = -1; in uv__stream_init()
95 stream->queued_fds = NULL; in uv__stream_init()
96 stream->delayed_error = 0; in uv__stream_init()
97 uv__queue_init(&stream->write_queue); in uv__stream_init()
[all …]
/third_party/python/Lib/test/
Dtest_socket.py44 MSG = 'Michael Gilfix was here\u1234\r\n'.encode('utf-8')
205 """Subclass of unittest.TestCase with thread-safe cleanup methods.
523 """Socket tests for client-server connection.
587 # gives a drop-in replacement for SocketConnectedTest, but different
690 """Base class for Unix-domain socket tests."""
708 """Base class for Unix-domain SOCK_STREAM tests."""
727 """Base class for TCP-over-IPv4 tests."""
733 """Base class for UDP-over-IPv4 tests."""
739 """Base class for UDPLITE-over-IPv4 tests."""
745 """Base class for SCTP tests in one-to-one (SOCK_STREAM) mode."""
[all …]
/third_party/python/Lib/
Dsocket.py12 socket() -- create a new socket object
13 socketpair() -- create a pair of new socket objects [*]
14 fromfd() -- create a socket object from an open file descriptor [*]
15 send_fds() -- Send file descriptor to the socket.
16 recv_fds() -- Receive file descriptors from the socket.
17 fromshare() -- create a socket object from data received from socket.share() [*]
18 gethostname() -- return the current hostname
19 gethostbyname() -- map a hostname to its IP number
20 gethostbyaddr() -- map an IP number or hostname to DNS info
21 getservbyname() -- map a service name and a protocol name to a port number
[all …]
/third_party/python/Modules/
Dsocketmodule.c9 - Only AF_INET, AF_INET6 and AF_UNIX address families are supported in a
12 - No read/write operations (use sendall/recv or makefile instead).
13 - Additional restrictions apply on some non-Unix platforms (compensated
18 - socket.error: exception raised for socket specific errors, alias for OSError
19 - socket.gaierror: exception raised for getaddrinfo/getnameinfo errors,
21 - socket.herror: exception raised for gethostby* errors,
23 - socket.gethostbyname(hostname) --> host IP address (string: 'dd.dd.dd.dd')
24 - socket.gethostbyaddr(IP address) --> (hostname, [alias, ...], [IP addr, ...])
25 - socket.gethostname() --> host name (string: 'spam' or 'spam.domain.com')
26 - socket.getprotobyname(protocolname) --> protocol number
[all …]
/third_party/lwip/src/include/lwip/
Dopt.h8 * Copyright (c) 2001-2004 Swedish Institute of Computer Science.
40 * NOTE: || defined __DOXYGEN__ is a workaround for doxygen bug -
64 * @defgroup lwip_opts_callback Callback-style APIs
67 * @defgroup lwip_opts_threadsafe_apis Thread-safe APIs
72 ------------------------------------
73 -------------- NO SYS --------------
74 ------------------------------------
82 * NO_SYS==1: Use lwIP without OS-awareness (no thread, semaphores, mutexes or
84 * i.e. everything in the 'api' folder), only the callback-style raw API is
101 * LWIP_TIMERS==0: Drop support for sys_timeout and lwip-internal cyclic timers.
[all …]
/third_party/skia/third_party/externals/microhttpd/src/include/
Dmicrohttpd.h3 Copyright (C) 2006-2015 Christian Grothoff (and other contributing authors)
17 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
36 * -- such as range requests -- and HTTP methods are left to clients.
44 * (at the moment only "application/x-www-form-urlencoded" and
59 * thread-safe (with the exception of #MHD_set_connection_value,
71 * @defgroup event event-loop control
92 #if 0 /* keep Emacsens' auto-indent happy */
97 /* While we generally would like users to use a configure-driven
100 to build out-of-the-box for beginning users on common systems.
131 * 0x01093001 = 1.9.30-1.
[all …]
/third_party/libabigail/tests/data/test-types-stability/
Dpr27980-libc.so__cxa_finalize __dso_handle __register_atfork pthread_atfork __aeabi_memcpy __aeabi_read_tp __stack_chk_fail __stack_chk_guard android_unsafe_frame_pointer_chase getprogname strncmp __errno abort android_run_on_all_threads mprotect prctl strerror dlerror dlopen ...
/third_party/libbpf/include/uapi/linux/
Dbpf.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
21 #define BPF_DW 0x18 /* double word (64-bit) */
23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */
24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */
32 #define BPF_TO_LE 0x00 /* convert to little-endian */
33 #define BPF_TO_BE 0x08 /* convert to big-endian */
51 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
69 /* BPF has 10 general purpose 64-bit registers and stack frame. */
94 BPF_CGROUP_ITER_DESCENDANTS_PRE, /* walk descendants in pre-order. */
[all …]
/third_party/python/Doc/whatsnew/
D2.7.rst41 sufficient; the e-mail address isn't necessary.
56 floating-point numbers and for the :class:`~decimal.Decimal` class.
59 for parsing command-line options, convenient :class:`~collections.OrderedDict`
77 .. _whatsnew27-python31:
101 Some key consequences of the long-term significance of 2.7 are:
107 release, compared to the more typical support period of 18--24 months).
127 :ref:`py27-maintenance-enhancements` section below.
133 The recommended starting point is the :ref:`pyporting-howto` HOWTO guide.
144 on stdlib-sig and carried out in :issue:`7319`.)
151 However, there are increasingly many users of Python-based
[all …]
/third_party/cups/tools/
Dipptool.c4 * Copyright © 2021-2024 by OpenPrinting.
6 * Copyright © 2007-2021 by Apple Inc.
7 * Copyright © 1997-2007 by Easy Software Products.
17 #include <cups/cups-private.h>
40 #define MAX_MONITOR 10 // Maximum number of MONITOR-PRINTER-STATE EXPECT directives
61 IPPTOOL_OUTPUT_CSV, /* Comma-separated values output */
88 *define_no_match, /* Variable to define on no-match */
94 with_distinct, /* WITH-DISTINCT-VALUES? */
97 ipp_tag_t in_group; /* IN-GROUP value */
106 *define_no_match, /* Variable to define on no-match */
[all …]
/third_party/python/Misc/
DHISTORY2 --------------
13 Release date: 2017-01-17
21 Release date: 2017-01-02
24 -----------------
26 - Issue #28648: Fixed crash in Py_DecodeLocale() in debug build on Mac OS X
29 - Issue #28426: Fixed potential crash in PyUnicode_AsDecodedObject() in debug
33 -------
35 - Issue #28563: Fixed possible DoS and arbitrary code execution when handle
39 - In the curses module, raise an error if window.getstr() or window.instr() is
42 - Issue #27783: Fix possible usage of uninitialized memory in operator.methodcaller.
[all …]
/third_party/NuttX/
DReleaseNotes14 "nuttx-6.27").
16 NuttX-0.1.0
17 -----------
23 This release has been verified on both the Linux user-mode and C5471
25 for the C5471 can be found in arch/c5471/doc/test-results.txt.
29 NuttX-0.1.1
30 -----------
42 This release has been verified on the Linux user-mode platform, the
51 NuttX-0.1.2
52 -----------
[all …]
/third_party/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi1 <abi-corpus-group architecture="elf-arm-aarch64">
2 <abi-corpus path="vmlinux" architecture="elf-arm-aarch64">
3 <elf-function-symbols>
4 …<elf-symbol name="device_add_disk" type="func-type" binding="global-binding" visibility="default-v…
5 </elf-function-symbols>
6 …<abi-instr version="1.0" address-size="64" path="arch/arm64/crypto/aes-cipher-glue.c" language="LA…
7 <type-decl name="__ARRAY_SIZE_TYPE__" size-in-bits="64" id="7ff19f0f"/>
8 <array-type-def dimensions="1" type-id="3f1a6b60" size-in-bits="64" id="839e8989">
9 <subrange length="2" type-id="7ff19f0f" id="52efc4ef"/>
10 </array-type-def>
[all …]
Dtest-PR27569-v0.abi1 <abi-corpus-group architecture="elf-arm-aarch64">
2 <abi-corpus path="vmlinux" architecture="elf-arm-aarch64">
3 <elf-function-symbols>
4 …<elf-symbol name="device_add_disk" type="func-type" binding="global-binding" visibility="default-v…
5 </elf-function-symbols>
6 …<abi-instr version="1.0" address-size="64" path="arch/arm64/crypto/aes-cipher-glue.c" language="LA…
7 <type-decl name="__ARRAY_SIZE_TYPE__" size-in-bits="64" id="7ff19f0f"/>
8 <array-type-def dimensions="1" type-id="3f1a6b60" size-in-bits="64" id="839e8989">
9 <subrange length="2" type-id="7ff19f0f" id="52efc4ef"/>
10 </array-type-def>
[all …]