-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Description
Trying to implement Port Mapper Program Protocol, but get parse error:Eof when paring this optional struct
struct *pmaplist {
mapping map;
pmaplist next;
};
the whole .x file is:
struct mapping {
unsigned int prog;
unsigned int vers;
unsigned int prot;
unsigned int port;
};
const IPPROTO_TCP = 6; /* protocol number for TCP/IP */
const IPPROTO_UDP = 17; /* protocol number for UDP/IP */
struct *pmaplist {
mapping map;
pmaplist next;
};
struct call_args {
unsigned int prog;
unsigned int vers;
unsigned int proc;
opaque args<>;
};
struct call_result {
unsigned int port;
opaque res<>;
};
Metadata
Metadata
Assignees
Labels
No labels