At 2018-03-16 18:53:58, "John Ferlan" <jferlan(a)redhat.com> wrote:
On 03/08/2018 02:11 AM, Chen Hanxiao wrote:
> From: Chen Hanxiao <chenhanxiao(a)gmail.com>
>
> introduce helper to parse RTM_GETNEIGH query message and
> store it in struct virArpTable.
>
> Signed-off-by: Chen Hanxiao <chenhanxiao(a)gmail.com>
> ---
> v4-rebase:
> fit split Makefile.am
> fit new virMacAddr fields
>
> v4:
> use netlink query instead of parsing /proc/net/arp
>
> v3:
> s/virGetArpTable/virArpTableGet
> alloc virArpTable in virArpTableGet
> return ENOSUPP on none-Linux platform
> move helpers to virarptable.[ch]
>
> po/POTFILES.in | 1 +
> src/Makefile.am | 1 +
> src/libvirt_private.syms | 5 ++
> src/util/Makefile.inc.am | 2 +
> src/util/virarptable.c | 181 +++++++++++++++++++++++++++++++++++++++++++++++
> src/util/virarptable.h | 48 +++++++++++++
> 6 files changed, 238 insertions(+)
> create mode 100644 src/util/virarptable.c
> create mode 100644 src/util/virarptable.h
>
Couple of Coverity issues....
Thanks, will be fixed soon.
Regards,
- Chen