git: 4b5c0c9b8131 - main - ipfilter: Correct function description

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Wed, 12 Jan 2022 21:05:18 UTC
The branch main has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=4b5c0c9b813160842b942a4e978d482e8a7d3f7e

commit 4b5c0c9b813160842b942a4e978d482e8a7d3f7e
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-01-11 23:02:09 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-01-12 20:58:05 +0000

    ipfilter: Correct function description
    
    Correct the parameters descriptions for ipf_fix_outcksum and
    ipf_fix_incksum.
    
    MFC after:      3 days
---
 sys/netpfil/ipfilter/netinet/ip_nat.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys/netpfil/ipfilter/netinet/ip_nat.c b/sys/netpfil/ipfilter/netinet/ip_nat.c
index 668fd6094965..1d6146ea404c 100644
--- a/sys/netpfil/ipfilter/netinet/ip_nat.c
+++ b/sys/netpfil/ipfilter/netinet/ip_nat.c
@@ -847,9 +847,10 @@ ipf_nat_hostmapdel(ipf_main_softc_t *softc, struct hostmap **hmp)
 /* ------------------------------------------------------------------------ */
 /* Function:    ipf_fix_outcksum                                            */
 /* Returns:     Nil                                                         */
-/* Parameters:  fin(I) - pointer to packet information                      */
+/* Parameters:  cksum(I) - ipf_cksum_t, value of fin_cksum                  */
 /*              sp(I)  - location of 16bit checksum to update               */
 /*              n((I)  - amount to adjust checksum by                       */
+/*		partial(I) - partial checksum				    */
 /*                                                                          */
 /* Adjusts the 16bit checksum by "n" for packets going out.                 */
 /* ------------------------------------------------------------------------ */
@@ -885,9 +886,10 @@ ipf_fix_outcksum(int cksum, u_short *sp, u_32_t n, u_32_t partial)
 /* ------------------------------------------------------------------------ */
 /* Function:    ipf_fix_incksum                                             */
 /* Returns:     Nil                                                         */
-/* Parameters:  fin(I) - pointer to packet information                      */
+/* Parameters:  cksum(I) - ipf_cksum_t, value of fin_cksum                  */
 /*              sp(I)  - location of 16bit checksum to update               */
 /*              n((I)  - amount to adjust checksum by                       */
+/*		partial(I) - partial checksum				    */
 /*                                                                          */
 /* Adjusts the 16bit checksum by "n" for packets going in.                  */
 /* ------------------------------------------------------------------------ */