<div dir="ltr"><div>Hi, strace community:</div><div><br></div><div>My current work is on my GitHub[1]. You should look netlink branch, netlink-test</div><div>branch is my develop branch.</div><div><br></div><div>Now, all the netlink_sock_diag is decoded and rtnetlink messages header is</div><div>decoded but attribute data decode unimplemented.</div><div><br></div><div>Next step I will decode selinux, audit, crypto, netfilter and generic netlink</div><div>header.</div><div><br></div><div>Help: Review my code and give me some feedback. I think I can not decode</div><div>rtnetlink attribute data well now, I hope someone can give me a hand. Thank you.</div><div><br></div><div>Details (commit message): included the code by Fabien Siron.</div><div><br></div><div>83d7c62e tests: enhance inet diag request attributes test</div><div>c2089120 netlink: decode inet diag request attributes</div><div>9cf32856 tests: enhance smc diag attributes test</div><div>9e4ecdf4 netlink: decode smc diag attributes</div><div>bee0cd7e tests: enhance packet diag attributes test</div><div>e12e90fd netlink: decode packet diag attributes</div><div>b7107330 tests: enhance unix diag attributes test</div><div>b7973847 netlink: decode unix diag attributes</div><div>1e424000 tests: enhance netlink diag attributes test</div><div>e8f9bc97 netlink: decode netlink diag attributes</div><div>d156886f tests: enhance inet diag attributes test</div><div>aa3ecaf5 netlink: decode inet diag attributes</div><div>b278085a netlink: introduce nla_policy system to parse netlink attribute data</div><div>91050bf2 tests: check decoding of rtnetlink nsid attribute</div><div>1539c5da tests: check decoding of rtnetlink bridge multicast database attribute</div><div>6dc449a3 tests: check decoding of rtnetlink netconf attribute</div><div>1554ec89 tests: check decoding of rtnetlink dcb attribute</div><div>5cd20d4c tests: check decoding of rtnetlink addrlabel attribute</div><div>e317b6b1 tests: check decoding of rtnetlink tc action attribute</div><div>39951fd6 tests: check decoding of rtnetlink traffic control attribute</div><div>b9095230 tests: check decoding of rtnetlink neightbl attribute</div><div>7621e17b tests: check decoding of rtnetlink neigh attribute</div><div>915891cc tests: check decoding of rtnetlink rule attribute</div><div>863d5a6b tests: check decoding of rtnetlink route attribute</div><div>600c8f62 tests: check decoding of rtnetlink addr attribute</div><div>bbe646b3 tests: check decoding of rtnetlink link attribute</div><div>069f4d11 netlink: extend rtnetlink parser to decode attributes</div><div>4889a3f6 tests: check decoding of inet_diag request attribute</div><div>518d2094 tests: check decoding of smc_diag attribute</div><div>9ce2a6a9 tests: check decoding of packet_diag attribute</div><div>9a942963 tests: check decoding of unix_diag attribute</div><div>27b57bdd tests: check decoding of netlink_diag attribute</div><div>83bad511 tests: check decoding of inet_diag attribute</div><div>565d9f7a netlink: introduce a dummy netlink attributes parser</div><div>46db819a tests: check decoding of netlink_route protocol</div><div>f4bea394 netlink: add a general rtnetlink parser</div><div>2dedbc49 tests: check decoding of netlink_sock_diag protocol</div><div>2551bcec netlink: add a basic netlink socket diag parser</div><div>bc9402ad tests: add check for decoding new and get flags</div><div>e31dad72 netlink: handle new and get flags</div><div>1ad5ad98 tests: add check for nlmsg_type decoding</div><div>588076f1 netlink: add type decoding</div><div>cf29d072 Expand tprint_iov_upto() to allow optional_data</div><div>2f21d11d Introduce getfdnlproto to obtain netlink protocol from fd</div><div>919e52c7 Introduce get_sockaddr_by_inode_cached and get_sockaddr_by_inode</div><div>26fb0cba Introduce cache_inode_details</div><div>d61022f5 netlink: decode NLMSG_DONE message</div><div><br></div><div>[1]<a href="https://github.com/ppiao/strace">https://github.com/ppiao/strace</a></div><div><br></div><div>--</div><div>JingPiao Chen</div></div>