49#define PORTMAP_GETPORT 3
84 if ( ! getport_reply || ! reply )
88 if ( getport_reply == 0 || getport_reply->
port >= 65536 )
#define EINVAL
Invalid argument.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Transport-network layer interface.
int oncrpc_call(struct interface *intf, struct oncrpc_session *session, uint32_t proc_name, const struct oncrpc_field fields[])
#define ONCRPC_FIELD(type, value)
#define oncrpc_iob_get_int(buf)
Get a 32 bits integer from the beginning of an I/O buffer.
Data transfer interface opening.
#define PORTMAP_GETPORT
PORTMAP GETPORT procedure.
int portmap_getport(struct interface *intf, struct oncrpc_session *session, uint32_t prog, uint32_t vers, uint32_t proto)
Send a GETPORT request.
int portmap_get_getport_reply(struct portmap_getport_reply *getport_reply, struct oncrpc_reply *reply)
Parse a GETPORT reply.
uint32_t port
Port returned.
Uniform Resource Identifiers.
Data transfer interfaces.