X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=e2ap%2Fpkg%2Fe2ap%2Fmsg_e2ap.go;fp=e2ap%2Fpkg%2Fe2ap%2Fmsg_e2ap.go;h=7aaad0c5649990ab1f12bd5bd2e9c80625602d15;hb=a9bf76cb8dec6e52e7699edf1631c214647f8beb;hp=eecf8b8e17189a2f0515ad46481cfe18951d0c24;hpb=01a4c49324392003717106267c56126275b9058b;p=ric-plt%2Fsubmgr.git diff --git a/e2ap/pkg/e2ap/msg_e2ap.go b/e2ap/pkg/e2ap/msg_e2ap.go index eecf8b8..7aaad0c 100644 --- a/e2ap/pkg/e2ap/msg_e2ap.go +++ b/e2ap/pkg/e2ap/msg_e2ap.go @@ -172,6 +172,25 @@ const ( E2AP_ENBIDlongMacroBits21 uint8 = 21 ) +//----------------------------------------------------------------------------- +// +//----------------------------------------------------------------------------- +type PackedData struct { + Buf []byte +} + +//----------------------------------------------------------------------------- +// +//----------------------------------------------------------------------------- +type MessageInfo struct { + MsgType uint64 + MsgId uint64 +} + +func (msgInfo *MessageInfo) String() string { + return "msginfo(" + strconv.FormatUint((uint64)(msgInfo.MsgType), 10) + string(":") + strconv.FormatUint((uint64)(msgInfo.MsgId), 10) + ")" +} + //----------------------------------------------------------------------------- // //-----------------------------------------------------------------------------