EocMsgHeader
2016-06-03 16:03:16 0 举报
AI智能生成
EocMsgHeader是一个数据结构,通常用于在网络通信中表示以太网OAM(操作、管理和维护)消息的头部。这个头部包含了一些必要的字段,如版本号、类型、长度和流标识等,用于标识和控制消息的传输。通过解析EocMsgHeader,接收端可以确定消息的类型和内容,从而正确地处理和响应消息。 请注意,以上描述是基于一般情况下对EocMsgHeader的理解,具体实现可能因不同的系统或应用而有所差异。如果您有特定的需求或上下文,请提供更多详细信息,以便我能够更准确地回答您的问题。
作者其他创作
大纲/内容
EocMsgType type
EocEntityId src
EocEntityId dst
union
union
{
UINT16 all; /**< All 16 bits of the flags at once. */
struct
{
UINT16 event:1; /**< This is a event msg. */
UINT16 request:1; /**< This is a request msg. */
UINT16 response:1; /**< This is a response msg. */
UINT16 requeue:1; /**< Tell eocmonitor to send this msg back to sender. */
UINT16 bounceIfNotRunning:1; /**< Do not launch the app to receive this message if
* it is not already running. */
UINT16 unused:11; /**< For future expansion. */
} bits;
} flags; /**< Modifiers to the type of message. */
UINT16 sequenceNumber
struct eoc_msg_header *nex
UINT wordData
UINT dataLength
0 条评论
下一页
为你推荐
查看更多