Home
last modified time | relevance | path

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

/external/strace/
Dsocketutils.c130 const struct inet_diag_msg *const diag_msg = data; in inet_parse_response() local
134 if (data_len < (int) NLMSG_LENGTH(sizeof(*diag_msg))) in inet_parse_response()
136 if (diag_msg->idiag_inode != inode) in inet_parse_response()
139 switch(diag_msg->idiag_family) { in inet_parse_response()
155 if (!inet_ntop(diag_msg->idiag_family, diag_msg->id.idiag_src, in inet_parse_response()
159 if (diag_msg->id.idiag_dport || in inet_parse_response()
160 memcmp(zero_addr, diag_msg->id.idiag_dst, addr_size)) { in inet_parse_response()
163 if (!inet_ntop(diag_msg->idiag_family, diag_msg->id.idiag_dst, in inet_parse_response()
168 src_buf, ntohs(diag_msg->id.idiag_sport), in inet_parse_response()
169 dst_buf, ntohs(diag_msg->id.idiag_dport)) < 0) in inet_parse_response()
[all …]
DChangeLog13366 (inet_parse_response): Make "data" parameter and diag_msg variable const.