1RPCB_GETPORT_SYNC(9)           Linux Networking           RPCB_GETPORT_SYNC(9)
2
3
4

NAME

6       rpcb_getport_sync - obtain the port for an RPC service on a given host
7

SYNOPSIS

9       int rpcb_getport_sync(struct sockaddr_in * sin, u32 prog, u32 vers,
10                             int prot);
11

ARGUMENTS

13       sin
14           address of remote peer
15
16       prog
17           RPC program number to bind
18
19       vers
20           RPC version number to bind
21
22       prot
23           transport protocol to use to make this request
24

DESCRIPTION

26       Return value is the requested advertised port number, or a negative
27       errno value.
28
29       Called from outside the RPC client in a synchronous task context. Uses
30       default timeout parameters specified by underlying transport.
31

XXX

33       Needs to support IPv6
34
36Kernel Hackers Manual 2.6.       November 2011            RPCB_GETPORT_SYNC(9)
Impressum