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 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 af
22 Address family of transport´s local address
23
24 port
25 transport´s IP port number
26
28 Return the transport instance pointer for the endpoint accepting
29 connections/peer traffic from the specified transport class, address
30 family and port.
31
32 Specifying 0 for the address family or port is effectively a wild-card,
33 and will result in matching the first transport in the service´s list
34 that has a matching class name.
35
37Kernel Hackers Manual 2.6. June 2019 SVC_FIND_XPRT(9)