Commit graph

19 commits

Author SHA1 Message Date
Elliott Hughes
7e014ce6de am cdc4a400: am cb71ed30: am 50e2555d: Merge "Always include <sys/socket.h> before <linux/netlink.h>."
* commit 'cdc4a400b3a47564887ac1220bfb7f6f8312a71e':
  Always include <sys/socket.h> before <linux/netlink.h>.
2012-09-12 11:08:42 -07:00
Elliott Hughes
b77d3d7249 Always include <sys/socket.h> before <linux/netlink.h>.
Newer kernel headers files aren't stand alone. (This has long been true of
glibc's copy, but we only recently updated external/kernel-headers.)

Change-Id: Iebcb40902b2f29fe509e207e2f3a9d02a7e40602
2012-09-12 10:10:20 -07:00
Jouni Malinen
831cbc9d29 libnl: Add nla_put_u8/u16/u32/u64() wrapper
Change-Id: I9c07bbff1f678b5c406dbd455c830363af093703
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-08-09 14:38:47 -07:00
Ed Heyl
3cac204d35 Merge remote-tracking branch 'goog/jb-dev-mako' into jb-mr1-dev 2012-07-28 11:48:12 -07:00
Dmitry Shmidt
2d9a6281ca libnl_2: Extend genl_ctrl_resolve() to support "nl80211" name
Change-Id: I46759ba55bdf42baef7c1f43de845b0dc846d502
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-07-10 17:49:22 -07:00
Dmitry Shmidt
de92239055 libnl_2: Add nl_socket_set_cb() and nl_socket_get_cb()
Change-Id: Ibc2b4dc9528bd43d3fc85491c4838a33c916330e
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2012-07-10 10:47:48 -07:00
Iliyan Malchev
db7462f8d1 libnl_2: compile as shared library as well
Change-Id: I103155b08a16b512a582ee2c4ffc9d6f8a1e1c6a
Signed-off-by: Iliyan Malchev <malchev@google.com>
2012-06-11 14:18:45 -07:00
Dmitry Shmidt
d99fe5ec96 libnl_2: Fix memory leaks
BUG: b/5532633

Change-Id: I271168764e26dc465d2442f5015338a3e9a479b8
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-11-01 15:56:22 -07:00
Dmitry Shmidt
e5de9ee491 libnl_2: Fix getting family_id
Change-Id: I27b2495fb96852e960f647f032a5fcd446ec742b
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-09-30 12:39:48 -07:00
Dmitry Shmidt
1e144548aa Merge "libnl_2: Update README" 2011-08-12 14:52:16 -07:00
Dmitry Shmidt
806ed3ce4a libnl_2: Update README
Change-Id: I8501dc01782fa2cfeabb9d27b9c48caa50b74f37
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-08-12 14:46:33 -07:00
Dmitry Shmidt
5fbf404d72 Merge "libnl_2: Fix nested attribute setting" 2011-08-11 09:31:13 -07:00
Dmitry Shmidt
64f17e85b4 libnl_2: Fix nested attribute setting
Change-Id: I9dbf72a25e8a939ab6aa35eaf4adbf86d9ed97a1
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
2011-08-10 15:25:51 -07:00
Jean-Baptiste Queru
c4fcd8a68a Move libnl headers to their own project
Change-Id: If3f20575507431afa7a79aee6b99823a2d1df324
2011-08-08 12:43:25 -07:00
Frank Maker
e065872503 libnl: Added more detailed information to README
Change-Id: I330a215a02535521b6bdd613eae50c34e47a8835
2011-08-04 15:41:47 -07:00
Frank Maker
69bc179b20 libnl: BUGFIX to support wpa_supplicant p2p_find
Close socket file descriptor when nl_msg freed
Correct nested attribute container size when closing nest
2011-08-02 15:30:44 -07:00
Frank Maker
c28b79a6c2 libnl: nl_socket_alloc() Bugfix
Clear memory and allow kernel to set local socket pid

Change-Id: I274156fa7bcf8d2fe78f719fb2eb32d963682931
2011-07-06 22:15:34 -07:00
Frank Maker
1b53483949 BUGFIX: libnl_2
Fixed return value for nla_put.

Change-Id: If1ae33bb38c0e88ca7a9220e90ae35dfb0b44b86
2011-06-30 17:39:54 -07:00
Frank Maker
ed6b39cc77 Cleanroom libnl_2 library
By overriding the netlink cache pointer, able to pass nl80211 family id.
Scan and connecting open access point work
Added legal stuff to headers

Change-Id: I1c60452f35fdd1f80edebc03fef33067722d0543
2011-06-28 13:28:02 -07:00