Query: svc_find_xprt
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
SVC_FIND_XPRT(9) Linux Networking SVC_FIND_XPRT(9)NAMEsvc_find_xprt - find an RPC transport instanceSYNOPSISstruct svc_xprt * svc_find_xprt(struct svc_serv * serv, const char * xcl_name, struct net * net, const sa_family_t af, const unsigned short port);ARGUMENTSserv pointer to svc_serv to search xcl_name C string containing transport's class name net owner net pointer af Address family of transport's local address port transport's IP port numberDESCRIPTIONReturn the transport instance pointer for the endpoint accepting connections/peer traffic from the specified transport class, address family and port. Specifying 0 for the address family or port is effectively a wild-card, and will result in matching the first transport in the service's list that has a matching class name.COPYRIGHTKernel Hackers Manual 3.10 June 2014 SVC_FIND_XPRT(9)