Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (1)
netlink kernel and user space communications compl
no vote
User space to send a message to the kernel, "this message is from eric's space", the message length 33 bytes because printf ("message sendto kernel are:% s, len:% d \ n", (char *) NLMSG_DATA (message ), message-> nlmsg_len); message-> nlmsg_len = NLMSG_SPACE (strlen (data)); the NLMSG - SPACE, four-byte aligned, so the message length is 36, plus the message header length is 16, len 52 . The kernel netlink messages received print and return the user space of a own message, long 39, a four-byte alignment for 40, 56 plus the message header.
xcxc937078
2016-08-23
2
1
No more~