diff options
author | Thomas Graf <tgr@plip.localdomain> | 2008-10-20 13:02:38 +0200 |
---|---|---|
committer | Thomas Graf <tgr@plip.localdomain> | 2008-10-20 13:02:38 +0200 |
commit | 2bdee95a765457fe4206b89d51974ae56e75c588 (patch) | |
tree | 91fcdf9e93b2918dd107a8894e400f4032a7fa4d /include | |
parent | f42f195a80ffb7a5dcc355a56b8fe229692718e5 (diff) | |
download | android_external_libnl-2bdee95a765457fe4206b89d51974ae56e75c588.tar.gz android_external_libnl-2bdee95a765457fe4206b89d51974ae56e75c588.tar.bz2 android_external_libnl-2bdee95a765457fe4206b89d51974ae56e75c588.zip |
Add socket flag NL_NO_AUTO_ACK to allow disabling auto ACKS
Diffstat (limited to 'include')
-rw-r--r-- | include/netlink-types.h | 1 | ||||
-rw-r--r-- | include/netlink/socket.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/netlink-types.h b/include/netlink-types.h index cddace9..263e5d7 100644 --- a/include/netlink-types.h +++ b/include/netlink-types.h @@ -22,6 +22,7 @@ #define NL_SOCK_PASSCRED (1<<1) #define NL_OWN_PORT (1<<2) #define NL_MSG_PEEK (1<<3) +#define NL_NO_AUTO_ACK (1<<4) #define NL_MSG_CRED_PRESENT 1 diff --git a/include/netlink/socket.h b/include/netlink/socket.h index 68477e4..c10bc2a 100644 --- a/include/netlink/socket.h +++ b/include/netlink/socket.h @@ -56,6 +56,8 @@ extern int nl_socket_recv_pktinfo(struct nl_sock *, int); extern void nl_disable_sequence_check(struct nl_sock *); extern unsigned int nl_socket_use_seq(struct nl_sock *); +extern void nl_socket_disable_auto_ack(struct nl_sock *); +extern void nl_socket_enable_auto_ack(struct nl_sock *); extern int nl_socket_get_fd(struct nl_sock *); extern int nl_socket_set_nonblocking(struct nl_sock *); |