Date: Mon, 14 Jun 2004 15:33:59 GMT From: Bruce M Simpson <bms@FreeBSD.org> To: hburch@lumeta.com, bms@FreeBSD.org, freebsd-bugs@FreeBSD.org, bms@FreeBSD.org Subject: Re: kern/42467: netstat -s does not include fabricated pkts in "packets sent from host" Message-ID: <200406141533.i5EFXxUH006678@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: netstat -s does not include fabricated pkts in "packets sent from host" State-Changed-From-To: open->analyzed State-Changed-By: bms State-Changed-When: Mon Jun 14 15:30:35 GMT 2004 State-Changed-Why: This looks like a problem of definitions... ipstat.ips_localout is the global member concerned. It doesn't get incremented if the IP_RAWOUTPUT flag is set when ip_output() is called, and it doesn't get incremented if we act as a router and forwarded the packet (IP_FORWARDING). ipstat.ips_rawout is however incremented from within the raw IP socket code, specifically rip_output(). I have a feeling this is the stuff of bikesheds beyond our wildest nightmares, so I'm not touching it just now. Responsible-Changed-From-To: freebsd-bugs->bms Responsible-Changed-By: bms Responsible-Changed-When: Mon Jun 14 15:30:35 GMT 2004 Responsible-Changed-Why: I'll take this. http://www.freebsd.org/cgi/query-pr.cgi?pr=42467
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200406141533.i5EFXxUH006678>