Lines Matching refs:proto_name
91 inet_parse_response(const char *proto_name, const void *data, int data_len, in inet_parse_response() argument
129 proto_name, in inet_parse_response()
133 tprintf("%s:[%s:%u]", proto_name, src_buf, in inet_parse_response()
142 const char *proto_name, in receive_responses() argument
180 if (parser(proto_name, NLMSG_DATA(h), h->nlmsg_len, inode)) in receive_responses()
188 const unsigned long inode, const char *proto_name) in inet_print() argument
191 && receive_responses(fd, inode, proto_name, inet_parse_response); in inet_print()
238 unix_parse_response(const char *proto_name, const void *data, int data_len, in unix_parse_response() argument
278 tprintf("%s:[%lu", proto_name, inode); in unix_parse_response()
309 print_sockaddr_by_inode(const unsigned long inode, const char *proto_name) in print_sockaddr_by_inode() argument
318 if (proto_name) { in print_sockaddr_by_inode()
319 if (strcmp(proto_name, "TCP") == 0) in print_sockaddr_by_inode()
321 else if (strcmp(proto_name, "UDP") == 0) in print_sockaddr_by_inode()
323 else if (strcmp(proto_name, "TCPv6") == 0) in print_sockaddr_by_inode()
325 else if (strcmp(proto_name, "UDPv6") == 0) in print_sockaddr_by_inode()
327 else if (strcmp(proto_name, "UNIX") == 0) in print_sockaddr_by_inode()