summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/msg.c6
-rw-r--r--lib/route/cls.c2
-rw-r--r--lib/route/tc.c1
3 files changed, 2 insertions, 7 deletions
diff --git a/lib/msg.c b/lib/msg.c
index 62f0911..ee2922c 100644
--- a/lib/msg.c
+++ b/lib/msg.c
@@ -181,8 +181,6 @@ static void __init init_msg_size(void)
* Calculates size of netlink message based on payload length.
* @arg payload Length of payload
*
- * See \ref core_msg_fmt_align for more information on alignment.
- *
* @return size of netlink message without padding.
*/
int nlmsg_size(int payload)
@@ -201,8 +199,6 @@ int nlmsg_msg_size(int payload)
*
* This function is idential to nlmsg_size() + nlmsg_padlen().
*
- * See \ref core_msg_fmt_align for more information on alignment.
- *
* @return Size of netlink message including padding.
*/
int nlmsg_total_size(int payload)
@@ -218,8 +214,6 @@ int nlmsg_total_size(int payload)
* the end of the message to ensure that the next netlink message header begins
* properly aligned to NLMSG_ALIGNTO.
*
- * See \ref core_msg_fmt_align for more information on alignment.
- *
* @return Number of bytes of padding needed.
*/
int nlmsg_padlen(int payload)
diff --git a/lib/route/cls.c b/lib/route/cls.c
index aa79b09..fb2e9be 100644
--- a/lib/route/cls.c
+++ b/lib/route/cls.c
@@ -237,6 +237,7 @@ int rtnl_cls_change(struct nl_sock *sk, struct rtnl_cls *cls, int flags)
/**
* Build netlink message requesting the deletion of a classifier
* @arg cls Classifier to delete
+ * @arg flags Additional netlink message flags
* @arg result Pointer to store resulting netlink message
*
* The behaviour of this function is identical to rtnl_cls_delete() with
@@ -264,6 +265,7 @@ int rtnl_cls_build_delete_request(struct rtnl_cls *cls, int flags,
* Delete classifier
* @arg sk Netlink socket
* @arg cls Classifier to delete
+ * @arg flags Additional netlink message flags
*
* Builds a \c RTM_DELTFILTER netlink message requesting the deletion
* of a classifier and sends the message to the kernel.
diff --git a/lib/route/tc.c b/lib/route/tc.c
index 7bd4728..6826a05 100644
--- a/lib/route/tc.c
+++ b/lib/route/tc.c
@@ -307,7 +307,6 @@ void rtnl_tc_set_link(struct rtnl_tc *tc, struct rtnl_link *link)
/**
* Get link of traffic control object
* @arg tc traffic control object
- * @arg link link object
*
* Returns the link of a traffic control object. The link is only
* returned if it has been set before via rtnl_tc_set_link() or