Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

struct nlmsghdr* nlmsg_hdr ( struct nl_msg *  n  )  [read]

Return actual netlink message

  • n netlink message
Returns the actual netlink message casted to the type of the netlink message header.

Returns:
A pointer to the netlink message.

Definition at line 644 of file msg.c.

Referenced by nl_cache_parse_and_add(), nl_msg_dump(), nl_send_auto_complete(), and nl_sendmsg().

{
      return n->nm_nlh;
}


Generated by  Doxygen 1.6.0   Back to index