friendev EtherDune TCP/IP library
|
Represents a network byte order 16 bit integer. More...
#include <inet.h>
Public Member Functions | |
operator uint16_t () | |
Converts the underlying network-order integer to little endian. More... | |
void | operator= (uint16_t v) |
Assigns a little endian value to this network-order integer More... | |
void | zero () |
sets the variable to 0 . More... | |
Public Attributes | |
uint16_t | rawValue |
provides low level access to the memory containing the network-order integer More... | |
struct { | |
uint8_t h | |
most significant byte More... | |
uint8_t l | |
least significant byte More... | |
}; | |
Represents a network byte order 16 bit integer.
Includes overloaded operators so as to make conversion to/from network byte order transparent
|
inline |
|
inline |
struct { ... } |
uint16_t nint16_t::rawValue |