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 { return "control_ping" }
25 func (*ControlPing) GetCrcString() string { return "51077d14" }
26 func (*ControlPing) GetMessageType() api.MessageType { return api.RequestMessage }
28 type ControlPingReply struct {
34 func (*ControlPingReply) GetMessageName() string { return "control_ping_reply" }
35 func (*ControlPingReply) GetCrcString() string { return "f6b0b8ca" }
36 func (*ControlPingReply) GetMessageType() api.MessageType { return api.ReplyMessage }
39 api.RegisterMessage((*ControlPing)(nil), "ControlPing")
40 api.RegisterMessage((*ControlPingReply)(nil), "ControlPingReply")