Date: Tue, 05 Jun 2007 13:56:10 -0400 From: Randall Stewart <rrs@cisco.com> To: net@freebsd.org Subject: netstat patch.. Message-ID: <4665A3BA.7030307@cisco.com>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------090507010906000109090406 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit All: Weongyo Jeong sent me a nice netstat patch that allows netstat access to SCTP stuff :-D I attach the patch and ask your comments... He did report a couple of Witness warnings (which I have fixed.. but this was an SCTP issue :-D).. I will commit the witness fix shortly.. But what do you think of me adding this to netstat? Comments would be appreciated ;-) R -- Randall Stewart NSSTG - Cisco Systems Inc. 803-345-0369 <or> 803-317-4952 (cell) --------------090507010906000109090406 Content-Type: text/x-patch; name="netstat_patch_for_SCTP_20070603.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="netstat_patch_for_SCTP_20070603.diff" ? sctp.c Index: Makefile =================================================================== RCS file: /data/cvs/src/usr.bin/netstat/Makefile,v retrieving revision 1.35 diff -r1.35 Makefile 8c8 < unix.c atalk.c netgraph.c mroute6.c ipsec.c bpf.c pfkey.c --- > unix.c atalk.c netgraph.c mroute6.c ipsec.c bpf.c pfkey.c sctp.c 13a14 > CFLAGS+=-DSCTP Index: main.c =================================================================== RCS file: /data/cvs/src/usr.bin/netstat/main.c,v retrieving revision 1.83 diff -r1.83 main.c 170a171,174 > #ifdef SCTP > { -1, -1, 1, sctp_protopr, > sctp_stats, NULL, "sctp", IPPROTO_SCTP }, > #endif Index: netstat.h =================================================================== RCS file: /data/cvs/src/usr.bin/netstat/netstat.h,v retrieving revision 1.48 diff -r1.48 netstat.h 70a71,74 > #ifdef SCTP > void sctp_protopr(u_long, const char *, int); > void sctp_stats(u_long, const char *, int); > #endif --------------090507010906000109090406--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4665A3BA.7030307>