Holding values in their "wire" endianness is common practice in every codebase I've ever worked on.
See also: sockaddr
I can imagine having a range of IP addresses and wanting to convert that to a range of sockaddr. An endian conversion can be a useful intermediate step.