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)
? 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
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to