On Fri, Jun 17, 2016 at 04:29:53PM +0000, Fabien Siron wrote:
> Introduce a new enum type sock_proto and use it instead of strings for socket
> protocols identification.
> 
> * defs.h (get_proto_by_name): Add.
> (sock_proto): New enum.
> * socketutils.c (print_sockaddr_by_inode): Change type of "proto".
> (get_proto_by_name): New function.
> (protocols): New static table.
> * util.c (getfdproto): Return sock_proto instead of string.
> (printfd): Change type of proto.

Applied, thanks.

I've edited the commit message, please have a look at what's been changed.


-- 
ldv

Attachment: pgpm2rmx7hqkV.pgp
Description: PGP signature

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports. http://sdm.link/zohomanageengine
_______________________________________________
Strace-devel mailing list
Strace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/strace-devel

Reply via email to