diff options
author | 2017-04-25 03:31:15 -0700 | |
---|---|---|
committer | 2017-05-22 06:48:08 +0000 | |
commit | bb756eebdac6fd24e8919e2c43f7d2c8c4091f59 (patch) | |
tree | ca11e03542edf2d8f631efeca5e1626d211107e3 /qemu/roms/ipxe/src/include/ipxe/portmap.h | |
parent | a14b48d18a9ed03ec191cf16b162206998a895ce (diff) |
Adding qemu as a submodule of KVMFORNFV
This Patch includes the changes to add qemu as a submodule to
kvmfornfv repo and make use of the updated latest qemu for the
execution of all testcase
Change-Id: I1280af507a857675c7f81d30c95255635667bdd7
Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'qemu/roms/ipxe/src/include/ipxe/portmap.h')
-rw-r--r-- | qemu/roms/ipxe/src/include/ipxe/portmap.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/qemu/roms/ipxe/src/include/ipxe/portmap.h b/qemu/roms/ipxe/src/include/ipxe/portmap.h deleted file mode 100644 index 681ca2ec2..000000000 --- a/qemu/roms/ipxe/src/include/ipxe/portmap.h +++ /dev/null @@ -1,63 +0,0 @@ -#ifndef _IPXE_PORTMAP_H -#define _IPXE_PORTMAP_H - -#include <stdint.h> -#include <ipxe/oncrpc.h> - -/** @file - * - * SUN ONC RPC protocol. - * - */ - -FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); - -/** PORTMAP default port */ -#define PORTMAP_PORT 111 - -/** PORTMAP protocol number */ -#define ONCRPC_PORTMAP 100000 - -/** PORTMAP version */ -#define PORTMAP_VERS 2 - - -/** TCP protocol number */ -#define PORTMAP_PROTO_TCP 6 -/** UDB protocol number */ -#define PORTMAP_PROTO_UDP 17 - - -/** - * A PORTMAP GETPORT reply - * - */ -struct portmap_getport_reply { - /** Port returned */ - uint32_t port; -}; - - -/** - * Prepare an ONC RPC session to be used as a PORTMAP session - * - * @v session ONC RPC session - * @v credential ONC RPC credential - * - * The credential parameter must not be NULL, use 'oncrpc_auth_none' if you - * don't want a particular scheme to be used. - */ -static inline void portmap_init_session ( struct oncrpc_session *session, - struct oncrpc_cred *credential) { - oncrpc_init_session ( session, credential, &oncrpc_auth_none, - ONCRPC_PORTMAP, PORTMAP_VERS ); -} - - -int portmap_getport ( struct interface *intf, struct oncrpc_session *session, - uint32_t prog, uint32_t vers, uint32_t proto ); -int portmap_get_getport_reply ( struct portmap_getport_reply *getport_reply, - struct oncrpc_reply *reply ); - - -#endif /* _IPXE_PORTMAP_H */ |