Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 806ed3ce authored by Dmitry Shmidt's avatar Dmitry Shmidt
Browse files

libnl_2: Update README



Change-Id: I8501dc01782fa2cfeabb9d27b9c48caa50b74f37
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent 64f17e85
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -11,12 +11,16 @@ Netlink Protocol Format (RFC3549)
|Netlink Message  |P| Generic Netlink   |P|
|    Header       |A|  Message Header   |A|
|(struct nlmsghdr)|D|(struct genlmsghdr)|D|
+-----------------+-+-------------------+-+
+-----------------+-+-------------------+-+-------------+
|len:4|type:2|flags:2|seq:4 pid:4|cmd:1|ver:1|reserved:2|
+--------------------------------+----------------------+
+-----------------+-+-----------------+-+-----------------+-+-----------------+-+---+
|Netlink Attribute|P|Netlink Attribute|P|Netlink Attribute|P|Netlink Attribute|P|...|
|    #0 Header    |A|   #0 Payload    |A|   #1 Header     |A|   #1 Payload    |A|   |
| (struct nlattr) |D|     (void)      |D| (struct nlattr) |D|     (void)      |D|   |
+-----------------+-+-----------------+-+-----------------+-+-----------------+-+---+
|len:2(==4+payload)|type:2|payload|pad|
+-------------------------+-------+---+

NETLINK OVERVIEW

@@ -39,7 +43,7 @@ KNOWN ISSUES
  * Not tested for thread safety

  Android.mk
  * No static library because of netlink cache not implemented and
  * No dynamic library because of netlink cache not implemented and
    not tested for thread safety

  attr.c