Documentation
¶
Overview ¶
Code generated by govpp binapi-generator DO NOT EDIT. Package sr represents the VPP binary API of the 'sr' VPP module. Generated from '/usr/share/vpp/api/sr.api.json'
Index ¶
- Variables
- func NewSrLocalsidAddDel() api.Message
- func NewSrLocalsidAddDelReply() api.Message
- func NewSrLocalsidsDetails() api.Message
- func NewSrLocalsidsDump() api.Message
- func NewSrPolicyAdd() api.Message
- func NewSrPolicyAddReply() api.Message
- func NewSrPolicyDel() api.Message
- func NewSrPolicyDelReply() api.Message
- func NewSrPolicyMod() api.Message
- func NewSrPolicyModReply() api.Message
- func NewSrSetEncapSource() api.Message
- func NewSrSetEncapSourceReply() api.Message
- func NewSrSteeringAddDel() api.Message
- func NewSrSteeringAddDelReply() api.Message
- type IPv6type
- type SrLocalsidAddDel
- type SrLocalsidAddDelReply
- type SrLocalsidsDetails
- type SrLocalsidsDump
- type SrPolicyAdd
- type SrPolicyAddReply
- type SrPolicyDel
- type SrPolicyDelReply
- type SrPolicyMod
- type SrPolicyModReply
- type SrSetEncapSource
- type SrSetEncapSourceReply
- type SrSteeringAddDel
- type SrSteeringAddDelReply
Constants ¶
This section is empty.
Variables ¶
var Functions = map[string]reflect.Value{ "NewSrLocalsidAddDel": reflect.ValueOf(NewSrLocalsidAddDel), "NewSrLocalsidAddDelReply": reflect.ValueOf(NewSrLocalsidAddDelReply), "NewSrLocalsidsDetails": reflect.ValueOf(NewSrLocalsidsDetails), "NewSrLocalsidsDump": reflect.ValueOf(NewSrLocalsidsDump), "NewSrPolicyAdd": reflect.ValueOf(NewSrPolicyAdd), "NewSrPolicyAddReply": reflect.ValueOf(NewSrPolicyAddReply), "NewSrPolicyDel": reflect.ValueOf(NewSrPolicyDel), "NewSrPolicyDelReply": reflect.ValueOf(NewSrPolicyDelReply), "NewSrPolicyMod": reflect.ValueOf(NewSrPolicyMod), "NewSrPolicyModReply": reflect.ValueOf(NewSrPolicyModReply), "NewSrSetEncapSource": reflect.ValueOf(NewSrSetEncapSource), "NewSrSetEncapSourceReply": reflect.ValueOf(NewSrSetEncapSourceReply), "NewSrSteeringAddDel": reflect.ValueOf(NewSrSteeringAddDel), "NewSrSteeringAddDelReply": reflect.ValueOf(NewSrSteeringAddDelReply), }
var Types = map[string]reflect.Type{ "SrLocalsidAddDel": reflect.TypeOf((*SrLocalsidAddDel)(nil)).Elem(), "SrLocalsidAddDelReply": reflect.TypeOf((*SrLocalsidAddDelReply)(nil)).Elem(), "SrLocalsidsDetails": reflect.TypeOf((*SrLocalsidsDetails)(nil)).Elem(), "SrLocalsidsDump": reflect.TypeOf((*SrLocalsidsDump)(nil)).Elem(), "SrPolicyAdd": reflect.TypeOf((*SrPolicyAdd)(nil)).Elem(), "SrPolicyAddReply": reflect.TypeOf((*SrPolicyAddReply)(nil)).Elem(), "SrPolicyDel": reflect.TypeOf((*SrPolicyDel)(nil)).Elem(), "SrPolicyDelReply": reflect.TypeOf((*SrPolicyDelReply)(nil)).Elem(), "SrPolicyMod": reflect.TypeOf((*SrPolicyMod)(nil)).Elem(), "SrPolicyModReply": reflect.TypeOf((*SrPolicyModReply)(nil)).Elem(), "SrSetEncapSource": reflect.TypeOf((*SrSetEncapSource)(nil)).Elem(), "SrSetEncapSourceReply": reflect.TypeOf((*SrSetEncapSourceReply)(nil)).Elem(), "SrSteeringAddDel": reflect.TypeOf((*SrSteeringAddDel)(nil)).Elem(), "SrSteeringAddDelReply": reflect.TypeOf((*SrSteeringAddDelReply)(nil)).Elem(), }
Functions ¶
Types ¶
type IPv6type ¶
type IPv6type struct{ Value [16]byte } // MANUALLY ADDED TO FIX MARSHALLING (BAD VPP API)
type SrLocalsidAddDel ¶
type SrLocalsidAddDel struct {
IsDel uint8
LocalsidAddr []byte `struc:"[16]byte"`
EndPsp uint8
Behavior uint8
SwIfIndex uint32
VlanIndex uint32
FibTable uint32
NhAddr []byte `struc:"[16]byte"`
}
SrLocalsidAddDel represents the VPP binary API message 'sr_localsid_add_del'. Generated from '/usr/share/vpp/api/sr.api.json', line 30:
"sr_localsid_add_del",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"is_del"
],
[
"u8",
"localsid_addr",
16
],
[
"u8",
"end_psp"
],
[
"u8",
"behavior"
],
[
"u32",
"sw_if_index"
],
[
"u32",
"vlan_index"
],
[
"u32",
"fib_table"
],
[
"u8",
"nh_addr",
16
],
{
"crc": "0xa833a891"
}
func (*SrLocalsidAddDel) GetCrcString ¶
func (*SrLocalsidAddDel) GetCrcString() string
func (*SrLocalsidAddDel) GetMessageName ¶
func (*SrLocalsidAddDel) GetMessageName() string
func (*SrLocalsidAddDel) GetMessageType ¶
func (*SrLocalsidAddDel) GetMessageType() api.MessageType
type SrLocalsidAddDelReply ¶
type SrLocalsidAddDelReply struct {
Retval int32
}
SrLocalsidAddDelReply represents the VPP binary API message 'sr_localsid_add_del_reply'. Generated from '/usr/share/vpp/api/sr.api.json', line 82:
"sr_localsid_add_del_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SrLocalsidAddDelReply) GetCrcString ¶
func (*SrLocalsidAddDelReply) GetCrcString() string
func (*SrLocalsidAddDelReply) GetMessageName ¶
func (*SrLocalsidAddDelReply) GetMessageName() string
func (*SrLocalsidAddDelReply) GetMessageType ¶
func (*SrLocalsidAddDelReply) GetMessageType() api.MessageType
type SrLocalsidsDetails ¶
type SrLocalsidsDetails struct {
Address []byte `struc:"[16]byte"`
EndPsp uint8
Behavior uint16
FibTable uint32
XconnectNextHop []byte `struc:"[16]byte"`
XconnectIfaceOrVrfTable uint32
}
SrLocalsidsDetails represents the VPP binary API message 'sr_localsids_details'. Generated from '/usr/share/vpp/api/sr.api.json', line 410:
"sr_localsids_details",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"u8",
"address",
16
],
[
"u8",
"end_psp"
],
[
"u16",
"behavior"
],
[
"u32",
"fib_table"
],
[
"u8",
"xconnect_next_hop",
16
],
[
"u32",
"xconnect_iface_or_vrf_table"
],
{
"crc": "0xb6556a9c"
}
func (*SrLocalsidsDetails) GetCrcString ¶
func (*SrLocalsidsDetails) GetCrcString() string
func (*SrLocalsidsDetails) GetMessageName ¶
func (*SrLocalsidsDetails) GetMessageName() string
func (*SrLocalsidsDetails) GetMessageType ¶
func (*SrLocalsidsDetails) GetMessageType() api.MessageType
type SrLocalsidsDump ¶
type SrLocalsidsDump struct {
}
SrLocalsidsDump represents the VPP binary API message 'sr_localsids_dump'. Generated from '/usr/share/vpp/api/sr.api.json', line 392:
"sr_localsids_dump",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
{
"crc": "0x51077d14"
}
func (*SrLocalsidsDump) GetCrcString ¶
func (*SrLocalsidsDump) GetCrcString() string
func (*SrLocalsidsDump) GetMessageName ¶
func (*SrLocalsidsDump) GetMessageName() string
func (*SrLocalsidsDump) GetMessageType ¶
func (*SrLocalsidsDump) GetMessageType() api.MessageType
type SrPolicyAdd ¶
type SrPolicyAdd struct {
BsidAddr []byte `struc:"[16]byte"`
Weight uint32
IsEncap uint8
Type uint8
FibTable uint32
NSegments uint8 `struc:"sizeof=Segments"` // MANUALLY ADDED TO FIX MARSHALLING (BAD VPP API)
Segments []IPv6type // MANUALLY ADDED TO FIX MARSHALLING (BAD VPP API)
}
SrPolicyAdd represents the VPP binary API message 'sr_policy_add'. Generated from '/usr/share/vpp/api/sr.api.json', line 100:
"sr_policy_add",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"bsid_addr",
16
],
[
"u32",
"weight"
],
[
"u8",
"is_encap"
],
[
"u8",
"type"
],
[
"u32",
"fib_table"
],
[
"u8",
"n_segments"
],
[
"u8",
"segments",
0
],
{
"crc": "0xc8c2222d"
}
func (*SrPolicyAdd) GetCrcString ¶
func (*SrPolicyAdd) GetCrcString() string
func (*SrPolicyAdd) GetMessageName ¶
func (*SrPolicyAdd) GetMessageName() string
func (*SrPolicyAdd) GetMessageType ¶
func (*SrPolicyAdd) GetMessageType() api.MessageType
type SrPolicyAddReply ¶
type SrPolicyAddReply struct {
Retval int32
}
SrPolicyAddReply represents the VPP binary API message 'sr_policy_add_reply'. Generated from '/usr/share/vpp/api/sr.api.json', line 148:
"sr_policy_add_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SrPolicyAddReply) GetCrcString ¶
func (*SrPolicyAddReply) GetCrcString() string
func (*SrPolicyAddReply) GetMessageName ¶
func (*SrPolicyAddReply) GetMessageName() string
func (*SrPolicyAddReply) GetMessageType ¶
func (*SrPolicyAddReply) GetMessageType() api.MessageType
type SrPolicyDel ¶
SrPolicyDel represents the VPP binary API message 'sr_policy_del'. Generated from '/usr/share/vpp/api/sr.api.json', line 236:
"sr_policy_del",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"bsid_addr",
16
],
[
"u32",
"sr_policy_index"
],
{
"crc": "0x0388e561"
}
func (*SrPolicyDel) GetCrcString ¶
func (*SrPolicyDel) GetCrcString() string
func (*SrPolicyDel) GetMessageName ¶
func (*SrPolicyDel) GetMessageName() string
func (*SrPolicyDel) GetMessageType ¶
func (*SrPolicyDel) GetMessageType() api.MessageType
type SrPolicyDelReply ¶
type SrPolicyDelReply struct {
Retval int32
}
SrPolicyDelReply represents the VPP binary API message 'sr_policy_del_reply'. Generated from '/usr/share/vpp/api/sr.api.json', line 263:
"sr_policy_del_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SrPolicyDelReply) GetCrcString ¶
func (*SrPolicyDelReply) GetCrcString() string
func (*SrPolicyDelReply) GetMessageName ¶
func (*SrPolicyDelReply) GetMessageName() string
func (*SrPolicyDelReply) GetMessageType ¶
func (*SrPolicyDelReply) GetMessageType() api.MessageType
type SrPolicyMod ¶
type SrPolicyMod struct {
BsidAddr []byte `struc:"[16]byte"`
SrPolicyIndex uint32
FibTable uint32
Operation uint8
SlIndex uint32
Weight uint32
NSegments uint8 `struc:"sizeof=Segments"` // MANUALLY ADDED TO FIX MARSHALLING (BAD VPP API)
Segments []IPv6type // MANUALLY ADDED TO FIX MARSHALLING (BAD VPP API)
}
SrPolicyMod represents the VPP binary API message 'sr_policy_mod'. Generated from '/usr/share/vpp/api/sr.api.json', line 166:
"sr_policy_mod",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"bsid_addr",
16
],
[
"u32",
"sr_policy_index"
],
[
"u32",
"fib_table"
],
[
"u8",
"operation"
],
[
"u32",
"sl_index"
],
[
"u32",
"weight"
],
[
"u8",
"n_segments"
],
[
"u8",
"segments",
0
],
{
"crc": "0x596a4682"
}
func (*SrPolicyMod) GetCrcString ¶
func (*SrPolicyMod) GetCrcString() string
func (*SrPolicyMod) GetMessageName ¶
func (*SrPolicyMod) GetMessageName() string
func (*SrPolicyMod) GetMessageType ¶
func (*SrPolicyMod) GetMessageType() api.MessageType
type SrPolicyModReply ¶
type SrPolicyModReply struct {
Retval int32
}
SrPolicyModReply represents the VPP binary API message 'sr_policy_mod_reply'. Generated from '/usr/share/vpp/api/sr.api.json', line 218:
"sr_policy_mod_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SrPolicyModReply) GetCrcString ¶
func (*SrPolicyModReply) GetCrcString() string
func (*SrPolicyModReply) GetMessageName ¶
func (*SrPolicyModReply) GetMessageName() string
func (*SrPolicyModReply) GetMessageType ¶
func (*SrPolicyModReply) GetMessageType() api.MessageType
type SrSetEncapSource ¶
type SrSetEncapSource struct {
EncapsSource []byte `struc:"[16]byte"`
}
SrSetEncapSource represents the VPP binary API message 'sr_set_encap_source'. Generated from '/usr/share/vpp/api/sr.api.json', line 281:
"sr_set_encap_source",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"encaps_source",
16
],
{
"crc": "0xd05bb4de"
}
func (*SrSetEncapSource) GetCrcString ¶
func (*SrSetEncapSource) GetCrcString() string
func (*SrSetEncapSource) GetMessageName ¶
func (*SrSetEncapSource) GetMessageName() string
func (*SrSetEncapSource) GetMessageType ¶
func (*SrSetEncapSource) GetMessageType() api.MessageType
type SrSetEncapSourceReply ¶
type SrSetEncapSourceReply struct {
Retval int32
}
SrSetEncapSourceReply represents the VPP binary API message 'sr_set_encap_source_reply'. Generated from '/usr/share/vpp/api/sr.api.json', line 304:
"sr_set_encap_source_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SrSetEncapSourceReply) GetCrcString ¶
func (*SrSetEncapSourceReply) GetCrcString() string
func (*SrSetEncapSourceReply) GetMessageName ¶
func (*SrSetEncapSourceReply) GetMessageName() string
func (*SrSetEncapSourceReply) GetMessageType ¶
func (*SrSetEncapSourceReply) GetMessageType() api.MessageType
type SrSteeringAddDel ¶
type SrSteeringAddDel struct {
IsDel uint8
BsidAddr []byte `struc:"[16]byte"`
SrPolicyIndex uint32
TableID uint32
PrefixAddr []byte `struc:"[16]byte"`
MaskWidth uint32
SwIfIndex uint32
TrafficType uint8
}
SrSteeringAddDel represents the VPP binary API message 'sr_steering_add_del'. Generated from '/usr/share/vpp/api/sr.api.json', line 322:
"sr_steering_add_del",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"client_index"
],
[
"u32",
"context"
],
[
"u8",
"is_del"
],
[
"u8",
"bsid_addr",
16
],
[
"u32",
"sr_policy_index"
],
[
"u32",
"table_id"
],
[
"u8",
"prefix_addr",
16
],
[
"u32",
"mask_width"
],
[
"u32",
"sw_if_index"
],
[
"u8",
"traffic_type"
],
{
"crc": "0x28b5dcab"
}
func (*SrSteeringAddDel) GetCrcString ¶
func (*SrSteeringAddDel) GetCrcString() string
func (*SrSteeringAddDel) GetMessageName ¶
func (*SrSteeringAddDel) GetMessageName() string
func (*SrSteeringAddDel) GetMessageType ¶
func (*SrSteeringAddDel) GetMessageType() api.MessageType
type SrSteeringAddDelReply ¶
type SrSteeringAddDelReply struct {
Retval int32
}
SrSteeringAddDelReply represents the VPP binary API message 'sr_steering_add_del_reply'. Generated from '/usr/share/vpp/api/sr.api.json', line 374:
"sr_steering_add_del_reply",
[
"u16",
"_vl_msg_id"
],
[
"u32",
"context"
],
[
"i32",
"retval"
],
{
"crc": "0xe8d4e804"
}
func (*SrSteeringAddDelReply) GetCrcString ¶
func (*SrSteeringAddDelReply) GetCrcString() string
func (*SrSteeringAddDelReply) GetMessageName ¶
func (*SrSteeringAddDelReply) GetMessageName() string
func (*SrSteeringAddDelReply) GetMessageType ¶
func (*SrSteeringAddDelReply) GetMessageType() api.MessageType
Source Files
¶
- pkgreflect.go
- sr.go