Home
last modified time | relevance | path

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

/fs/afs/
Daddr_list.c48 struct sockaddr_rxrpc *srx = &alist->addrs[i]; in afs_alloc_addrlist() local
49 srx->srx_family = AF_RXRPC; in afs_alloc_addrlist()
50 srx->srx_service = service; in afs_alloc_addrlist()
51 srx->transport_type = SOCK_DGRAM; in afs_alloc_addrlist()
52 srx->transport_len = sizeof(srx->transport.sin6); in afs_alloc_addrlist()
53 srx->transport.sin6.sin6_family = AF_INET6; in afs_alloc_addrlist()
54 srx->transport.sin6.sin6_port = htons(port); in afs_alloc_addrlist()
276 struct sockaddr_rxrpc *srx; in afs_merge_fs_addr4() local
301 srx = &alist->addrs[i]; in afs_merge_fs_addr4()
302 srx->srx_family = AF_RXRPC; in afs_merge_fs_addr4()
[all …]
Drxrpc.c38 struct sockaddr_rxrpc srx; in afs_open_socket() local
51 memset(&srx, 0, sizeof(srx)); in afs_open_socket()
52 srx.srx_family = AF_RXRPC; in afs_open_socket()
53 srx.srx_service = CM_SERVICE; in afs_open_socket()
54 srx.transport_type = SOCK_DGRAM; in afs_open_socket()
55 srx.transport_len = sizeof(srx.transport.sin6); in afs_open_socket()
56 srx.transport.sin6.sin6_family = AF_INET6; in afs_open_socket()
57 srx.transport.sin6.sin6_port = htons(AFS_CM_PORT); in afs_open_socket()
64 ret = kernel_bind(socket, (struct sockaddr *) &srx, sizeof(srx)); in afs_open_socket()
66 srx.transport.sin6.sin6_port = 0; in afs_open_socket()
[all …]
Dcmservice.c145 struct sockaddr_rxrpc srx; in afs_find_cm_server_by_peer() local
148 rxrpc_kernel_get_peer(call->net->socket, call->rxcall, &srx); in afs_find_cm_server_by_peer()
150 server = afs_find_server(call->net, &srx); in afs_find_cm_server_by_peer()
152 trace_afs_cm_no_server(call, &srx); in afs_find_cm_server_by_peer()
Dserver.c25 const struct sockaddr_rxrpc *srx) in afs_find_server() argument
41 if (srx->transport.family == AF_INET6) { in afs_find_server()
42 const struct sockaddr_in6 *a = &srx->transport.sin6, *b; in afs_find_server()
58 const struct sockaddr_in *a = &srx->transport.sin, *b; in afs_find_server()