From: "Dr. David Alan Gilbert" <dgilb...@redhat.com> Hi, Another crack at slirp vmstatification; v5 fixes the type and value portability issues in the ss_family field.
It now always sends this as a 16bit field and always uses Linux's AF_INET or AF_INET6 value on writing. It'll also accept Windows and FreeBSDs values as inet6 to keep compatibility with incoming migrations from previous versions. Dave v5 Fix ss_family portability Dr. David Alan Gilbert (5): slirp: VMState conversion; tcpcb slirp: VMStatify sbuf slirp: Common lhost/fhost union slirp: VMStatify socket level slirp: VMStatify remaining except for loop slirp/sbuf.h | 4 +- slirp/slirp.c | 494 +++++++++++++++++++++++++++++++------------------------- slirp/socket.h | 24 ++- slirp/tcp_var.h | 6 +- 4 files changed, 288 insertions(+), 240 deletions(-) -- 2.9.3