[libvirt] [PATCH rebase v4 2/5] util: introduce helper to parse message from RTM_GETNEIGH query
Chen Hanxiao
chen_han_xiao at 126.com
Sat Mar 17 10:22:31 UTC 2018
At 2018-03-16 18:53:58, "John Ferlan" <jferlan at redhat.com> wrote:
>
>
>On 03/08/2018 02:11 AM, Chen Hanxiao wrote:
>> From: Chen Hanxiao <chenhanxiao at gmail.com>
>>
>> introduce helper to parse RTM_GETNEIGH query message and
>> store it in struct virArpTable.
>>
>> Signed-off-by: Chen Hanxiao <chenhanxiao at 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
More information about the libvir-list
mailing list