search for: mnl_attr_get_payload

Displaying 1 result from an estimated 1 matches for "mnl_attr_get_payload".

2017 Jun 08
0
[Bug 1156] New: make macro mnl_attr_for_each_nested C++ friendly
...Status: NEW Severity: enhancement Priority: P5 Component: libmnl Assignee: pablo at netfilter.org Reporter: yshragai.firmware at gmail.com Macro mnl_attr_for_each_nested contains a conversion from void* to struct nlattr*. (It contains a call to mnl_attr_get_payload(), which returns void*; the result is assigned to arg0 of the macro, which is struct nlattr*.) Therefore, C++ compilation fails. (g++ throws "error: invalid conversion from ‘void*’ to ‘const nlattr*’.") This is similar to the issue with macro nla_for_each_nested in libnl, that has been...