Lines Matching defs:type
52 static void set_socket_vars(apr_socket_t *sock, int family, int type, int protocol)
54 sock->type = type;
91 apr_status_t apr_socket_create(apr_socket_t **new, int ofamily, int type,
111 (*new)->socketdes = socket(family, type|flags, protocol);
117 (*new)->socketdes = socket(family, type|flags, 0);
120 (*new)->socketdes = socket(family, type|flags, IPPROTO_TCP);
123 (*new)->socketdes = socket(family, type|flags, IPPROTO_UDP);
136 (*new)->socketdes = socket(family, type|flags, protocol);
143 set_socket_vars(*new, family, type, protocol);
397 apr_status_t apr_socket_type_get(apr_socket_t *sock, int *type)
399 *type = sock->type;
448 set_socket_vars(*apr_sock, os_sock_info->family, os_sock_info->type, os_sock_info->protocol);
488 /* XXX figure out the actual socket type here */
489 /* *or* just decide that apr_os_sock_put() has to be told the family and type */