1 #ifndef _IPXE_PORTMAP_H 2 #define _IPXE_PORTMAP_H 16 #define PORTMAP_PORT 111 19 #define ONCRPC_PORTMAP 100000 22 #define PORTMAP_VERS 2 26 #define PORTMAP_PROTO_TCP 6 28 #define PORTMAP_PROTO_UDP 17
#define ONCRPC_PORTMAP
PORTMAP protocol number.
int portmap_get_getport_reply(struct portmap_getport_reply *getport_reply, struct oncrpc_reply *reply)
Parse a GETPORT reply.
void oncrpc_init_session(struct oncrpc_session *session, struct oncrpc_cred *credential, struct oncrpc_cred *verifier, uint32_t prog_name, uint32_t prog_vers)
Prepare an ONC RPC session structure to be used by the ONC RPC layer.
int portmap_getport(struct interface *intf, struct oncrpc_session *session, uint32_t prog, uint32_t vers, uint32_t proto)
Send a GETPORT request.
static void portmap_init_session(struct oncrpc_session *session, struct oncrpc_cred *credential)
Prepare an ONC RPC session to be used as a PORTMAP session.
struct oncrpc_cred oncrpc_auth_none
AUTH NONE authentication flavor.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define PORTMAP_VERS
PORTMAP version.
uint32_t port
Port returned.