Home
last modified time | relevance | path

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

/linux-4.19.296/fs/afs/
Daddr_list.c53 struct sockaddr_rxrpc *srx = &alist->addrs[i]; in afs_alloc_addrlist() local
54 srx->srx_family = AF_RXRPC; in afs_alloc_addrlist()
55 srx->srx_service = service; in afs_alloc_addrlist()
56 srx->transport_type = SOCK_DGRAM; in afs_alloc_addrlist()
57 srx->transport_len = sizeof(srx->transport.sin6); in afs_alloc_addrlist()
58 srx->transport.sin6.sin6_family = AF_INET6; in afs_alloc_addrlist()
59 srx->transport.sin6.sin6_port = htons(port); in afs_alloc_addrlist()
122 struct sockaddr_rxrpc *srx = &alist->addrs[alist->nr_addrs]; in afs_parse_text_addrs() local
140 (u8 *)&srx->transport.sin6.sin6_addr.s6_addr32[3], in afs_parse_text_addrs()
142 srx->transport.sin6.sin6_addr.s6_addr32[0] = 0; in afs_parse_text_addrs()
[all …]
Drxrpc.c42 struct sockaddr_rxrpc srx; in afs_open_socket() local
56 memset(&srx, 0, sizeof(srx)); in afs_open_socket()
57 srx.srx_family = AF_RXRPC; in afs_open_socket()
58 srx.srx_service = CM_SERVICE; in afs_open_socket()
59 srx.transport_type = SOCK_DGRAM; in afs_open_socket()
60 srx.transport_len = sizeof(srx.transport.sin6); in afs_open_socket()
61 srx.transport.sin6.sin6_family = AF_INET6; in afs_open_socket()
62 srx.transport.sin6.sin6_port = htons(AFS_CM_PORT); in afs_open_socket()
70 ret = kernel_bind(socket, (struct sockaddr *) &srx, sizeof(srx)); in afs_open_socket()
72 srx.transport.sin6.sin6_port = 0; in afs_open_socket()
[all …]
Dcmservice.c171 struct sockaddr_rxrpc srx; in afs_deliver_cb_callback() local
268 rxrpc_kernel_get_peer(call->net->socket, call->rxcall, &srx); in afs_deliver_cb_callback()
269 call->cm_server = afs_find_server(call->net, &srx); in afs_deliver_cb_callback()
271 trace_afs_cm_no_server(call, &srx); in afs_deliver_cb_callback()
297 struct sockaddr_rxrpc srx; in afs_deliver_cb_init_call_back_state() local
302 rxrpc_kernel_get_peer(call->net->socket, call->rxcall, &srx); in afs_deliver_cb_init_call_back_state()
310 call->cm_server = afs_find_server(call->net, &srx); in afs_deliver_cb_init_call_back_state()
312 trace_afs_cm_no_server(call, &srx); in afs_deliver_cb_init_call_back_state()
Dserver.c35 const struct sockaddr_rxrpc *srx) in afs_find_server() argument
50 if (srx->transport.family == AF_INET6) { in afs_find_server()
51 const struct sockaddr_in6 *a = &srx->transport.sin6, *b; in afs_find_server()
67 const struct sockaddr_in *a = &srx->transport.sin, *b; in afs_find_server()
/linux-4.19.296/include/trace/events/
Dafs.h579 TP_PROTO(struct afs_call *call, struct sockaddr_rxrpc *srx),
581 TP_ARGS(call, srx),
586 __field_struct(struct sockaddr_rxrpc, srx )
592 memcpy(&__entry->srx, srx, sizeof(__entry->srx));
596 __entry->call, __entry->op_id, &__entry->srx.transport)
Drxrpc.h1446 struct sockaddr_rxrpc *srx),
1448 TP_ARGS(peer, ee, srx),
1453 __field_struct(struct sockaddr_rxrpc, srx )
1459 memcpy(&__entry->srx, srx, sizeof(__entry->srx));
1470 &__entry->srx.transport)