Home
last modified time | relevance | path

Searched refs:getservbyport (Results 1 – 25 of 30) sorted by relevance

12

/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
Dares_platform.h39 struct servent *getservbyport(int port, const char *proto);
Dares_getnameinfo.c317 sep = getservbyport(port, proto); in lookup_service()
322 sep = getservbyport(port, (char*)proto); in lookup_service()
324 sep = getservbyport(port, proto); in lookup_service()
DCHANGES.017 o getservbyport replacement for Win CE
897 - Made ares_getnameinfo use the reentrant getservbyport (getservbyport_r) if it
Dares_platform.c10993 struct servent *getservbyport(int port, const char *proto) in getservbyport() function
/external/python/cpython3/Modules/
Dgetnameinfo.c144 sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp");
Dsocketmodule.c5926 sp = getservbyport(htons((short)port), proto);
/external/python/cpython2/Modules/
Dgetnameinfo.c144 sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp");
Dsocketmodule.c3668 sp = getservbyport(htons((short)port), proto);
/external/iptables/extensions/
Dlibxt_udp.c68 if ((service = getservbyport(htons(port), "udp"))) in port_to_service()
Dlibxt_dccp.c144 if ((service = getservbyport(htons(port), "dccp"))) in port_to_service()
Dlibxt_tcp.c211 if ((service = getservbyport(htons(port), "tcp"))) in port_to_service()
Dlibxt_sctp.c302 if ((service = getservbyport(htons(port), "sctp"))) in port_to_service()
Dlibxt_multiport.c261 if ((service = getservbyport(htons(port), proto_to_name(proto)))) in port_to_service()
/external/python/cpython2/Lib/test/
Dtest_socket.py451 eq(socket.getservbyport(port2), service)
452 eq(socket.getservbyport(port, 'tcp'), service)
454 eq(socket.getservbyport(udpport, 'udp'), service)
456 self.assertRaises(OverflowError, socket.getservbyport, -1)
457 self.assertRaises(OverflowError, socket.getservbyport, 65536)
/external/toybox/toys/net/
Dnetstat.c71 se = getservbyport(htons(port), cut);
/external/openssh/regress/
Dnetcat.c491 sv = getservbyport( in main()
/external/python/cpython3/Lib/test/
Dtest_socket.py1179 eq(socket.getservbyport(port2), service)
1180 eq(socket.getservbyport(port, 'tcp'), service)
1182 eq(socket.getservbyport(udpport, 'udp'), service)
1184 self.assertRaises(OverflowError, socket.getservbyport, -1)
1185 self.assertRaises(OverflowError, socket.getservbyport, 65536)
/external/python/cpython3/Doc/library/
Dsocket.rst883 .. function:: getservbyport(port[, protocolname])
889 .. audit-event:: socket.getservbyport port,protocolname socket.getservbyport
/external/rust/crates/libc/src/unix/
Dmod.rs1221 pub fn getservbyport(port: ::c_int, proto: *const ::c_char) -> *mut servent; in getservbyport() function
/external/python/cpython2/Doc/library/
Dsocket.rst361 .. function:: getservbyport(port[, protocolname])
/external/iproute2/misc/
Dss.c989 se = getservbyport(htons(port), dg_proto); in __resolve_service()
/external/python/cpython2/Doc/whatsnew/
D2.4.rst1275 returns a pair of connected sockets and ``getservbyport(port)`` looks up the
/external/python/cpython3/Doc/whatsnew/
D2.4.rst1275 returns a pair of connected sockets and ``getservbyport(port)`` looks up the
/external/compiler-rt/lib/dfsan/
Dlibc_ubuntu1404_abilist.txt1942 fun:getservbyport=uninstrumented
/external/llvm-project/compiler-rt/lib/dfsan/
Dlibc_ubuntu1404_abilist.txt1942 fun:getservbyport=uninstrumented

12