diff options
author | Duncan Roe <duncan_roe@optusnet.com.au> | 2021-09-16 12:58:22 +1000 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-09-20 13:40:40 +0200 |
commit | a70dfaff5cf9f34100c48548dcc07e8e1ded64a6 (patch) | |
tree | 09abb51be83efeacfc003c6f4ce303c12382bbd4 /include/libnetfilter_log/libnetfilter_log.h | |
parent | 6ffbfc53f517b8e5c3dcbd3665b310d566de3898 (diff) |
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 <duncan_roe@optusnet.com.au>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/libnetfilter_log/libnetfilter_log.h')
-rw-r--r-- | include/libnetfilter_log/libnetfilter_log.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |