summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Graf <tgraf@suug.ch>2010-11-23 13:31:39 +0100
committerThomas Graf <tgraf@suug.ch>2010-11-23 13:31:39 +0100
commitc158d06b7b13dfcdc0fc66f8e8267a2493006926 (patch)
tree6d18f201a16586cc639eba1ceb1d53c596c3db20
parent9513d4ce34a9e2c78645eabe35f564facfc1db1f (diff)
downloadlibnl-c158d06b7b13dfcdc0fc66f8e8267a2493006926.tar.gz
rename NL_AUTO_PID to NL_AUTO_PORT
Old name is kept for compatibility.
-rw-r--r--include/netlink/msg.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/include/netlink/msg.h b/include/netlink/msg.h
index ef805a4..f3d50ae 100644
--- a/include/netlink/msg.h
+++ b/include/netlink/msg.h
@@ -25,18 +25,21 @@ extern "C" {
/**
* @ingroup msg
* @brief
- * Will cause the netlink pid to be set to the pid assigned to
- * the netlink handle (socket) just before sending the message off.
- * @note Requires the use of nl_send_auto_complete()!
+ * Will cause the netlink port to be set to the port assigned to
+ * the netlink icoket ust before sending the message off.
+ *
+ * @note Requires the use of nl_send_auto()!
*/
-#define NL_AUTO_PID 0
+#define NL_AUTO_PORT 0
+#define NL_AUTO_PID NL_AUTO_PORT
/**
* @ingroup msg
* @brief
* May be used to refer to a sequence number which should be
* automatically set just before sending the message off.
- * @note Requires the use of nl_send_auto_complete()!
+ *
+ * @note Requires the use of nl_send_auto()!
*/
#define NL_AUTO_SEQ 0