Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Dinetd.c709 create_bound_socket(const instance_t *inst, socket_info_t *sock_info) in create_bound_socket() argument
714 rpc_info_t *rpc = sock_info->pr_info.ri; in create_bound_socket()
715 const char *proto = sock_info->pr_info.proto; in create_bound_socket()
717 fd = socket(sock_info->local_addr.ss_family, sock_info->type, in create_bound_socket()
718 sock_info->protocol); in create_bound_socket()
744 if (sock_info->pr_info.v6only) { in create_bound_socket()
757 SS_SETPORT(sock_info->local_addr, 0); in create_bound_socket()
759 if (bind(fd, (struct sockaddr *)&(sock_info->local_addr), in create_bound_socket()
760 SS_ADDRLEN(sock_info->local_addr)) < 0) { in create_bound_socket()
787 if (sock_info->type == SOCK_STREAM) { in create_bound_socket()