From a70dfaff5cf9f34100c48548dcc07e8e1ded64a6 Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Thu, 16 Sep 2021 12:58:22 +1000 Subject: src: doc: revise doxygen for module "Netlink message helper functions" Adjust style to work better in a man page. Document actual return values. Replace qnum with gnum (and in .h and utils/). Show possible copy modes (rather than refer users to header file) Signed-off-by: Duncan Roe Signed-off-by: Pablo Neira Ayuso --- include/libnetfilter_log/libnetfilter_log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/libnetfilter_log') diff --git a/include/libnetfilter_log/libnetfilter_log.h b/include/libnetfilter_log/libnetfilter_log.h index c27149f..16c4748 100644 --- a/include/libnetfilter_log/libnetfilter_log.h +++ b/include/libnetfilter_log/libnetfilter_log.h @@ -88,7 +88,7 @@ enum { extern int nflog_snprintf_xml(char *buf, size_t len, struct nflog_data *tb, int flags); extern struct nlmsghdr * -nflog_nlmsg_put_header(char *buf, uint8_t type, uint8_t family, uint16_t qnum); +nflog_nlmsg_put_header(char *buf, uint8_t type, uint8_t family, uint16_t gnum); extern int nflog_attr_put_cfg_mode(struct nlmsghdr *nlh, uint8_t mode, uint32_t range); extern int nflog_attr_put_cfg_cmd(struct nlmsghdr *nlh, uint8_t cmd); extern int nflog_nlmsg_parse(const struct nlmsghdr *nlh, struct nlattr **attr); -- cgit v1.2.3