netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH libnetfilter_queue v3 0/1] src: doc: Insert SYNOPSIS sections for man pages
@ 2021-08-13  4:44 Duncan Roe
  2021-08-13  4:44 ` [PATCH libnetfilter_queue v3 1/1] " Duncan Roe
  0 siblings, 1 reply; 3+ messages in thread
From: Duncan Roe @ 2021-08-13  4:44 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel

Here's a simple way to test this patch and the associated
"Fix NAME entry in man pages" patch.

1. Apply the 2 above-mentioned patches

2. Build the result.

3. Ensure environment variable MANPATH starts with the 'man' directory you just
   built.

4. Issue the following:

man nfq_create_queue nfq_get_gid pktb_alloc nfq_tcp_get_hdr nfq_udp_get_hdr\
nfq_nlmsg_verdict_put nfq_bind_pf nfq_ip_get_hdr nfq_ip6_get_hdr\
pktb_mac_header nfq_nlmsg_cfg_put_cmd pktb_pull nfq_udp_compute_checksum_ipv4\
nfq_tcp_compute_checksum_ipv4 nfq_snprintf_xml nfq_nlmsg_parse\
nfq_icmp_get_hdr nfq_ip_set_checksum

5. 'q' each man page to see the next (maybe ':n' on some systems).
   Verify for correct synopsis and general appearance.
   (If the page is shorter than screen lines, 'g' should put it at top).

Duncan Roe (1):
  src: doc: Insert SYNOPSIS sections for man pages

 src/extra/icmp.c         |  9 +++++++++
 src/extra/ipv4.c         | 20 +++++++++++++++++++-
 src/extra/ipv6.c         | 11 +++++++++++
 src/extra/pktbuff.c      | 37 +++++++++++++++++++++++++++++++------
 src/extra/tcp.c          | 20 ++++++++++++++++++++
 src/extra/udp.c          | 20 ++++++++++++++++++++
 src/libnetfilter_queue.c | 40 ++++++++++++++++++++++++++++++++++++++--
 src/nlmsg.c              | 28 ++++++++++++++++++++++++++++
 8 files changed, 176 insertions(+), 9 deletions(-)

-- 
2.17.5


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-15 12:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-13  4:44 [PATCH libnetfilter_queue v3 0/1] src: doc: Insert SYNOPSIS sections for man pages Duncan Roe
2021-08-13  4:44 ` [PATCH libnetfilter_queue v3 1/1] " Duncan Roe
2021-08-15 12:10   ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).