aboutsummaryrefslogtreecommitdiffstats
path: root/examples/bin_api/memif.api.json
blob: e41c82d390cf943f7aeb128c442297421f430cfc (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
    "types" : [

    ],
    "messages" : [
        ["memif_create",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u8", "role"],
            ["u64", "key"],
            ["u8", "socket_filename", 128],
            ["u32", "ring_size"],
            ["u16", "buffer_size"],
            ["u8", "hw_addr", 6],
            {"crc" : "0x23fe3309"}
        ],
        ["memif_create_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            ["u32", "sw_if_index"],
            {"crc" : "0x93d7498b"}
        ],
        ["memif_delete",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            {"crc" : "0x12814e3d"}
        ],
        ["memif_delete_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x72c9fa3c"}
        ],
        ["memif_details",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["u32", "sw_if_index"],
            ["u8", "if_name", 64],
            ["u8", "hw_addr", 6],
            ["u64", "key"],
            ["u8", "role"],
            ["u8", "socket_filename", 128],
            ["u32", "ring_size"],
            ["u16", "buffer_size"],
            ["u8", "admin_up_down"],
            ["u8", "link_up_down"],
            {"crc" : "0xcf105583"}
        ],
        ["memif_dump",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            {"crc" : "0x68d39e95"}
        ]
    ],
"vl_api_version" :"0xadb63e82"
}