Searched refs:grpc_socket_factory (Results 1 – 7 of 7) sorted by relevance
/third_party/grpc/src/core/lib/iomgr/ |
D | socket_factory_posix.h | 31 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 …]
|
D | socket_factory_posix.cc | 32 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 …]
|
D | udp_server.cc | 170 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()
|
D | socket_utils_posix.h | 160 grpc_socket_factory* factory, const grpc_resolved_address* addr, int type,
|
D | socket_utils_common_posix.cc | 456 static int create_socket(grpc_socket_factory* factory, int domain, int type, in create_socket() 464 grpc_socket_factory* factory, const grpc_resolved_address* resolved_addr, in grpc_create_dualstack_socket_using_factory()
|
/third_party/grpc/test/core/iomgr/ |
D | udp_server_test.cc | 130 grpc_socket_factory base; 136 static int test_socket_factory_socket(grpc_socket_factory* factory, int domain, in test_socket_factory_socket() 143 static int test_socket_factory_bind(grpc_socket_factory* factory, int sockfd, in test_socket_factory_bind() 152 static int test_socket_factory_compare(grpc_socket_factory* a, in test_socket_factory_compare() 153 grpc_socket_factory* b) { in test_socket_factory_compare() 157 static void test_socket_factory_destroy(grpc_socket_factory* factory) { in test_socket_factory_destroy()
|
/third_party/grpc/include/grpc/impl/codegen/ |
D | grpc_types.h | 76 typedef struct grpc_socket_factory grpc_socket_factory; typedef
|