Home
last modified time | relevance | path

Searched refs:protoent (Results 1 - 20 of 20) sorted by relevance

/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dproto.c61 struct protoent *test_getprotoent(void) in test_getprotoent()
63 static struct protoent p; in test_getprotoent()
87 struct protoent *ret = getprotobyname("tcp"); in getprotobyname_0100()
102 struct protoent *ret = getprotobyname("abcd"); in getprotobyname_0200()
113 struct protoent *ret = getprotobynumber(TEST_PROTO_NUM); in getprotobynumber_0100()
128 struct protoent *ret = getprotobynumber(TEST_INVALID_NUMBER); in getprotobynumber_0200()
140 struct protoent *dst = NULL; in getprotoent_0100()
141 struct protoent *src = NULL; in getprotoent_0100()
H A Dsetprotoent.c31 struct protoent *result = getprotoent(); in setprotoent_0100()
/third_party/musl/porting/liteos_a/user/src/network/
H A Dproto.c56 struct protoent *getprotoent(void) in getprotoent()
58 static struct protoent p; in getprotoent()
68 struct protoent *getprotobyname(const char *name) in getprotobyname()
70 struct protoent *p; in getprotobyname()
77 struct protoent *getprotobynumber(int num) in getprotobynumber()
79 struct protoent *p; in getprotobynumber()
/third_party/musl/src/network/
H A Dproto.c56 struct protoent *getprotoent(void) in getprotoent()
58 static struct protoent p; in getprotoent()
68 struct protoent *getprotobyname(const char *name) in getprotobyname()
70 struct protoent *p; in getprotobyname()
77 struct protoent *getprotobynumber(int num) in getprotobynumber()
79 struct protoent *p; in getprotobynumber()
/third_party/musl/porting/liteos_a/kernel/include/
H A Dnetdb.h85 struct protoent { struct
109 struct protoent *getprotoent (void);
110 struct protoent *getprotobyname (const char *);
111 struct protoent *getprotobynumber (int);
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dnetdb.h85 struct protoent { struct
109 struct protoent *getprotoent (void);
110 struct protoent *getprotobyname (const char *);
111 struct protoent *getprotobynumber (int);
/third_party/musl/porting/uniproton/kernel/include/
H A Dnetdb.h85 struct protoent { struct
109 struct protoent *getprotoent (void);
110 struct protoent *getprotobyname (const char *);
111 struct protoent *getprotobynumber (int);
/third_party/musl/porting/liteos_m/kernel/include/
H A Dnetdb.h85 struct protoent { struct
109 struct protoent *getprotoent (void);
110 struct protoent *getprotobyname (const char *);
111 struct protoent *getprotobynumber (int);
/third_party/musl/include/
H A Dnetdb.h111 struct protoent { struct
135 struct protoent *getprotoent (void);
136 struct protoent *getprotobyname (const char *);
137 struct protoent *getprotobynumber (int);
/third_party/musl/libc-test/src/api/
H A Dnetdb.c26 struct protoent x; in f()
81 {struct protoent*(*p)(const char*) = getprotobyname;} in f()
82 {struct protoent*(*p)(int) = getprotobynumber;} in f()
83 {struct protoent*(*p)(void) = getprotoent;} in f()
/third_party/libwebsockets/lib/plat/freertos/
H A Dfreertos-sockets.c96 struct protoent *tcp_proto; in lws_plat_set_socket_options()
/third_party/ltp/testcases/network/lib6/
H A Dasapi_01.c114 struct protoent *pe; in do_tests()
/third_party/ltp/testcases/network/sockets/
H A DltpClient.c57 struct protoent *protocol = NULL;
/third_party/libwebsockets/lib/plat/windows/
H A Dwindows-sockets.c102 struct protoent *tcp_proto; in lws_plat_set_socket_options()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-sockets.c118 struct protoent *tcp_proto; in lws_plat_set_socket_options()
/third_party/rust/crates/libc/src/unix/
H A Dmod.rs202 pub struct protoent { structure names
1285 pub fn getprotobyname(name: *const ::c_char) -> *mut protoent; in getprotobyname()
1286 pub fn getprotobynumber(proto: ::c_int) -> *mut protoent; in getprotobynumber()
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs280 pub struct protoent { structure names
3778 pub fn getprotobyname(name: *const ::c_char) -> *mut protoent; in getprotobyname()
3779 pub fn getprotobynumber(proto: ::c_int) -> *mut protoent; in getprotobynumber()
/third_party/backends/backend/
H A Dnet.c463 struct protoent *p;
/third_party/backends/frontend/
H A Dsaned.c2362 struct protoent *p;
/third_party/python/Modules/
H A Dsocketmodule.c6002 struct protoent *sp;

Completed in 35 milliseconds