Lines Matching refs:diag_msg
94 const struct inet_diag_msg *diag_msg = data; in inet_parse_response() local
98 if (diag_msg->idiag_inode != inode) in inet_parse_response()
101 switch(diag_msg->idiag_family) { in inet_parse_response()
116 if (!inet_ntop(diag_msg->idiag_family, diag_msg->id.idiag_src, in inet_parse_response()
120 if (diag_msg->id.idiag_dport || in inet_parse_response()
121 memcmp(zero_addr, diag_msg->id.idiag_dst, addr_size)) { in inet_parse_response()
124 if (!inet_ntop(diag_msg->idiag_family, diag_msg->id.idiag_dst, in inet_parse_response()
130 src_buf, ntohs(diag_msg->id.idiag_sport), in inet_parse_response()
131 dst_buf, ntohs(diag_msg->id.idiag_dport)); in inet_parse_response()
134 ntohs(diag_msg->id.idiag_sport)); in inet_parse_response()
241 const struct unix_diag_msg *diag_msg = data; in unix_parse_response() local
243 int rta_len = data_len - NLMSG_LENGTH(sizeof(*diag_msg)); in unix_parse_response()
248 if (diag_msg->udiag_ino != inode) in unix_parse_response()
250 if (diag_msg->udiag_family != AF_UNIX) in unix_parse_response()
253 for (attr = (struct rtattr *) (diag_msg + 1); in unix_parse_response()