summaryrefslogtreecommitdiffstats
path: root/cmd/binapi-generator/testdata/af_packet.api.json
blob: 211fc3ecba206f00e8b219e2d44b48c5811889e4 (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
{
    "types" : [

    ],
    "messages" : [
        ["af_packet_create",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u8", "host_if_name", 64],
            ["u8", "hw_addr", 6],
            ["u8", "use_random_hw_addr"],
            {"crc" : "0x92768640"}
        ],
        ["af_packet_create_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            ["u32", "sw_if_index"],
            {"crc" : "0x718bac92"}
        ],
        ["af_packet_delete",
            ["u16", "_vl_msg_id"],
            ["u32", "client_index"],
            ["u32", "context"],
            ["u8", "host_if_name", 64],
            {"crc" : "0xc063ce85"}
        ],
        ["af_packet_delete_reply",
            ["u16", "_vl_msg_id"],
            ["u32", "context"],
            ["i32", "retval"],
            {"crc" : "0x1a80431a"}
        ]
    ],
"vl_api_version" :"0x4ca71f33"
}