Network order or Host order for raw xlat style

shankarapailoor shankarapailoor at
Wed Jan 2 18:19:46 UTC 2019


strace currently decodes sockaddr fields of sin_port and sin_addr in
macro form of htonl(X) and inet_addr("Y") even when using -Xraw which
seems wrong. I'm working on fixing this but I wonder: should the raw
value of these fields should be the network ordered value or host
ordered value?

Shankara Pailoor

More information about the Strace-devel mailing list