go.ligato.io/vpp-agent/v3@v3.5.0/plugins/vpp/binapi/vpp2202/gtpu/gtpu.ba.go (about)

     1  // Code generated by GoVPP's binapi-generator. DO NOT EDIT.
     2  
     3  // Package gtpu contains generated bindings for API file gtpu.api.
     4  //
     5  // Contents:
     6  // - 10 messages
     7  package gtpu
     8  
     9  import (
    10  	api "go.fd.io/govpp/api"
    11  	codec "go.fd.io/govpp/codec"
    12  	interface_types "go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2202/interface_types"
    13  	ip_types "go.ligato.io/vpp-agent/v3/plugins/vpp/binapi/vpp2202/ip_types"
    14  )
    15  
    16  // This is a compile-time assertion to ensure that this generated file
    17  // is compatible with the GoVPP api package it is being compiled against.
    18  // A compilation error at this line likely means your copy of the
    19  // GoVPP api package needs to be updated.
    20  const _ = api.GoVppAPIPackageIsVersion2
    21  
    22  const (
    23  	APIFile    = "gtpu"
    24  	APIVersion = "2.0.1"
    25  	VersionCrc = 0x1462473
    26  )
    27  
    28  // GtpuAddDelTunnel defines message 'gtpu_add_del_tunnel'.
    29  type GtpuAddDelTunnel struct {
    30  	IsAdd          bool                           `binapi:"bool,name=is_add" json:"is_add,omitempty"`
    31  	SrcAddress     ip_types.Address               `binapi:"address,name=src_address" json:"src_address,omitempty"`
    32  	DstAddress     ip_types.Address               `binapi:"address,name=dst_address" json:"dst_address,omitempty"`
    33  	McastSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=mcast_sw_if_index" json:"mcast_sw_if_index,omitempty"`
    34  	EncapVrfID     uint32                         `binapi:"u32,name=encap_vrf_id" json:"encap_vrf_id,omitempty"`
    35  	DecapNextIndex uint32                         `binapi:"u32,name=decap_next_index" json:"decap_next_index,omitempty"`
    36  	Teid           uint32                         `binapi:"u32,name=teid" json:"teid,omitempty"`
    37  	Tteid          uint32                         `binapi:"u32,name=tteid" json:"tteid,omitempty"`
    38  }
    39  
    40  func (m *GtpuAddDelTunnel) Reset()               { *m = GtpuAddDelTunnel{} }
    41  func (*GtpuAddDelTunnel) GetMessageName() string { return "gtpu_add_del_tunnel" }
    42  func (*GtpuAddDelTunnel) GetCrcString() string   { return "ca983a2b" }
    43  func (*GtpuAddDelTunnel) GetMessageType() api.MessageType {
    44  	return api.RequestMessage
    45  }
    46  
    47  func (m *GtpuAddDelTunnel) Size() (size int) {
    48  	if m == nil {
    49  		return 0
    50  	}
    51  	size += 1      // m.IsAdd
    52  	size += 1      // m.SrcAddress.Af
    53  	size += 1 * 16 // m.SrcAddress.Un
    54  	size += 1      // m.DstAddress.Af
    55  	size += 1 * 16 // m.DstAddress.Un
    56  	size += 4      // m.McastSwIfIndex
    57  	size += 4      // m.EncapVrfID
    58  	size += 4      // m.DecapNextIndex
    59  	size += 4      // m.Teid
    60  	size += 4      // m.Tteid
    61  	return size
    62  }
    63  func (m *GtpuAddDelTunnel) Marshal(b []byte) ([]byte, error) {
    64  	if b == nil {
    65  		b = make([]byte, m.Size())
    66  	}
    67  	buf := codec.NewBuffer(b)
    68  	buf.EncodeBool(m.IsAdd)
    69  	buf.EncodeUint8(uint8(m.SrcAddress.Af))
    70  	buf.EncodeBytes(m.SrcAddress.Un.XXX_UnionData[:], 16)
    71  	buf.EncodeUint8(uint8(m.DstAddress.Af))
    72  	buf.EncodeBytes(m.DstAddress.Un.XXX_UnionData[:], 16)
    73  	buf.EncodeUint32(uint32(m.McastSwIfIndex))
    74  	buf.EncodeUint32(m.EncapVrfID)
    75  	buf.EncodeUint32(m.DecapNextIndex)
    76  	buf.EncodeUint32(m.Teid)
    77  	buf.EncodeUint32(m.Tteid)
    78  	return buf.Bytes(), nil
    79  }
    80  func (m *GtpuAddDelTunnel) Unmarshal(b []byte) error {
    81  	buf := codec.NewBuffer(b)
    82  	m.IsAdd = buf.DecodeBool()
    83  	m.SrcAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
    84  	copy(m.SrcAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
    85  	m.DstAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
    86  	copy(m.DstAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
    87  	m.McastSwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
    88  	m.EncapVrfID = buf.DecodeUint32()
    89  	m.DecapNextIndex = buf.DecodeUint32()
    90  	m.Teid = buf.DecodeUint32()
    91  	m.Tteid = buf.DecodeUint32()
    92  	return nil
    93  }
    94  
    95  // GtpuAddDelTunnelReply defines message 'gtpu_add_del_tunnel_reply'.
    96  type GtpuAddDelTunnelReply struct {
    97  	Retval    int32                          `binapi:"i32,name=retval" json:"retval,omitempty"`
    98  	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
    99  }
   100  
   101  func (m *GtpuAddDelTunnelReply) Reset()               { *m = GtpuAddDelTunnelReply{} }
   102  func (*GtpuAddDelTunnelReply) GetMessageName() string { return "gtpu_add_del_tunnel_reply" }
   103  func (*GtpuAddDelTunnelReply) GetCrcString() string   { return "5383d31f" }
   104  func (*GtpuAddDelTunnelReply) GetMessageType() api.MessageType {
   105  	return api.ReplyMessage
   106  }
   107  
   108  func (m *GtpuAddDelTunnelReply) Size() (size int) {
   109  	if m == nil {
   110  		return 0
   111  	}
   112  	size += 4 // m.Retval
   113  	size += 4 // m.SwIfIndex
   114  	return size
   115  }
   116  func (m *GtpuAddDelTunnelReply) Marshal(b []byte) ([]byte, error) {
   117  	if b == nil {
   118  		b = make([]byte, m.Size())
   119  	}
   120  	buf := codec.NewBuffer(b)
   121  	buf.EncodeInt32(m.Retval)
   122  	buf.EncodeUint32(uint32(m.SwIfIndex))
   123  	return buf.Bytes(), nil
   124  }
   125  func (m *GtpuAddDelTunnelReply) Unmarshal(b []byte) error {
   126  	buf := codec.NewBuffer(b)
   127  	m.Retval = buf.DecodeInt32()
   128  	m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
   129  	return nil
   130  }
   131  
   132  // GtpuOffloadRx defines message 'gtpu_offload_rx'.
   133  type GtpuOffloadRx struct {
   134  	HwIfIndex uint32 `binapi:"u32,name=hw_if_index" json:"hw_if_index,omitempty"`
   135  	SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
   136  	Enable    uint8  `binapi:"u8,name=enable" json:"enable,omitempty"`
   137  }
   138  
   139  func (m *GtpuOffloadRx) Reset()               { *m = GtpuOffloadRx{} }
   140  func (*GtpuOffloadRx) GetMessageName() string { return "gtpu_offload_rx" }
   141  func (*GtpuOffloadRx) GetCrcString() string   { return "f0b08786" }
   142  func (*GtpuOffloadRx) GetMessageType() api.MessageType {
   143  	return api.RequestMessage
   144  }
   145  
   146  func (m *GtpuOffloadRx) Size() (size int) {
   147  	if m == nil {
   148  		return 0
   149  	}
   150  	size += 4 // m.HwIfIndex
   151  	size += 4 // m.SwIfIndex
   152  	size += 1 // m.Enable
   153  	return size
   154  }
   155  func (m *GtpuOffloadRx) Marshal(b []byte) ([]byte, error) {
   156  	if b == nil {
   157  		b = make([]byte, m.Size())
   158  	}
   159  	buf := codec.NewBuffer(b)
   160  	buf.EncodeUint32(m.HwIfIndex)
   161  	buf.EncodeUint32(m.SwIfIndex)
   162  	buf.EncodeUint8(m.Enable)
   163  	return buf.Bytes(), nil
   164  }
   165  func (m *GtpuOffloadRx) Unmarshal(b []byte) error {
   166  	buf := codec.NewBuffer(b)
   167  	m.HwIfIndex = buf.DecodeUint32()
   168  	m.SwIfIndex = buf.DecodeUint32()
   169  	m.Enable = buf.DecodeUint8()
   170  	return nil
   171  }
   172  
   173  // GtpuOffloadRxReply defines message 'gtpu_offload_rx_reply'.
   174  type GtpuOffloadRxReply struct {
   175  	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
   176  }
   177  
   178  func (m *GtpuOffloadRxReply) Reset()               { *m = GtpuOffloadRxReply{} }
   179  func (*GtpuOffloadRxReply) GetMessageName() string { return "gtpu_offload_rx_reply" }
   180  func (*GtpuOffloadRxReply) GetCrcString() string   { return "e8d4e804" }
   181  func (*GtpuOffloadRxReply) GetMessageType() api.MessageType {
   182  	return api.ReplyMessage
   183  }
   184  
   185  func (m *GtpuOffloadRxReply) Size() (size int) {
   186  	if m == nil {
   187  		return 0
   188  	}
   189  	size += 4 // m.Retval
   190  	return size
   191  }
   192  func (m *GtpuOffloadRxReply) Marshal(b []byte) ([]byte, error) {
   193  	if b == nil {
   194  		b = make([]byte, m.Size())
   195  	}
   196  	buf := codec.NewBuffer(b)
   197  	buf.EncodeInt32(m.Retval)
   198  	return buf.Bytes(), nil
   199  }
   200  func (m *GtpuOffloadRxReply) Unmarshal(b []byte) error {
   201  	buf := codec.NewBuffer(b)
   202  	m.Retval = buf.DecodeInt32()
   203  	return nil
   204  }
   205  
   206  // GtpuTunnelDetails defines message 'gtpu_tunnel_details'.
   207  type GtpuTunnelDetails struct {
   208  	SwIfIndex      interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
   209  	SrcAddress     ip_types.Address               `binapi:"address,name=src_address" json:"src_address,omitempty"`
   210  	DstAddress     ip_types.Address               `binapi:"address,name=dst_address" json:"dst_address,omitempty"`
   211  	McastSwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=mcast_sw_if_index" json:"mcast_sw_if_index,omitempty"`
   212  	EncapVrfID     uint32                         `binapi:"u32,name=encap_vrf_id" json:"encap_vrf_id,omitempty"`
   213  	DecapNextIndex uint32                         `binapi:"u32,name=decap_next_index" json:"decap_next_index,omitempty"`
   214  	Teid           uint32                         `binapi:"u32,name=teid" json:"teid,omitempty"`
   215  	Tteid          uint32                         `binapi:"u32,name=tteid" json:"tteid,omitempty"`
   216  }
   217  
   218  func (m *GtpuTunnelDetails) Reset()               { *m = GtpuTunnelDetails{} }
   219  func (*GtpuTunnelDetails) GetMessageName() string { return "gtpu_tunnel_details" }
   220  func (*GtpuTunnelDetails) GetCrcString() string   { return "27f434ae" }
   221  func (*GtpuTunnelDetails) GetMessageType() api.MessageType {
   222  	return api.ReplyMessage
   223  }
   224  
   225  func (m *GtpuTunnelDetails) Size() (size int) {
   226  	if m == nil {
   227  		return 0
   228  	}
   229  	size += 4      // m.SwIfIndex
   230  	size += 1      // m.SrcAddress.Af
   231  	size += 1 * 16 // m.SrcAddress.Un
   232  	size += 1      // m.DstAddress.Af
   233  	size += 1 * 16 // m.DstAddress.Un
   234  	size += 4      // m.McastSwIfIndex
   235  	size += 4      // m.EncapVrfID
   236  	size += 4      // m.DecapNextIndex
   237  	size += 4      // m.Teid
   238  	size += 4      // m.Tteid
   239  	return size
   240  }
   241  func (m *GtpuTunnelDetails) Marshal(b []byte) ([]byte, error) {
   242  	if b == nil {
   243  		b = make([]byte, m.Size())
   244  	}
   245  	buf := codec.NewBuffer(b)
   246  	buf.EncodeUint32(uint32(m.SwIfIndex))
   247  	buf.EncodeUint8(uint8(m.SrcAddress.Af))
   248  	buf.EncodeBytes(m.SrcAddress.Un.XXX_UnionData[:], 16)
   249  	buf.EncodeUint8(uint8(m.DstAddress.Af))
   250  	buf.EncodeBytes(m.DstAddress.Un.XXX_UnionData[:], 16)
   251  	buf.EncodeUint32(uint32(m.McastSwIfIndex))
   252  	buf.EncodeUint32(m.EncapVrfID)
   253  	buf.EncodeUint32(m.DecapNextIndex)
   254  	buf.EncodeUint32(m.Teid)
   255  	buf.EncodeUint32(m.Tteid)
   256  	return buf.Bytes(), nil
   257  }
   258  func (m *GtpuTunnelDetails) Unmarshal(b []byte) error {
   259  	buf := codec.NewBuffer(b)
   260  	m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
   261  	m.SrcAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
   262  	copy(m.SrcAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
   263  	m.DstAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
   264  	copy(m.DstAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
   265  	m.McastSwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
   266  	m.EncapVrfID = buf.DecodeUint32()
   267  	m.DecapNextIndex = buf.DecodeUint32()
   268  	m.Teid = buf.DecodeUint32()
   269  	m.Tteid = buf.DecodeUint32()
   270  	return nil
   271  }
   272  
   273  // GtpuTunnelDump defines message 'gtpu_tunnel_dump'.
   274  type GtpuTunnelDump struct {
   275  	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
   276  }
   277  
   278  func (m *GtpuTunnelDump) Reset()               { *m = GtpuTunnelDump{} }
   279  func (*GtpuTunnelDump) GetMessageName() string { return "gtpu_tunnel_dump" }
   280  func (*GtpuTunnelDump) GetCrcString() string   { return "f9e6675e" }
   281  func (*GtpuTunnelDump) GetMessageType() api.MessageType {
   282  	return api.RequestMessage
   283  }
   284  
   285  func (m *GtpuTunnelDump) Size() (size int) {
   286  	if m == nil {
   287  		return 0
   288  	}
   289  	size += 4 // m.SwIfIndex
   290  	return size
   291  }
   292  func (m *GtpuTunnelDump) Marshal(b []byte) ([]byte, error) {
   293  	if b == nil {
   294  		b = make([]byte, m.Size())
   295  	}
   296  	buf := codec.NewBuffer(b)
   297  	buf.EncodeUint32(uint32(m.SwIfIndex))
   298  	return buf.Bytes(), nil
   299  }
   300  func (m *GtpuTunnelDump) Unmarshal(b []byte) error {
   301  	buf := codec.NewBuffer(b)
   302  	m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
   303  	return nil
   304  }
   305  
   306  // GtpuTunnelUpdateTteid defines message 'gtpu_tunnel_update_tteid'.
   307  type GtpuTunnelUpdateTteid struct {
   308  	DstAddress ip_types.Address `binapi:"address,name=dst_address" json:"dst_address,omitempty"`
   309  	EncapVrfID uint32           `binapi:"u32,name=encap_vrf_id" json:"encap_vrf_id,omitempty"`
   310  	Teid       uint32           `binapi:"u32,name=teid" json:"teid,omitempty"`
   311  	Tteid      uint32           `binapi:"u32,name=tteid" json:"tteid,omitempty"`
   312  }
   313  
   314  func (m *GtpuTunnelUpdateTteid) Reset()               { *m = GtpuTunnelUpdateTteid{} }
   315  func (*GtpuTunnelUpdateTteid) GetMessageName() string { return "gtpu_tunnel_update_tteid" }
   316  func (*GtpuTunnelUpdateTteid) GetCrcString() string   { return "79f33816" }
   317  func (*GtpuTunnelUpdateTteid) GetMessageType() api.MessageType {
   318  	return api.RequestMessage
   319  }
   320  
   321  func (m *GtpuTunnelUpdateTteid) Size() (size int) {
   322  	if m == nil {
   323  		return 0
   324  	}
   325  	size += 1      // m.DstAddress.Af
   326  	size += 1 * 16 // m.DstAddress.Un
   327  	size += 4      // m.EncapVrfID
   328  	size += 4      // m.Teid
   329  	size += 4      // m.Tteid
   330  	return size
   331  }
   332  func (m *GtpuTunnelUpdateTteid) Marshal(b []byte) ([]byte, error) {
   333  	if b == nil {
   334  		b = make([]byte, m.Size())
   335  	}
   336  	buf := codec.NewBuffer(b)
   337  	buf.EncodeUint8(uint8(m.DstAddress.Af))
   338  	buf.EncodeBytes(m.DstAddress.Un.XXX_UnionData[:], 16)
   339  	buf.EncodeUint32(m.EncapVrfID)
   340  	buf.EncodeUint32(m.Teid)
   341  	buf.EncodeUint32(m.Tteid)
   342  	return buf.Bytes(), nil
   343  }
   344  func (m *GtpuTunnelUpdateTteid) Unmarshal(b []byte) error {
   345  	buf := codec.NewBuffer(b)
   346  	m.DstAddress.Af = ip_types.AddressFamily(buf.DecodeUint8())
   347  	copy(m.DstAddress.Un.XXX_UnionData[:], buf.DecodeBytes(16))
   348  	m.EncapVrfID = buf.DecodeUint32()
   349  	m.Teid = buf.DecodeUint32()
   350  	m.Tteid = buf.DecodeUint32()
   351  	return nil
   352  }
   353  
   354  // GtpuTunnelUpdateTteidReply defines message 'gtpu_tunnel_update_tteid_reply'.
   355  type GtpuTunnelUpdateTteidReply struct {
   356  	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
   357  }
   358  
   359  func (m *GtpuTunnelUpdateTteidReply) Reset()               { *m = GtpuTunnelUpdateTteidReply{} }
   360  func (*GtpuTunnelUpdateTteidReply) GetMessageName() string { return "gtpu_tunnel_update_tteid_reply" }
   361  func (*GtpuTunnelUpdateTteidReply) GetCrcString() string   { return "e8d4e804" }
   362  func (*GtpuTunnelUpdateTteidReply) GetMessageType() api.MessageType {
   363  	return api.ReplyMessage
   364  }
   365  
   366  func (m *GtpuTunnelUpdateTteidReply) Size() (size int) {
   367  	if m == nil {
   368  		return 0
   369  	}
   370  	size += 4 // m.Retval
   371  	return size
   372  }
   373  func (m *GtpuTunnelUpdateTteidReply) Marshal(b []byte) ([]byte, error) {
   374  	if b == nil {
   375  		b = make([]byte, m.Size())
   376  	}
   377  	buf := codec.NewBuffer(b)
   378  	buf.EncodeInt32(m.Retval)
   379  	return buf.Bytes(), nil
   380  }
   381  func (m *GtpuTunnelUpdateTteidReply) Unmarshal(b []byte) error {
   382  	buf := codec.NewBuffer(b)
   383  	m.Retval = buf.DecodeInt32()
   384  	return nil
   385  }
   386  
   387  // SwInterfaceSetGtpuBypass defines message 'sw_interface_set_gtpu_bypass'.
   388  type SwInterfaceSetGtpuBypass struct {
   389  	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
   390  	IsIPv6    bool                           `binapi:"bool,name=is_ipv6" json:"is_ipv6,omitempty"`
   391  	Enable    bool                           `binapi:"bool,name=enable" json:"enable,omitempty"`
   392  }
   393  
   394  func (m *SwInterfaceSetGtpuBypass) Reset()               { *m = SwInterfaceSetGtpuBypass{} }
   395  func (*SwInterfaceSetGtpuBypass) GetMessageName() string { return "sw_interface_set_gtpu_bypass" }
   396  func (*SwInterfaceSetGtpuBypass) GetCrcString() string   { return "65247409" }
   397  func (*SwInterfaceSetGtpuBypass) GetMessageType() api.MessageType {
   398  	return api.RequestMessage
   399  }
   400  
   401  func (m *SwInterfaceSetGtpuBypass) Size() (size int) {
   402  	if m == nil {
   403  		return 0
   404  	}
   405  	size += 4 // m.SwIfIndex
   406  	size += 1 // m.IsIPv6
   407  	size += 1 // m.Enable
   408  	return size
   409  }
   410  func (m *SwInterfaceSetGtpuBypass) Marshal(b []byte) ([]byte, error) {
   411  	if b == nil {
   412  		b = make([]byte, m.Size())
   413  	}
   414  	buf := codec.NewBuffer(b)
   415  	buf.EncodeUint32(uint32(m.SwIfIndex))
   416  	buf.EncodeBool(m.IsIPv6)
   417  	buf.EncodeBool(m.Enable)
   418  	return buf.Bytes(), nil
   419  }
   420  func (m *SwInterfaceSetGtpuBypass) Unmarshal(b []byte) error {
   421  	buf := codec.NewBuffer(b)
   422  	m.SwIfIndex = interface_types.InterfaceIndex(buf.DecodeUint32())
   423  	m.IsIPv6 = buf.DecodeBool()
   424  	m.Enable = buf.DecodeBool()
   425  	return nil
   426  }
   427  
   428  // SwInterfaceSetGtpuBypassReply defines message 'sw_interface_set_gtpu_bypass_reply'.
   429  type SwInterfaceSetGtpuBypassReply struct {
   430  	Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
   431  }
   432  
   433  func (m *SwInterfaceSetGtpuBypassReply) Reset() { *m = SwInterfaceSetGtpuBypassReply{} }
   434  func (*SwInterfaceSetGtpuBypassReply) GetMessageName() string {
   435  	return "sw_interface_set_gtpu_bypass_reply"
   436  }
   437  func (*SwInterfaceSetGtpuBypassReply) GetCrcString() string { return "e8d4e804" }
   438  func (*SwInterfaceSetGtpuBypassReply) GetMessageType() api.MessageType {
   439  	return api.ReplyMessage
   440  }
   441  
   442  func (m *SwInterfaceSetGtpuBypassReply) Size() (size int) {
   443  	if m == nil {
   444  		return 0
   445  	}
   446  	size += 4 // m.Retval
   447  	return size
   448  }
   449  func (m *SwInterfaceSetGtpuBypassReply) Marshal(b []byte) ([]byte, error) {
   450  	if b == nil {
   451  		b = make([]byte, m.Size())
   452  	}
   453  	buf := codec.NewBuffer(b)
   454  	buf.EncodeInt32(m.Retval)
   455  	return buf.Bytes(), nil
   456  }
   457  func (m *SwInterfaceSetGtpuBypassReply) Unmarshal(b []byte) error {
   458  	buf := codec.NewBuffer(b)
   459  	m.Retval = buf.DecodeInt32()
   460  	return nil
   461  }
   462  
   463  func init() { file_gtpu_binapi_init() }
   464  func file_gtpu_binapi_init() {
   465  	api.RegisterMessage((*GtpuAddDelTunnel)(nil), "gtpu_add_del_tunnel_ca983a2b")
   466  	api.RegisterMessage((*GtpuAddDelTunnelReply)(nil), "gtpu_add_del_tunnel_reply_5383d31f")
   467  	api.RegisterMessage((*GtpuOffloadRx)(nil), "gtpu_offload_rx_f0b08786")
   468  	api.RegisterMessage((*GtpuOffloadRxReply)(nil), "gtpu_offload_rx_reply_e8d4e804")
   469  	api.RegisterMessage((*GtpuTunnelDetails)(nil), "gtpu_tunnel_details_27f434ae")
   470  	api.RegisterMessage((*GtpuTunnelDump)(nil), "gtpu_tunnel_dump_f9e6675e")
   471  	api.RegisterMessage((*GtpuTunnelUpdateTteid)(nil), "gtpu_tunnel_update_tteid_79f33816")
   472  	api.RegisterMessage((*GtpuTunnelUpdateTteidReply)(nil), "gtpu_tunnel_update_tteid_reply_e8d4e804")
   473  	api.RegisterMessage((*SwInterfaceSetGtpuBypass)(nil), "sw_interface_set_gtpu_bypass_65247409")
   474  	api.RegisterMessage((*SwInterfaceSetGtpuBypassReply)(nil), "sw_interface_set_gtpu_bypass_reply_e8d4e804")
   475  }
   476  
   477  // Messages returns list of all messages in this module.
   478  func AllMessages() []api.Message {
   479  	return []api.Message{
   480  		(*GtpuAddDelTunnel)(nil),
   481  		(*GtpuAddDelTunnelReply)(nil),
   482  		(*GtpuOffloadRx)(nil),
   483  		(*GtpuOffloadRxReply)(nil),
   484  		(*GtpuTunnelDetails)(nil),
   485  		(*GtpuTunnelDump)(nil),
   486  		(*GtpuTunnelUpdateTteid)(nil),
   487  		(*GtpuTunnelUpdateTteidReply)(nil),
   488  		(*SwInterfaceSetGtpuBypass)(nil),
   489  		(*SwInterfaceSetGtpuBypassReply)(nil),
   490  	}
   491  }