go.ligato.io/vpp-agent/v3@v3.5.0/plugins/vpp/binapi/vpp2106/tapv2/tapv2.ba.go (about) 1 // Code generated by GoVPP's binapi-generator. DO NOT EDIT. 2 3 // Package tapv2 contains generated bindings for API file tapv2.api. 4 // 5 // Contents: 6 // - 1 enum 7 // - 6 messages 8 package tapv2 9 10 import ( 11 "strconv" 12 13 api "go.fd.io/govpp/api" 14 codec "go.fd.io/govpp/codec" 15 ethernet_types "go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/ethernet_types" 16 interface_types "go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/interface_types" 17 ip_types "go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2106/ip_types" 18 ) 19 20 // This is a compile-time assertion to ensure that this generated file 21 // is compatible with the GoVPP api package it is being compiled against. 22 // A compilation error at this line likely means your copy of the 23 // GoVPP api package needs to be updated. 24 const _ = api.GoVppAPIPackageIsVersion2 25 26 const ( 27 APIFile = "tapv2" 28 APIVersion = "4.0.0" 29 VersionCrc = 0xc20c291f 30 ) 31 32 // TapFlags defines enum 'tap_flags'. 33 type TapFlags uint32 34 35 const ( 36 TAP_API_FLAG_GSO TapFlags = 1 37 TAP_API_FLAG_CSUM_OFFLOAD TapFlags = 2 38 TAP_API_FLAG_PERSIST TapFlags = 4 39 TAP_API_FLAG_ATTACH TapFlags = 8 40 TAP_API_FLAG_TUN TapFlags = 16 41 TAP_API_FLAG_GRO_COALESCE TapFlags = 32 42 TAP_API_FLAG_PACKED TapFlags = 64 43 TAP_API_FLAG_IN_ORDER TapFlags = 128 44 ) 45 46 var ( 47 TapFlags_name = map[uint32]string{ 48 1: "TAP_API_FLAG_GSO", 49 2: "TAP_API_FLAG_CSUM_OFFLOAD", 50 4: "TAP_API_FLAG_PERSIST", 51 8: "TAP_API_FLAG_ATTACH", 52 16: "TAP_API_FLAG_TUN", 53 32: "TAP_API_FLAG_GRO_COALESCE", 54 64: "TAP_API_FLAG_PACKED", 55 128: "TAP_API_FLAG_IN_ORDER", 56 } 57 TapFlags_value = map[string]uint32{ 58 "TAP_API_FLAG_GSO": 1, 59 "TAP_API_FLAG_CSUM_OFFLOAD": 2, 60 "TAP_API_FLAG_PERSIST": 4, 61 "TAP_API_FLAG_ATTACH": 8, 62 "TAP_API_FLAG_TUN": 16, 63 "TAP_API_FLAG_GRO_COALESCE": 32, 64 "TAP_API_FLAG_PACKED": 64, 65 "TAP_API_FLAG_IN_ORDER": 128, 66 } 67 ) 68 69 func (x TapFlags) String() string { 70 s, ok := TapFlags_name[uint32(x)] 71 if ok { 72 return s 73 } 74 str := func(n uint32) string { 75 s, ok := TapFlags_name[uint32(n)] 76 if ok { 77 return s 78 } 79 return "TapFlags(" + strconv.Itoa(int(n)) + ")" 80 } 81 for i := uint32(0); i <= 32; i++ { 82 val := uint32(x) 83 if val&(1<<i) != 0 { 84 if s != "" { 85 s += "|" 86 } 87 s += str(1 << i) 88 } 89 } 90 if s == "" { 91 return str(uint32(x)) 92 } 93 return s 94 } 95 96 // SwInterfaceTapV2Details defines message 'sw_interface_tap_v2_details'. 97 type SwInterfaceTapV2Details struct { 98 SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"` 99 ID uint32 `binapi:"u32,name=id" json:"id,omitempty"` 100 TxRingSz uint16 `binapi:"u16,name=tx_ring_sz" json:"tx_ring_sz,omitempty"` 101 RxRingSz uint16 `binapi:"u16,name=rx_ring_sz" json:"rx_ring_sz,omitempty"` 102 HostMtuSize uint32 `binapi:"u32,name=host_mtu_size" json:"host_mtu_size,omitempty"` 103 HostMacAddr ethernet_types.MacAddress `binapi:"mac_address,name=host_mac_addr" json:"host_mac_addr,omitempty"` 104 HostIP4Prefix ip_types.IP4AddressWithPrefix `binapi:"ip4_address_with_prefix,name=host_ip4_prefix" json:"host_ip4_prefix,omitempty"` 105 HostIP6Prefix ip_types.IP6AddressWithPrefix `binapi:"ip6_address_with_prefix,name=host_ip6_prefix" json:"host_ip6_prefix,omitempty"` 106 TapFlags TapFlags `binapi:"tap_flags,name=tap_flags" json:"tap_flags,omitempty"` 107 DevName string `binapi:"string[64],name=dev_name" json:"dev_name,omitempty"` 108 HostIfName string `binapi:"string[64],name=host_if_name" json:"host_if_name,omitempty"` 109 HostNamespace string `binapi:"string[64],name=host_namespace" json:"host_namespace,omitempty"` 110 HostBridge string `binapi:"string[64],name=host_bridge" json:"host_bridge,omitempty"` 111 } 112 113 func (m *SwInterfaceTapV2Details) Reset() { *m = SwInterfaceTapV2Details{} } 114 func (*SwInterfaceTapV2Details) GetMessageName() string { return "sw_interface_tap_v2_details" } 115 func (*SwInterfaceTapV2Details) GetCrcString() string { return "1e2b2a47" } 116 func (*SwInterfaceTapV2Details) GetMessageType() api.MessageType { 117 return api.ReplyMessage 118 } 119 120 func (m *SwInterfaceTapV2Details) Size() (size int) { 121 if m == nil { 122 return 0 123 } 124 size += 4 // m.SwIfIndex 125 size += 4 // m.ID 126 size += 2 // m.TxRingSz 127 size += 2 // m.RxRingSz 128 size += 4 // m.HostMtuSize 129 size += 1 * 6 // m.HostMacAddr 130 size += 1 * 4 // m.HostIP4Prefix.Address 131 size += 1 // m.HostIP4Prefix.Len 132 size += 1 * 16 // m.HostIP6Prefix.Address 133 size += 1 // m.HostIP6Prefix.Len 134 size += 4 // m.TapFlags 135 size += 64 // m.DevName 136 size += 64 // m.HostIfName 137 size += 64 // m.HostNamespace 138 size += 64 // m.HostBridge 139 return size 140 } 141 func (m *SwInterfaceTapV2Details) Marshal(b []byte) ([]byte, error) { 142 if b == nil { 143 b = make([]byte, m.Size()) 144 } 145 buf := codec.NewBuffer(b) 146 buf.EncodeUint32(m.SwIfIndex) 147 buf.EncodeUint32(m.ID) 148 buf.EncodeUint16(m.TxRingSz) 149 buf.EncodeUint16(m.RxRingSz) 150 buf.EncodeUint32(m.HostMtuSize) 151 buf.EncodeBytes(m.HostMacAddr[:], 6) 152 buf.EncodeBytes(m.HostIP4Prefix.Address[:], 4) 153 buf.EncodeUint8(m.HostIP4Prefix.Len) 154 buf.EncodeBytes(m.HostIP6Prefix.Address[:], 16) 155 buf.EncodeUint8(m.HostIP6Prefix.Len) 156 buf.EncodeUint32(uint32(m.TapFlags)) 157 buf.EncodeString(m.DevName, 64) 158 buf.EncodeString(m.HostIfName, 64) 159 buf.EncodeString(m.HostNamespace, 64) 160 buf.EncodeString(m.HostBridge, 64) 161 return buf.Bytes(), nil 162 } 163 func (m *SwInterfaceTapV2Details) Unmarshal(b []byte) error { 164 buf := codec.NewBuffer(b) 165 m.SwIfIndex = buf.DecodeUint32() 166 m.ID = buf.DecodeUint32() 167 m.TxRingSz = buf.DecodeUint16() 168 m.RxRingSz = buf.DecodeUint16() 169 m.HostMtuSize = buf.DecodeUint32() 170 copy(m.HostMacAddr[:], buf.DecodeBytes(6)) 171 copy(m.HostIP4Prefix.Address[:], buf.DecodeBytes(4)) 172 m.HostIP4Prefix.Len = buf.DecodeUint8() 173 copy(m.HostIP6Prefix.Address[:], buf.DecodeBytes(16)) 174 m.HostIP6Prefix.Len = buf.DecodeUint8() 175 m.TapFlags = TapFlags(buf.DecodeUint32()) 176 m.DevName = buf.DecodeString(64) 177 m.HostIfName = buf.DecodeString(64) 178 m.HostNamespace = buf.DecodeString(64) 179 m.HostBridge = buf.DecodeString(64) 180 return nil 181 } 182 183 // SwInterfaceTapV2Dump defines message 'sw_interface_tap_v2_dump'. 184 type SwInterfaceTapV2Dump struct { 185 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" json:"sw_if_index,omitempty"` 186 } 187 188 func (m *SwInterfaceTapV2Dump) Reset() { *m = SwInterfaceTapV2Dump{} } 189 func (*SwInterfaceTapV2Dump) GetMessageName() string { return "sw_interface_tap_v2_dump" } 190 func (*SwInterfaceTapV2Dump) GetCrcString() string { return "f9e6675e" } 191 func (*SwInterfaceTapV2Dump) GetMessageType() api.MessageType { 192 return api.RequestMessage 193 } 194 195 func (m *SwInterfaceTapV2Dump) Size() (size int) { 196 if m == nil { 197 return 0 198 } 199 size += 4 // m.SwIfIndex 200 return size 201 } 202 func (m *SwInterfaceTapV2Dump) Marshal(b []byte) ([]byte, error) { 203 if b == nil { 204 b = make([]byte, m.Size()) 205 } 206 buf := codec.NewBuffer(b) 207 buf.EncodeUint32(uint32(m.SwIfIndex)) 208 return buf.Bytes(), nil 209 } 210 func (m *SwInterfaceTapV2Dump) Unmarshal(b []byte) error { 211 buf := codec.NewBuffer(b) 212 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32()) 213 return nil 214 } 215 216 // TapCreateV2 defines message 'tap_create_v2'. 217 type TapCreateV2 struct { 218 ID uint32 `binapi:"u32,name=id,default=4294967295" json:"id,omitempty"` 219 UseRandomMac bool `binapi:"bool,name=use_random_mac,default=true" json:"use_random_mac,omitempty"` 220 MacAddress ethernet_types.MacAddress `binapi:"mac_address,name=mac_address" json:"mac_address,omitempty"` 221 NumRxQueues uint8 `binapi:"u8,name=num_rx_queues,default=1" json:"num_rx_queues,omitempty"` 222 TxRingSz uint16 `binapi:"u16,name=tx_ring_sz,default=256" json:"tx_ring_sz,omitempty"` 223 RxRingSz uint16 `binapi:"u16,name=rx_ring_sz,default=256" json:"rx_ring_sz,omitempty"` 224 HostMtuSet bool `binapi:"bool,name=host_mtu_set" json:"host_mtu_set,omitempty"` 225 HostMtuSize uint32 `binapi:"u32,name=host_mtu_size" json:"host_mtu_size,omitempty"` 226 HostMacAddrSet bool `binapi:"bool,name=host_mac_addr_set" json:"host_mac_addr_set,omitempty"` 227 HostMacAddr ethernet_types.MacAddress `binapi:"mac_address,name=host_mac_addr" json:"host_mac_addr,omitempty"` 228 HostIP4PrefixSet bool `binapi:"bool,name=host_ip4_prefix_set" json:"host_ip4_prefix_set,omitempty"` 229 HostIP4Prefix ip_types.IP4AddressWithPrefix `binapi:"ip4_address_with_prefix,name=host_ip4_prefix" json:"host_ip4_prefix,omitempty"` 230 HostIP6PrefixSet bool `binapi:"bool,name=host_ip6_prefix_set" json:"host_ip6_prefix_set,omitempty"` 231 HostIP6Prefix ip_types.IP6AddressWithPrefix `binapi:"ip6_address_with_prefix,name=host_ip6_prefix" json:"host_ip6_prefix,omitempty"` 232 HostIP4GwSet bool `binapi:"bool,name=host_ip4_gw_set" json:"host_ip4_gw_set,omitempty"` 233 HostIP4Gw ip_types.IP4Address `binapi:"ip4_address,name=host_ip4_gw" json:"host_ip4_gw,omitempty"` 234 HostIP6GwSet bool `binapi:"bool,name=host_ip6_gw_set" json:"host_ip6_gw_set,omitempty"` 235 HostIP6Gw ip_types.IP6Address `binapi:"ip6_address,name=host_ip6_gw" json:"host_ip6_gw,omitempty"` 236 TapFlags TapFlags `binapi:"tap_flags,name=tap_flags" json:"tap_flags,omitempty"` 237 HostNamespaceSet bool `binapi:"bool,name=host_namespace_set" json:"host_namespace_set,omitempty"` 238 HostNamespace string `binapi:"string[64],name=host_namespace" json:"host_namespace,omitempty"` 239 HostIfNameSet bool `binapi:"bool,name=host_if_name_set" json:"host_if_name_set,omitempty"` 240 HostIfName string `binapi:"string[64],name=host_if_name" json:"host_if_name,omitempty"` 241 HostBridgeSet bool `binapi:"bool,name=host_bridge_set" json:"host_bridge_set,omitempty"` 242 HostBridge string `binapi:"string[64],name=host_bridge" json:"host_bridge,omitempty"` 243 Tag string `binapi:"string[],name=tag" json:"tag,omitempty"` 244 } 245 246 func (m *TapCreateV2) Reset() { *m = TapCreateV2{} } 247 func (*TapCreateV2) GetMessageName() string { return "tap_create_v2" } 248 func (*TapCreateV2) GetCrcString() string { return "2d0d6570" } 249 func (*TapCreateV2) GetMessageType() api.MessageType { 250 return api.RequestMessage 251 } 252 253 func (m *TapCreateV2) Size() (size int) { 254 if m == nil { 255 return 0 256 } 257 size += 4 // m.ID 258 size += 1 // m.UseRandomMac 259 size += 1 * 6 // m.MacAddress 260 size += 1 // m.NumRxQueues 261 size += 2 // m.TxRingSz 262 size += 2 // m.RxRingSz 263 size += 1 // m.HostMtuSet 264 size += 4 // m.HostMtuSize 265 size += 1 // m.HostMacAddrSet 266 size += 1 * 6 // m.HostMacAddr 267 size += 1 // m.HostIP4PrefixSet 268 size += 1 * 4 // m.HostIP4Prefix.Address 269 size += 1 // m.HostIP4Prefix.Len 270 size += 1 // m.HostIP6PrefixSet 271 size += 1 * 16 // m.HostIP6Prefix.Address 272 size += 1 // m.HostIP6Prefix.Len 273 size += 1 // m.HostIP4GwSet 274 size += 1 * 4 // m.HostIP4Gw 275 size += 1 // m.HostIP6GwSet 276 size += 1 * 16 // m.HostIP6Gw 277 size += 4 // m.TapFlags 278 size += 1 // m.HostNamespaceSet 279 size += 64 // m.HostNamespace 280 size += 1 // m.HostIfNameSet 281 size += 64 // m.HostIfName 282 size += 1 // m.HostBridgeSet 283 size += 64 // m.HostBridge 284 size += 4 + len(m.Tag) // m.Tag 285 return size 286 } 287 func (m *TapCreateV2) Marshal(b []byte) ([]byte, error) { 288 if b == nil { 289 b = make([]byte, m.Size()) 290 } 291 buf := codec.NewBuffer(b) 292 buf.EncodeUint32(m.ID) 293 buf.EncodeBool(m.UseRandomMac) 294 buf.EncodeBytes(m.MacAddress[:], 6) 295 buf.EncodeUint8(m.NumRxQueues) 296 buf.EncodeUint16(m.TxRingSz) 297 buf.EncodeUint16(m.RxRingSz) 298 buf.EncodeBool(m.HostMtuSet) 299 buf.EncodeUint32(m.HostMtuSize) 300 buf.EncodeBool(m.HostMacAddrSet) 301 buf.EncodeBytes(m.HostMacAddr[:], 6) 302 buf.EncodeBool(m.HostIP4PrefixSet) 303 buf.EncodeBytes(m.HostIP4Prefix.Address[:], 4) 304 buf.EncodeUint8(m.HostIP4Prefix.Len) 305 buf.EncodeBool(m.HostIP6PrefixSet) 306 buf.EncodeBytes(m.HostIP6Prefix.Address[:], 16) 307 buf.EncodeUint8(m.HostIP6Prefix.Len) 308 buf.EncodeBool(m.HostIP4GwSet) 309 buf.EncodeBytes(m.HostIP4Gw[:], 4) 310 buf.EncodeBool(m.HostIP6GwSet) 311 buf.EncodeBytes(m.HostIP6Gw[:], 16) 312 buf.EncodeUint32(uint32(m.TapFlags)) 313 buf.EncodeBool(m.HostNamespaceSet) 314 buf.EncodeString(m.HostNamespace, 64) 315 buf.EncodeBool(m.HostIfNameSet) 316 buf.EncodeString(m.HostIfName, 64) 317 buf.EncodeBool(m.HostBridgeSet) 318 buf.EncodeString(m.HostBridge, 64) 319 buf.EncodeString(m.Tag, 0) 320 return buf.Bytes(), nil 321 } 322 func (m *TapCreateV2) Unmarshal(b []byte) error { 323 buf := codec.NewBuffer(b) 324 m.ID = buf.DecodeUint32() 325 m.UseRandomMac = buf.DecodeBool() 326 copy(m.MacAddress[:], buf.DecodeBytes(6)) 327 m.NumRxQueues = buf.DecodeUint8() 328 m.TxRingSz = buf.DecodeUint16() 329 m.RxRingSz = buf.DecodeUint16() 330 m.HostMtuSet = buf.DecodeBool() 331 m.HostMtuSize = buf.DecodeUint32() 332 m.HostMacAddrSet = buf.DecodeBool() 333 copy(m.HostMacAddr[:], buf.DecodeBytes(6)) 334 m.HostIP4PrefixSet = buf.DecodeBool() 335 copy(m.HostIP4Prefix.Address[:], buf.DecodeBytes(4)) 336 m.HostIP4Prefix.Len = buf.DecodeUint8() 337 m.HostIP6PrefixSet = buf.DecodeBool() 338 copy(m.HostIP6Prefix.Address[:], buf.DecodeBytes(16)) 339 m.HostIP6Prefix.Len = buf.DecodeUint8() 340 m.HostIP4GwSet = buf.DecodeBool() 341 copy(m.HostIP4Gw[:], buf.DecodeBytes(4)) 342 m.HostIP6GwSet = buf.DecodeBool() 343 copy(m.HostIP6Gw[:], buf.DecodeBytes(16)) 344 m.TapFlags = TapFlags(buf.DecodeUint32()) 345 m.HostNamespaceSet = buf.DecodeBool() 346 m.HostNamespace = buf.DecodeString(64) 347 m.HostIfNameSet = buf.DecodeBool() 348 m.HostIfName = buf.DecodeString(64) 349 m.HostBridgeSet = buf.DecodeBool() 350 m.HostBridge = buf.DecodeString(64) 351 m.Tag = buf.DecodeString(0) 352 return nil 353 } 354 355 // TapCreateV2Reply defines message 'tap_create_v2_reply'. 356 type TapCreateV2Reply struct { 357 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` 358 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` 359 } 360 361 func (m *TapCreateV2Reply) Reset() { *m = TapCreateV2Reply{} } 362 func (*TapCreateV2Reply) GetMessageName() string { return "tap_create_v2_reply" } 363 func (*TapCreateV2Reply) GetCrcString() string { return "5383d31f" } 364 func (*TapCreateV2Reply) GetMessageType() api.MessageType { 365 return api.ReplyMessage 366 } 367 368 func (m *TapCreateV2Reply) Size() (size int) { 369 if m == nil { 370 return 0 371 } 372 size += 4 // m.Retval 373 size += 4 // m.SwIfIndex 374 return size 375 } 376 func (m *TapCreateV2Reply) Marshal(b []byte) ([]byte, error) { 377 if b == nil { 378 b = make([]byte, m.Size()) 379 } 380 buf := codec.NewBuffer(b) 381 buf.EncodeInt32(m.Retval) 382 buf.EncodeUint32(uint32(m.SwIfIndex)) 383 return buf.Bytes(), nil 384 } 385 func (m *TapCreateV2Reply) Unmarshal(b []byte) error { 386 buf := codec.NewBuffer(b) 387 m.Retval = buf.DecodeInt32() 388 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32()) 389 return nil 390 } 391 392 // TapDeleteV2 defines message 'tap_delete_v2'. 393 type TapDeleteV2 struct { 394 SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"` 395 } 396 397 func (m *TapDeleteV2) Reset() { *m = TapDeleteV2{} } 398 func (*TapDeleteV2) GetMessageName() string { return "tap_delete_v2" } 399 func (*TapDeleteV2) GetCrcString() string { return "f9e6675e" } 400 func (*TapDeleteV2) GetMessageType() api.MessageType { 401 return api.RequestMessage 402 } 403 404 func (m *TapDeleteV2) Size() (size int) { 405 if m == nil { 406 return 0 407 } 408 size += 4 // m.SwIfIndex 409 return size 410 } 411 func (m *TapDeleteV2) Marshal(b []byte) ([]byte, error) { 412 if b == nil { 413 b = make([]byte, m.Size()) 414 } 415 buf := codec.NewBuffer(b) 416 buf.EncodeUint32(uint32(m.SwIfIndex)) 417 return buf.Bytes(), nil 418 } 419 func (m *TapDeleteV2) Unmarshal(b []byte) error { 420 buf := codec.NewBuffer(b) 421 m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32()) 422 return nil 423 } 424 425 // TapDeleteV2Reply defines message 'tap_delete_v2_reply'. 426 type TapDeleteV2Reply struct { 427 Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"` 428 } 429 430 func (m *TapDeleteV2Reply) Reset() { *m = TapDeleteV2Reply{} } 431 func (*TapDeleteV2Reply) GetMessageName() string { return "tap_delete_v2_reply" } 432 func (*TapDeleteV2Reply) GetCrcString() string { return "e8d4e804" } 433 func (*TapDeleteV2Reply) GetMessageType() api.MessageType { 434 return api.ReplyMessage 435 } 436 437 func (m *TapDeleteV2Reply) Size() (size int) { 438 if m == nil { 439 return 0 440 } 441 size += 4 // m.Retval 442 return size 443 } 444 func (m *TapDeleteV2Reply) Marshal(b []byte) ([]byte, error) { 445 if b == nil { 446 b = make([]byte, m.Size()) 447 } 448 buf := codec.NewBuffer(b) 449 buf.EncodeInt32(m.Retval) 450 return buf.Bytes(), nil 451 } 452 func (m *TapDeleteV2Reply) Unmarshal(b []byte) error { 453 buf := codec.NewBuffer(b) 454 m.Retval = buf.DecodeInt32() 455 return nil 456 } 457 458 func init() { file_tapv2_binapi_init() } 459 func file_tapv2_binapi_init() { 460 api.RegisterMessage((*SwInterfaceTapV2Details)(nil), "sw_interface_tap_v2_details_1e2b2a47") 461 api.RegisterMessage((*SwInterfaceTapV2Dump)(nil), "sw_interface_tap_v2_dump_f9e6675e") 462 api.RegisterMessage((*TapCreateV2)(nil), "tap_create_v2_2d0d6570") 463 api.RegisterMessage((*TapCreateV2Reply)(nil), "tap_create_v2_reply_5383d31f") 464 api.RegisterMessage((*TapDeleteV2)(nil), "tap_delete_v2_f9e6675e") 465 api.RegisterMessage((*TapDeleteV2Reply)(nil), "tap_delete_v2_reply_e8d4e804") 466 } 467 468 // Messages returns list of all messages in this module. 469 func AllMessages() []api.Message { 470 return []api.Message{ 471 (*SwInterfaceTapV2Details)(nil), 472 (*SwInterfaceTapV2Dump)(nil), 473 (*TapCreateV2)(nil), 474 (*TapCreateV2Reply)(nil), 475 (*TapDeleteV2)(nil), 476 (*TapDeleteV2Reply)(nil), 477 } 478 }