c - ether_addr_octet in host order byte -
i convert struct ether_addr (ether_addr_octet) integer host byte order representation. ideas?
ntohl(eth->ether_addr_octet)
not working, because ether_addr_octet
char array.
regards
i'm not sure semantics of going be. ether 48bit, , largest ntoh* 32bit values. suppose can create 64bit value parsing char array, , calling ntohl() twice...
Comments
Post a Comment