Home
last modified time | relevance | path

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

/external/strace/
Dsocketutils.c147 const struct inet_diag_msg *const diag_msg = data; in inet_parse_response() local
151 if (data_len < (int) NLMSG_LENGTH(sizeof(*diag_msg))) in inet_parse_response()
153 if (diag_msg->idiag_inode != inode) in inet_parse_response()
156 switch (diag_msg->idiag_family) { in inet_parse_response()
173 const char *ob = diag_msg->idiag_family == AF_INET6 ? "[" : ""; in inet_parse_response()
174 const char *cb = diag_msg->idiag_family == AF_INET6 ? "]" : ""; in inet_parse_response()
176 if (!inet_ntop(diag_msg->idiag_family, diag_msg->id.idiag_src, in inet_parse_response()
180 if (diag_msg->id.idiag_dport || in inet_parse_response()
181 memcmp(zero_addr, diag_msg->id.idiag_dst, addr_size)) { in inet_parse_response()
184 if (!inet_ntop(diag_msg->idiag_family, diag_msg->id.idiag_dst, in inet_parse_response()
[all …]
DChangeLog32556 (inet_parse_response): Make "data" parameter and diag_msg variable const.