1SVC_FIND_XPRT(9) Linux Networking SVC_FIND_XPRT(9)
2
3
4
6 svc_find_xprt - find an RPC transport instance
7
9 struct svc_xprt * svc_find_xprt(struct svc_serv * serv,
10 const char * xcl_name,
11 struct net * net, const sa_family_t af,
12 const unsigned short port);
13
15 serv
16 pointer to svc_serv to search
17
18 xcl_name
19 C string containing transport's class name
20
21 net
22 owner net pointer
23
24 af
25 Address family of transport's local address
26
27 port
28 transport's IP port number
29
31 Return the transport instance pointer for the endpoint accepting
32 connections/peer traffic from the specified transport class, address
33 family and port.
34
35 Specifying 0 for the address family or port is effectively a wild-card,
36 and will result in matching the first transport in the service's list
37 that has a matching class name.
38
40Kernel Hackers Manual 3.10 June 2019 SVC_FIND_XPRT(9)