svc_find_xprt
Prev | SUN RPC subsystem | Next

## Name

svc_find_xprt — find an RPC transport instance

## Synopsis

`struct 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`)`;

## Arguments

`serv`

  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 number

## Description

Return 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.

Prev | Up | Next
svc_reserve | Home | svc_xprt_names