/third_party/musl/src/network/ |
D | lookup_serv.c | 12 int __lookup_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, i… in __lookup_serv() argument 19 switch (socktype) { in __lookup_serv() 45 buf[0].socktype = socktype; in __lookup_serv() 57 buf[cnt].socktype = SOCK_STREAM; in __lookup_serv() 62 buf[cnt].socktype = SOCK_DGRAM; in __lookup_serv() 102 buf[cnt].socktype = SOCK_DGRAM; in __lookup_serv() 108 buf[cnt].socktype = SOCK_STREAM; in __lookup_serv()
|
D | getaddrinfo.c | 25 int family = AF_UNSPEC, flags = 0, proto = 0, socktype = 0; in getaddrinfo() local 34 socktype = hint->ai_socktype; in getaddrinfo() 95 nservs = __lookup_serv(ports, serv, proto, socktype, flags); in getaddrinfo() 117 .ai_socktype = ports[j].socktype, in getaddrinfo()
|
D | lookup.h | 42 unsigned char proto, socktype; member 59 …up_serv(struct service buf[static MAXSERVS], const char *name, int proto, int socktype, int flags);
|
/third_party/openssl/crypto/bio/ |
D | b_sock2.c | 40 int BIO_socket(int domain, int socktype, int protocol, int options) in BIO_socket() argument 47 sock = socket(domain, socktype, protocol); in BIO_socket() 209 int socktype; in BIO_listen() local 210 socklen_t socktype_len = sizeof(socktype); in BIO_listen() 218 (void *)&socktype, &socktype_len) != 0 in BIO_listen() 219 || socktype_len != sizeof(socktype)) { in BIO_listen() 266 if (socktype != SOCK_DGRAM && listen(sock, MAX_LISTEN) == -1) { in BIO_listen()
|
D | b_addr.c | 567 static int addrinfo_wrap(int family, int socktype, in addrinfo_wrap() argument 578 (*bai)->bai_socktype = socktype; in addrinfo_wrap() 579 if (socktype == SOCK_STREAM) in addrinfo_wrap() 581 if (socktype == SOCK_DGRAM) in addrinfo_wrap() 618 int family, int socktype, BIO_ADDRINFO **res) in BIO_lookup() argument 620 return BIO_lookup_ex(host, service, lookup_type, family, socktype, 0, res); in BIO_lookup() 646 int family, int socktype, int protocol, BIO_ADDRINFO **res) in BIO_lookup_ex() argument 669 if (addrinfo_wrap(family, socktype, host, strlen(host), 0, res)) in BIO_lookup_ex() 688 hints.ai_socktype = socktype; in BIO_lookup_ex() 846 switch (socktype) { in BIO_lookup_ex() [all …]
|
/third_party/libusb/libusb/os/ |
D | linux_netlink.c | 56 static int set_fd_cloexec_nb(int fd, int socktype) in set_fd_cloexec_nb() argument 62 if (!(socktype & SOCK_CLOEXEC)) { in set_fd_cloexec_nb() 77 if (!(socktype & SOCK_NONBLOCK)) { in set_fd_cloexec_nb() 96 int socktype = SOCK_RAW | SOCK_NONBLOCK | SOCK_CLOEXEC; in linux_netlink_start_event_monitor() local 100 linux_netlink_socket = socket(PF_NETLINK, socktype, NETLINK_KOBJECT_UEVENT); in linux_netlink_start_event_monitor() 102 usbi_dbg("failed to create netlink socket of type %d, attempting SOCK_RAW", socktype); in linux_netlink_start_event_monitor() 103 socktype = SOCK_RAW; in linux_netlink_start_event_monitor() 104 linux_netlink_socket = socket(PF_NETLINK, socktype, NETLINK_KOBJECT_UEVENT); in linux_netlink_start_event_monitor() 112 ret = set_fd_cloexec_nb(linux_netlink_socket, socktype); in linux_netlink_start_event_monitor()
|
/third_party/python/Lib/logging/ |
D | handlers.py | 845 facility=LOG_USER, socktype=None): argument 861 self.socktype = socktype 875 if socktype is None: 876 socktype = socket.SOCK_DGRAM 878 ress = socket.getaddrinfo(host, port, 0, socktype) 882 af, socktype, proto, _, sa = res 885 sock = socket.socket(af, socktype, proto) 886 if socktype == socket.SOCK_STREAM: 896 self.socktype = socktype 899 use_socktype = self.socktype [all …]
|
/third_party/openssl/doc/man3/ |
D | BIO_ADDRINFO.pod | 25 int family, int socktype, int protocol, BIO_ADDRINFO **res); 28 int family, int socktype, BIO_ADDRINFO **res); 47 be if B<host> is B<NULL>. B<family>, B<socktype> and B<protocol> are used to 50 AF_UNSPEC. B<socktype> can be SOCK_STREAM, SOCK_DGRAM or 0. Specifying 0
|
D | BIO_connect.pod | 12 int BIO_socket(int domain, int socktype, int protocol, int options); 22 B<socktype> and B<protocol>. Socket B<options> are currently unused,
|
/third_party/python/Lib/test/support/ |
D | socket_helper.py | 15 def find_unused_port(family=socket.AF_INET, socktype=socket.SOCK_STREAM): argument 71 with socket.socket(family, socktype) as tempsock:
|
/third_party/toybox/lib/ |
D | net.c | 19 struct addrinfo *xgetaddrinfo(char *host, char *port, int family, int socktype, in xgetaddrinfo() argument 27 info.ai_socktype = socktype; in xgetaddrinfo()
|
D | lib.h | 351 struct addrinfo *xgetaddrinfo(char *host, char *port, int family, int socktype,
|
/third_party/python/Lib/ |
D | socket.py | 825 af, socktype, proto, canonname, sa = res 828 sock = socket(af, socktype, proto) 956 af, socktype, proto, canonname, sa = res 958 _intenum_converter(socktype, SocketKind),
|
/third_party/curl/lib/ |
D | connect.h | 99 int socktype; member
|
D | connect.c | 1199 addr.socktype == SOCK_STREAM; in singleipconnect() 1201 is_tcp = (addr.family == AF_INET) && addr.socktype == SOCK_STREAM; in singleipconnect() 1578 addr->socktype = (conn->transport == TRNSPRT_TCP) ? SOCK_STREAM : SOCK_DGRAM; in Curl_socket() 1605 *sockfd = socket(addr->family, addr->socktype, addr->protocol); in Curl_socket() 1624 if(addr->socktype == SOCK_DGRAM) { in Curl_socket()
|
/third_party/curl/tests/libtest/ |
D | lib500.c | 38 return socket(addr->family, addr->socktype, addr->protocol); in tst_opensocket()
|
/third_party/openssl/include/openssl/ |
D | bio.h | 673 int family, int socktype, BIO_ADDRINFO **res); 675 int lookup_type, int family, int socktype, int protocol, 707 int BIO_socket(int domain, int socktype, int protocol, int options);
|
/third_party/python/Lib/asyncio/ |
D | base_events.py | 1465 af, socktype, proto, canonname, sa = res 1467 sock = socket.socket(af, socktype, proto) 1473 af, socktype, proto, exc_info=True)
|
/third_party/toybox/porting/liteos_a/lib/ |
D | lib.h | 352 struct addrinfo *xgetaddrinfo(char *host, char *port, int family, int socktype,
|
/third_party/boost/boost/asio/detail/impl/ |
D | socket_ops.ipp | 3165 inline int gai_port(addrinfo_type* aihead, int port, int socktype) 3181 else if (ai->ai_socktype != socktype) 3187 ai->ai_socktype = socktype; 3295 int flags, int family, int socktype, int protocol) 3313 if (socktype != 0 && socktype != SOCK_STREAM && socktype != SOCK_DGRAM)
|
/third_party/boost/libs/asio/include/boost/asio/detail/impl/ |
D | socket_ops.ipp | 3165 inline int gai_port(addrinfo_type* aihead, int port, int socktype) 3181 else if (ai->ai_socktype != socktype) 3187 ai->ai_socktype = socktype; 3295 int flags, int family, int socktype, int protocol) 3313 if (socktype != 0 && socktype != SOCK_STREAM && socktype != SOCK_DGRAM)
|
/third_party/python/Modules/ |
D | socketmodule.c | 6439 int family, socktype, protocol, flags; local 6444 socktype = protocol = flags = 0; 6447 kwnames, &hobj, &pobj, &family, &socktype, 6495 hobj, pobj, family, socktype, protocol) < 0) { 6501 hints.ai_socktype = socktype;
|
/third_party/python/Doc/library/ |
D | logging.handlers.rst | 609 .. class:: SysLogHandler(address=('localhost', SYSLOG_UDP_PORT), facility=LOG_USER, socktype=socket… 619 *socktype* argument, which defaults to :const:`socket.SOCK_DGRAM` and thus 633 *socktype* was added.
|
D | socket.rst | 1919 af, socktype, proto, canonname, sa = res 1921 s = socket.socket(af, socktype, proto) 1954 af, socktype, proto, canonname, sa = res 1956 s = socket.socket(af, socktype, proto)
|
/third_party/curl/include/curl/ |
D | curl.h | 408 int socktype; member
|