little-dude / netlink

netlink libraries for rust

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

message with type NLMSG_DONE can also have payload

qingyunha opened this issue · comments

[76, 0, 0, 0, 3, 0, 0, 0, 119, 180, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 119, 180, 25, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 128, 1, 0, 0, 0, 222, 247, 17, 88, 241, 109, 22, 0, 35, 170, 18, 0, 35, 170, 18, 0, 0, 0, 0, 0, 17, 0, 0, 0, 28, 170, 18, 0, 28, 170, 18, 0]                                     
NetlinkMessage { header: NetlinkHeader { length: 76, message_type: 3, flags: 0, sequence_number: 1684599, port_number: 0 }, payload: Done } 

The above is an example of NETLINK_CONNECTOR group cn_proc message. It has a payload but ignores parse.

NLMSG_DONE => Done,

Duplicate of #160 and #230 (discussion mostly in #230).