/bionic/libc/netbsd/net/ |
servent.h | 1 /* $NetBSD: servent.h,v 1.1 2005/04/18 19:39:45 kleink Exp $ */ 44 struct servent* getservent_r(res_static rs);
|
getservent.c | 32 #include "servent.h" 50 struct servent * 81 /* reallocate the thread-specific servent struct */ 82 p2 = realloc( (char*)rs->servent.s_aliases, total ); 87 rs->servent.s_aliases = (char**) p2; 89 rs->servent.s_name = p2; 91 rs->servent.s_proto = p2; 94 memcpy( rs->servent.s_name, p+1, namelen ); 95 rs->servent.s_name[namelen] = 0; 102 rs->servent.s_port = htons(port) [all...] |
getservbyport.c | 30 #include "servent.h" 32 struct servent * 36 struct servent* s; 45 struct servent* s = getservent_r(rs);
|
getservbyname.c | 31 #include "servent.h" 33 struct servent * 37 struct servent* s; 46 struct servent* s = getservent_r(rs);
|
getservbyport_r.c | 44 #include "servent.h" 46 struct servent * 47 getservbyport_r(int port, const char *proto, struct servent *sp, 50 struct servent *s;
|
getservbyname_r.c | 46 #include "servent.h" 48 struct servent * 49 getservbyname_r(const char *name, const char *proto, struct servent *sp, 52 struct servent *s;
|
getservent_r.c | 50 #include "servent.h" 81 struct servent * 82 getservent_r(struct servent *sp, struct servent_data *sd)
|
/bionic/libc/private/ |
resolv_static.h | 26 struct servent servent; member in struct:res_static
|
/bionic/libc/include/ |
netdb.h | 100 struct servent { struct 232 struct servent *getservbyname(const char *, const char *); 233 struct servent *getservbyport(int, const char *); 234 struct servent *getservent(void);
|
/development/ndk/platforms/android-3/include/ |
netdb.h | 100 struct servent { struct 216 struct servent *getservbyname(const char *, const char *); 217 struct servent *getservbyport(int, const char *); 218 struct servent *getservent(void);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 100 struct servent { struct 235 struct servent *getservbyname(const char *, const char *); 236 struct servent *getservbyport(int, const char *); 237 struct servent *getservent(void);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-4/arch-arm/usr/include/ |
netdb.h | 100 struct servent { struct 235 struct servent *getservbyname(const char *, const char *); 236 struct servent *getservbyport(int, const char *); 237 struct servent *getservent(void);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-arm/usr/include/ |
netdb.h | 100 struct servent { struct 235 struct servent *getservbyname(const char *, const char *); 236 struct servent *getservbyport(int, const char *); 237 struct servent *getservent(void);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-5/arch-x86/usr/include/ |
netdb.h | 100 struct servent { struct 235 struct servent *getservbyname(const char *, const char *); 236 struct servent *getservbyport(int, const char *); 237 struct servent *getservent(void);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-arm/usr/include/ |
netdb.h | 100 struct servent { struct 235 struct servent *getservbyname(const char *, const char *); 236 struct servent *getservbyport(int, const char *); 237 struct servent *getservent(void);
|
/prebuilt/ndk/android-ndk-r4/platforms/android-8/arch-x86/usr/include/ |
netdb.h | 100 struct servent { struct 235 struct servent *getservbyname(const char *, const char *); 236 struct servent *getservbyport(int, const char *); 237 struct servent *getservent(void);
|
/prebuilt/ndk/android-ndk-r5/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 100 struct servent { struct 216 struct servent *getservbyname(const char *, const char *); 217 struct servent *getservbyport(int, const char *); 218 struct servent *getservent(void);
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 100 struct servent { struct 216 struct servent *getservbyname(const char *, const char *); 217 struct servent *getservbyport(int, const char *); 218 struct servent *getservent(void);
|
/prebuilt/ndk/android-ndk-r6/platforms/android-3/arch-x86/usr/include/ |
netdb.h | 100 struct servent { struct 216 struct servent *getservbyname(const char *, const char *); 217 struct servent *getservbyport(int, const char *); 218 struct servent *getservent(void);
|
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/ |
netdb.h | 251 struct servent struct 277 extern struct servent *getservent (void); 284 extern struct servent *getservbyname (__const char *__name, 292 extern struct servent *getservbyport (int __port, __const char *__proto); 303 extern int getservent_r (struct servent *__restrict __result_buf, 305 struct servent **__restrict __result); 309 struct servent *__restrict __result_buf, 311 struct servent **__restrict __result); 314 struct servent *__restrict __result_buf, 316 struct servent **__restrict __result) [all...] |
/external/netcat/ |
netcat.c | 442 struct servent * servent; local 460 servent = getservbyport (y, whichp); 461 if (servent) { 462 y = ntohs (servent->s_port); 465 strncpy (portpoop->name, servent->s_name, sizeof (portpoop->name)); 466 } /* if servent */ 482 servent = getservbyname (pstring, whichp); 483 if (servent) { 484 strncpy (portpoop->name, servent->s_name, sizeof (portpoop->name)) [all...] |
/external/quake/quake/src/WinQuake/ |
mpdosock.h | 167 struct servent {
struct 747 struct servent FAR * PASCAL FAR getservbyport(int port, const char FAR * proto);
749 struct servent FAR * PASCAL FAR getservbyname(const char FAR * name,
785 typedef struct servent SERVENT;
786 typedef struct servent *PSERVENT;
787 typedef struct servent FAR *LPSERVENT;
|
/bionic/libc/netbsd/resolv/ |
res_state.c | 92 free(rs->servent.s_aliases);
|
/external/dropbear/ |
fake-rfc2553.c | 154 struct servent *sp;
|
/external/iptables/extensions/ |
libxt_udp.c | 66 const struct servent *service;
|