repositories
/
deb_libnfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RPC_CONNECT: Use the rpc_connect_program_async() flow during nfs_mount()
[deb_libnfs.git]
/
portmap
/
portmap.x
diff --git
a/portmap/portmap.x
b/portmap/portmap.x
index 819951fcee67fbe2b8f0e2169d6f2d95e3fd9500..fc4f22475308f07181dfc3e64c3a25d163b9f0a0 100644
(file)
--- a/
portmap/portmap.x
+++ b/
portmap/portmap.x
@@
-4,41
+4,53
@@
const PMAP_PORT = 111; /* portmapper port number */
const PMAP_PORT = 111; /* portmapper port number */
-struct mapping {
+struct
pmap_
mapping {
unsigned int prog;
unsigned int vers;
unsigned int prot;
unsigned int port;
};
unsigned int prog;
unsigned int vers;
unsigned int prot;
unsigned int port;
};
-struct call_args {
+struct
pmap_
call_args {
unsigned int prog;
unsigned int vers;
unsigned int proc;
opaque args<>;
};
unsigned int prog;
unsigned int vers;
unsigned int proc;
opaque args<>;
};
-struct call_result {
+struct
pmap_
call_result {
unsigned int port;
opaque res<>;
};
unsigned int port;
opaque res<>;
};
+struct pmap_mapping_list {
+ pmap_mapping map;
+ pmap_mapping_list *next;
+};
+
+struct pmap_dump_result {
+ struct pmap_mapping_list *list;
+};
+
program PMAP_PROGRAM {
version PMAP_V2 {
void
program PMAP_PROGRAM {
version PMAP_V2 {
void
- PMAP
_NULL(void)
= 0;
+ PMAP
2_NULL(void)
= 0;
bool
bool
- PMAP
_SET(
mapping) = 1;
+ PMAP
2_SET(pmap_
mapping) = 1;
bool
bool
- PMAP
_UNSET(
mapping) = 2;
+ PMAP
2_UNSET(pmap_
mapping) = 2;
unsigned int
unsigned int
- PMAP_GETPORT(mapping) = 3;
+ PMAP2_GETPORT(pmap_mapping) = 3;
+
+ pmap_dump_result
+ PMAP2_DUMP(void) = 4;
- call_result
- PMAP
_CALLIT(
call_args) = 5;
+
pmap_
call_result
+ PMAP
2_CALLIT(pmap_
call_args) = 5;
} = 2;
} = 100000;
} = 2;
} = 100000;