4 "git.fd.io/govpp.git/api"
8 msgControlPing api.Message = new(ControlPing)
9 msgControlPingReply api.Message = new(ControlPingReply)
12 // SetControlPing sets the control ping message used by core.
13 func SetControlPing(m api.Message) {
17 // SetControlPingReply sets the control ping reply message used by core.
18 func SetControlPingReply(m api.Message) {
19 msgControlPingReply = m
22 type ControlPing struct{}
24 func (*ControlPing) GetMessageName() string {
27 func (*ControlPing) GetCrcString() string {
30 func (*ControlPing) GetMessageType() api.MessageType {
31 return api.RequestMessage
34 type ControlPingReply struct {
40 func (*ControlPingReply) GetMessageName() string {
41 return "control_ping_reply"
43 func (*ControlPingReply) GetCrcString() string {
46 func (*ControlPingReply) GetMessageType() api.MessageType {
47 return api.ReplyMessage
51 api.RegisterMessage((*ControlPing)(nil), "ControlPing")
52 api.RegisterMessage((*ControlPingReply)(nil), "ControlPingReply")