Home
last modified time | relevance | path

Searched refs:grpc_socket_factory (Results 1 – 16 of 16) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_factory_posix.h31 int (*socket)(grpc_socket_factory* factory, int domain, int type,
34 int (*bind)(grpc_socket_factory* factory, int sockfd,
37 int (*compare)(grpc_socket_factory* a, grpc_socket_factory* b);
39 void (*destroy)(grpc_socket_factory* factory);
43 struct grpc_socket_factory { struct
49 void grpc_socket_factory_init(grpc_socket_factory* factory, argument
53 grpc_arg grpc_socket_factory_to_arg(grpc_socket_factory* factory);
56 int grpc_socket_factory_socket(grpc_socket_factory* factory, int domain,
60 int grpc_socket_factory_bind(grpc_socket_factory* factory, int sockfd,
64 int grpc_socket_factory_compare(grpc_socket_factory* a, grpc_socket_factory* b);
[all …]
Dsocket_factory_posix.cc32 void grpc_socket_factory_init(grpc_socket_factory* factory, in grpc_socket_factory_init()
38 int grpc_socket_factory_socket(grpc_socket_factory* factory, int domain, in grpc_socket_factory_socket()
43 int grpc_socket_factory_bind(grpc_socket_factory* factory, int sockfd, in grpc_socket_factory_bind()
48 int grpc_socket_factory_compare(grpc_socket_factory* a, in grpc_socket_factory_compare()
49 grpc_socket_factory* b) { in grpc_socket_factory_compare()
52 grpc_socket_factory* sma = a; in grpc_socket_factory_compare()
53 grpc_socket_factory* smb = b; in grpc_socket_factory_compare()
62 grpc_socket_factory* grpc_socket_factory_ref(grpc_socket_factory* factory) { in grpc_socket_factory_ref()
67 void grpc_socket_factory_unref(grpc_socket_factory* factory) { in grpc_socket_factory_unref()
74 return grpc_socket_factory_ref(static_cast<grpc_socket_factory*>(p)); in socket_factory_arg_copy()
[all …]
Dudp_server.cc169 grpc_socket_factory* socket_factory;
199 static grpc_socket_factory* get_socket_factory(const grpc_channel_args* args) { in get_socket_factory()
204 return static_cast<grpc_socket_factory*>(arg->value.pointer.p); in get_socket_factory()
346 static int bind_socket(grpc_socket_factory* socket_factory, int sockfd, in bind_socket()
357 static int prepare_socket(grpc_socket_factory* socket_factory, int fd, in prepare_socket()
Dsocket_utils_posix.h141 grpc_socket_factory* factory, const grpc_resolved_address* addr, int type,
Dsocket_utils_common_posix.cc387 static int create_socket(grpc_socket_factory* factory, int domain, int type, in create_socket()
395 grpc_socket_factory* factory, const grpc_resolved_address* resolved_addr, in grpc_create_dualstack_socket_using_factory()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/iomgr/
Dsocket_factory_posix.h31 int (*socket)(grpc_socket_factory* factory, int domain, int type,
34 int (*bind)(grpc_socket_factory* factory, int sockfd,
37 int (*compare)(grpc_socket_factory* a, grpc_socket_factory* b);
39 void (*destroy)(grpc_socket_factory* factory);
42 struct grpc_socket_factory { struct
48 void grpc_socket_factory_init(grpc_socket_factory* factory, argument
52 grpc_arg grpc_socket_factory_to_arg(grpc_socket_factory* factory);
55 int grpc_socket_factory_socket(grpc_socket_factory* factory, int domain,
59 int grpc_socket_factory_bind(grpc_socket_factory* factory, int sockfd,
63 int grpc_socket_factory_compare(grpc_socket_factory* a, grpc_socket_factory* b);
[all …]
Dsocket_factory_posix.cc32 void grpc_socket_factory_init(grpc_socket_factory* factory, in grpc_socket_factory_init()
38 int grpc_socket_factory_socket(grpc_socket_factory* factory, int domain, in grpc_socket_factory_socket()
43 int grpc_socket_factory_bind(grpc_socket_factory* factory, int sockfd, in grpc_socket_factory_bind()
48 int grpc_socket_factory_compare(grpc_socket_factory* a, in grpc_socket_factory_compare()
49 grpc_socket_factory* b) { in grpc_socket_factory_compare()
52 grpc_socket_factory* sma = a; in grpc_socket_factory_compare()
53 grpc_socket_factory* smb = b; in grpc_socket_factory_compare()
62 grpc_socket_factory* grpc_socket_factory_ref(grpc_socket_factory* factory) { in grpc_socket_factory_ref()
67 void grpc_socket_factory_unref(grpc_socket_factory* factory) { in grpc_socket_factory_unref()
74 return grpc_socket_factory_ref(static_cast<grpc_socket_factory*>(p)); in socket_factory_arg_copy()
[all …]
Dudp_server.cc170 grpc_socket_factory* socket_factory;
199 static grpc_socket_factory* get_socket_factory(const grpc_channel_args* args) { in get_socket_factory()
204 return static_cast<grpc_socket_factory*>(arg->value.pointer.p); in get_socket_factory()
347 static int bind_socket(grpc_socket_factory* socket_factory, int sockfd, in bind_socket()
358 static int prepare_socket(grpc_socket_factory* socket_factory, int fd, in prepare_socket()
Dsocket_utils_posix.h160 grpc_socket_factory* factory, const grpc_resolved_address* addr, int type,
Dsocket_utils_common_posix.cc455 static int create_socket(grpc_socket_factory* factory, int domain, int type, in create_socket()
463 grpc_socket_factory* factory, const grpc_resolved_address* resolved_addr, in grpc_create_dualstack_socket_using_factory()
/external/grpc-grpc/test/core/iomgr/
Dudp_server_test.cc128 grpc_socket_factory base;
134 static int test_socket_factory_socket(grpc_socket_factory* factory, int domain, in test_socket_factory_socket()
141 static int test_socket_factory_bind(grpc_socket_factory* factory, int sockfd, in test_socket_factory_bind()
150 static int test_socket_factory_compare(grpc_socket_factory* a, in test_socket_factory_compare()
151 grpc_socket_factory* b) { in test_socket_factory_compare()
155 static void test_socket_factory_destroy(grpc_socket_factory* factory) { in test_socket_factory_destroy()
/external/grpc-grpc/include/grpc/impl/codegen/
Dgrpc_types.h76 typedef struct grpc_socket_factory grpc_socket_factory; typedef
/external/rust/crates/grpcio-sys/grpc/include/grpc/impl/codegen/
Dgrpc_types.h76 typedef struct grpc_socket_factory grpc_socket_factory; typedef
/external/rust/crates/grpcio-sys/grpc/spm-core-include/grpc/impl/codegen/
Dgrpc_types.h76 typedef struct grpc_socket_factory grpc_socket_factory; typedef
/external/rust/crates/grpcio-sys/bindings/
Daarch64-unknown-linux-gnu-bindings.rs869 pub struct grpc_socket_factory { struct
Dx86_64-unknown-linux-gnu-bindings.rs869 pub struct grpc_socket_factory { struct