-func NewAfPacketSetL4CksumOffloadReply() api.Message {
- return &AfPacketSetL4CksumOffloadReply{}
-}
-
-// AfPacketDump represents the VPP binary API message 'af_packet_dump'.
-// Generated from 'af_packet.api.json', line 143:
-//
-// "af_packet_dump",
-// [
-// "u16",
-// "_vl_msg_id"
-// ],
-// [
-// "u32",
-// "client_index"
-// ],
-// [
-// "u32",
-// "context"
-// ],
-// {
-// "crc": "0x51077d14"
-// }
-//
-type AfPacketDump struct{}
-
-func (*AfPacketDump) GetMessageName() string {
- return "af_packet_dump"
-}
-func (*AfPacketDump) GetCrcString() string {
- return "51077d14"
-}
-func (*AfPacketDump) GetMessageType() api.MessageType {
- return api.RequestMessage
-}
-func NewAfPacketDump() api.Message {
- return &AfPacketDump{}
-}
-
-// AfPacketDetails represents the VPP binary API message 'af_packet_details'.
-// Generated from 'af_packet.api.json', line 161:
-//
-// "af_packet_details",
-// [
-// "u16",
-// "_vl_msg_id"
-// ],
-// [
-// "u32",
-// "context"
-// ],
-// [
-// "u32",
-// "sw_if_index"
-// ],
-// [
-// "u8",
-// "host_if_name",
-// 64
-// ],
-// {
-// "crc": "0x057205fa"
-// }
-//
-type AfPacketDetails struct {
- SwIfIndex uint32
- HostIfName []byte `struc:"[64]byte"`
-}
-
-func (*AfPacketDetails) GetMessageName() string {
- return "af_packet_details"
-}
-func (*AfPacketDetails) GetCrcString() string {
- return "057205fa"
-}
-func (*AfPacketDetails) GetMessageType() api.MessageType {
- return api.ReplyMessage
-}
-func NewAfPacketDetails() api.Message {
- return &AfPacketDetails{}
-}
-
-/* Services */
-
-type Services interface {
- DumpAfPacket(*AfPacketDump) (*AfPacketDetails, error)
- AfPacketCreate(*AfPacketCreate) (*AfPacketCreateReply, error)
- AfPacketDelete(*AfPacketDelete) (*AfPacketDeleteReply, error)
- AfPacketSetL4CksumOffload(*AfPacketSetL4CksumOffload) (*AfPacketSetL4CksumOffloadReply, error)
-}