Home
last modified time | relevance | path

Searched refs:getservbyname (Results 1 – 25 of 39) sorted by relevance

12

/external/python/cpython2/Demo/sockets/
Dtelnet.py46 port = getservbyname(servname, 'tcp')
/external/python/cpython2/Demo/threads/
Dtelnet.py50 port = getservbyname(servname, 'tcp')
/external/ppp/pppd/plugins/radius/
Dconfig.c110 if ((svp = getservbyname ("radius", "udp")) == NULL) in set_option_srv()
115 if ((svp = getservbyname ("radacct", "udp")) == NULL) in set_option_srv()
/external/openssh/openbsd-compat/
Dfake-rfc2553.c175 else if ((sp = getservbyname(servname, NULL)) != NULL) in getaddrinfo()
/external/libcups/cups/
Dhttp-addrlist.c681 else if ((port = getservbyname(service, NULL)) != NULL) in httpAddrGetList()
808 else if ((port = getservbyname(service, NULL)) != NULL) in httpAddrGetList()
/external/iproute2/bridge/
Dfdb.c443 pse = getservbyname(*argv, "udp"); in fdb_modify()
/external/python/cpython2/Modules/
Dgetaddrinfo.c362 if ((sp = getservbyname(servname, proto)) == NULL) in getaddrinfo()
/external/python/cpython3/Modules/
Dgetaddrinfo.c362 if ((sp = getservbyname(servname, proto)) == NULL) in getaddrinfo()
/external/python/cpython3/Lib/
Dtelnetlib.py670 port = socket.getservbyname(portstr, 'tcp')
/external/python/cpython2/Lib/
Dtelnetlib.py783 port = socket.getservbyname(portstr, 'tcp')
/external/python/cpython2/Lib/test/
Dtest_socket.py434 port = socket.getservbyname(service, 'tcp')
441 port2 = socket.getservbyname(service)
445 udpport = socket.getservbyname(service, 'udp')
/external/mtools/
Dfloppyd.c568 if ((serv = getservbyname(portnum, "tcp")) != NULL) in getportnum()
/external/libevent/
Devent-config.h.cmake148 /* Define to 1 if you have the `getservbyname' function. */
Dconfig.h.in107 /* Define to 1 if you have the `getservbyname' function. */
Dconfigure.ac407 getservbyname
Devutil.c914 struct servent *ent = getservbyname(servname, protocol); in evutil_parse_servname()
DCMakeLists.txt443 getservbyname
/external/openssh/
Dmisc.c430 if ((se = getservbyname(s, "tcp")) != NULL) in a2port()
Dreadconf.c497 sp = getservbyname(SSH_SERVICE_NAME, "tcp"); in default_ssh_port()
/external/iproute2/misc/
Dss.c1633 se1 = getservbyname(port, UDP_PROTO); in parse_hostcond()
1635 se2 = getservbyname(port, TCP_PROTO); in parse_hostcond()
/external/python/cpython3/Doc/library/
Dsocket.rst874 .. function:: getservbyname(servicename[, protocolname])
880 .. audit-event:: socket.getservbyname servicename,protocolname socket.getservbyname
/external/rust/crates/libc/src/unix/
Dmod.rs1220 pub fn getservbyname(name: *const ::c_char, proto: *const ::c_char) -> *mut servent; in getservbyname() function
/external/iptables/libxtables/
Dxtables.c545 if ((service = getservbyname(name, proto)) != NULL) in xtables_service_to_port()
/external/libpcap/
Daclocal.m4939 dnl versions of gethostbyname() and getservbyname() on some platforms,
/external/python/cpython3/Lib/test/
Dtest_socket.py1157 port = socket.getservbyname(service, 'tcp')
1167 port2 = socket.getservbyname(service)
1171 udpport = socket.getservbyname(service, 'udp')

12