In the case of ip_neighbor_add_del ,there is is_static flag defined as
u8 is_static
but in case of ip_neighbor_dump
u32 is_static
which leads to problems with using api from java, because i case if adding neighbor with is_static 1 leads to returning 0x01000000 in dump,which is resolved as int =16777216 which casted to short == 0. Changing the value to u8 in dump should fix this behaviour