summaryrefslogtreecommitdiff
path: root/src/lib/irmd_messages.proto
blob: 3a2432f3411e8e7f077dad0b4539283b78ff86da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import "dif_config.proto";

enum irm_msg_code {
        IRM_CREATE_IPCP = 1;
        IRM_DESTROY_IPCP = 2;
        IRM_BOOTSTRAP_IPCP = 3;
        IRM_ENROLL_IPCP = 4;
        IRM_REG_IPCP = 5;
        IRM_UNREG_IPCP = 6;
        IRM_AP_REG = 7;
        IRM_AP_UNREG = 8;
        IRM_FLOW_ACCEPT = 9;
        IRM_FLOW_ALLOC_RESP = 10;
        IRM_FLOW_ALLOC = 11;
        IRM_FLOW_ALLOC_RES = 12;
        IRM_FLOW_DEALLOC = 13;
        IRM_FLOW_CONTROL = 14;
        IRM_FLOW_WRITE = 15;
        IRM_FLOW_READ = 16;
        IPCP_FLOW_REQ_ARR = 17;
        IPCP_FLOW_ALLOC_REPLY = 18;
        IPCP_FLOW_DEALLOC = 19;
        IRM_REPLY = 20;
};

message irm_msg {
        required irm_msg_code code = 1;
        optional string ap_name = 2;
        optional uint32 api_id = 3;
        optional string ae_name = 4;
        optional uint32 ipcp_type = 5;
        repeated string dif_name = 6;
        optional int32 fd = 7;
        optional int32 result = 8;
        optional int32 oflags = 9;
        optional string dst_ap_name = 10;
        optional uint32 port_id = 11;
        optional int32 pid = 12;
        optional dif_config_msg conf = 13;
};