tcpdump mailing list archives

AF_INET6 values


From: Denis Ovsienko <denis () ovsienko info>
Date: Thu, 1 Aug 2024 14:27:24 +0100

Hello all.

pcap-rpcap.c defines 8 OS-specific values for AF_INET6
(xxxxx_AF_INET6), would it be correct also to include and use a value
for Haiku (5)?

Also the current values of AF_INET6 are just 24 on NetBSD and OpenBSD,
28 on FreeBSD and 30 on macOS, is it still correct to bitwise-OR the
value with SOCKADDR_IN6_LEN << 8?

Also GNU/Hurd uses the same value as SOLARIS_AF_INET6 and NetBSD &
OpenBSD use the same value as AIX_AF_INET6, it could be useful to
clarify that in the same go.

-- 
    Denis Ovsienko
_______________________________________________
tcpdump-workers mailing list -- tcpdump-workers () lists tcpdump org
To unsubscribe send an email to tcpdump-workers-leave () lists tcpdump org
%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s


Current thread: