Skip to content

parse error: Eof #40

@TsuITOAR

Description

@TsuITOAR

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions