Searched refs:__constant_htons (Results 1 – 8 of 8) sorted by relevance
17 #define __constant_htons(x) ((__force __be16)(__u16)(x)) macro
17 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) macro
18 #define __constant_htons(x) ((__force __be16)(__u16)(x)) macro
18 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) macro
44 # define htons(X) __constant_htons((X))
88 .sin_port = __constant_htons(port), \95 .sin6_port = __constant_htons(port), \
284 skb->protocol = __constant_htons(ETH_P_IP); in fill_packet()
389 [PING,PING6] Avoid using __constant_htons() if it is really needed