git: 957bd5c5a120 - stable/12 - ipfilter: Correct function description
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 19 Jan 2022 14:23:47 UTC
The branch stable/12 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=957bd5c5a1201d8eff90e6201f086b32f27ba73b commit 957bd5c5a1201d8eff90e6201f086b32f27ba73b Author: Cy Schubert <cy@FreeBSD.org> AuthorDate: 2022-01-11 23:02:09 +0000 Commit: Cy Schubert <cy@FreeBSD.org> CommitDate: 2022-01-19 14:23:16 +0000 ipfilter: Correct function description Correct the parameters descriptions for ipf_fix_outcksum and ipf_fix_incksum. (cherry picked from commit 4b5c0c9b813160842b942a4e978d482e8a7d3f7e) --- sys/contrib/ipfilter/netinet/ip_nat.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/contrib/ipfilter/netinet/ip_nat.c b/sys/contrib/ipfilter/netinet/ip_nat.c index 3fe092277776..bfb6335b36d9 100644 --- a/sys/contrib/ipfilter/netinet/ip_nat.c +++ b/sys/contrib/ipfilter/netinet/ip_nat.c @@ -871,9 +871,10 @@ ipf_nat_hostmapdel(softc, 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. */ /* ------------------------------------------------------------------------ */ @@ -912,9 +913,10 @@ ipf_fix_outcksum(cksum, sp, n, 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. */ /* ------------------------------------------------------------------------ */