Home
last modified time | relevance | path

Searched refs:protocol_selected (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/
H A Dnetstat.c303 #define protocol_selected(p) (proto == IPPROTO_MAX || proto == (p)) macro
699 if (protocol_selected(IPPROTO_UDP)) in main()
701 if (protocol_selected(IPPROTO_TCP)) in main()
703 if (protocol_selected(IPPROTO_SCTP)) in main()
2331 if (protocol_selected(IPPROTO_IP) && in stat_report()
2343 if (protocol_selected(IPPROTO_ICMP) && in stat_report()
2355 if (!(protocol_selected(IPPROTO_IPV6)) || in stat_report()
2387 if (!(protocol_selected(IPPROTO_ICMPV6)) || in stat_report()
2418 if (protocol_selected(IPPROTO_TCP) && in stat_report()
2429 if (protocol_selected(IPPROTO_UDP) && in stat_report()
[all …]