Lines Matching refs:proto
379 static const char *get_sname(int port, const char *proto, int numeric) in get_sname() argument
384 struct servent *se = getservbyport(port, proto); in get_sname()
392 static char *ip_port_str(struct sockaddr *addr, int port, const char *proto, int numeric) in ip_port_str() argument
405 host_port = xasprintf("%s:%s", host, get_sname(htons(port), proto, numeric)); in ip_port_str()
456 const char *state_str, const char *proto, int is_connected) in print_inet_line() argument
463 proto, flags & NETSTAT_NUMERIC); in print_inet_line()
466 proto, flags & NETSTAT_NUMERIC); in print_inet_line()
468 proto, param->rxq, param->txq, in print_inet_line()
548 unsigned long refcnt, proto, unix_flags; in unix_do_one() local
563 &refcnt, &proto, &unix_flags, &type, &state, &inode, &path_ofs); in unix_do_one()
577 switch (proto) { in unix_do_one()