summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Shmidt <dimitrysh@google.com>2011-08-12 14:52:16 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-08-12 14:52:16 -0700
commit1e144548aa7c86af880264c7b4a4462e6c1a87c6 (patch)
tree515ae1a9378416d64c84d8930be0bc148dc0a4e4
parentc9b06951e0349244fdca7401e7bcc54c538dce62 (diff)
parent806ed3ce4ac59e55c9c326ad9df056672a608e66 (diff)
downloadsystem_core-1e144548aa7c86af880264c7b4a4462e6c1a87c6.zip
system_core-1e144548aa7c86af880264c7b4a4462e6c1a87c6.tar.gz
system_core-1e144548aa7c86af880264c7b4a4462e6c1a87c6.tar.bz2
Merge "libnl_2: Update README"
-rw-r--r--libnl_2/README8
1 files changed, 6 insertions, 2 deletions
diff --git a/libnl_2/README b/libnl_2/README
index 7559fdf..14db6db 100644
--- a/libnl_2/README
+++ b/libnl_2/README
@@ -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