Lines Matching refs:n
24 #define ntohs(n) (n) argument
25 #define ntohl(n) (n) argument
26 #define ntoh6(n) (n) argument
28 #define nettohs(n) (n) argument
29 #define nettohl(n) (n) argument
31 extern uint16_t ntohs(uint16_t n);
32 extern uint32_t ntohl(uint32_t n);
35 #define nettohs(n) ((uint16_t)((((n) << 8) & 0xff00) | (((n) >> 8) & 0x00ff))) argument
36 #define nettohl(n) \ argument
37 ((((n)&0x000000ff) << 24) | (((n) << 8) & 0x00ff0000) | \
38 (((n) >> 8) & 0x0000ff00) | (((n) >> 24) & 0x000000ff))