Re: tcpdump wireguard big endian

2021-04-14 Thread Matt Dunwoodie
On Wed, 14 Apr 2021 17:42:57 +0200 Alexander Bluhm wrote: > Hi, > > regress/sys/net/wg fails on powerpc64 as tcpdump(8) cannot parse > wireguard packets. EXTRACT_LE_32BITS() converts the type from > little endian to host endian. So we need the constants in host > endianess. > > ok? Makes

tcpdump wireguard big endian

2021-04-14 Thread Alexander Bluhm
Hi, regress/sys/net/wg fails on powerpc64 as tcpdump(8) cannot parse wireguard packets. EXTRACT_LE_32BITS() converts the type from little endian to host endian. So we need the constants in host endianess. ok? bluhm Index: print-wg.c