Searched refs:__constant_htons (Results 1 – 5 of 5) sorted by relevance
16 #define __constant_htons(x) ((__force __be16)(__u16)(x)) macro
16 #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) macro
44 # define htons(X) __constant_htons((X))
284 skb->protocol = __constant_htons(ETH_P_IP); in fill_packet()
389 [PING,PING6] Avoid using __constant_htons() if it is really needed