Lines Matching refs:sockaddr_pn
76 struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *spn) in pn_find_sock_by_sa()
171 struct sockaddr_pn *spn = (struct sockaddr_pn *)addr; in pn_socket_bind()
179 if (len < sizeof(struct sockaddr_pn)) in pn_socket_bind()
184 handle = pn_sockaddr_get_object((struct sockaddr_pn *)addr); in pn_socket_bind()
215 struct sockaddr_pn sa; in pn_socket_autobind()
221 sizeof(struct sockaddr_pn)); in pn_socket_autobind()
233 struct sockaddr_pn *spn = (struct sockaddr_pn *)addr; in pn_socket_connect()
240 if (len < sizeof(struct sockaddr_pn)) in pn_socket_connect()
332 memset(addr, 0, sizeof(struct sockaddr_pn)); in pn_socket_getname()
335 pn_sockaddr_set_object((struct sockaddr_pn *)addr, in pn_socket_getname()
338 *sockaddr_len = sizeof(struct sockaddr_pn); in pn_socket_getname()
498 struct sockaddr_pn try_sa; in pn_sock_get_port()
501 memset(&try_sa, 0, sizeof(struct sockaddr_pn)); in pn_sock_get_port()