___constant_swab16 23 include/uapi/linux/byteorder/big_endian.h #define __constant_cpu_to_le16(x) ((__force __le16)___constant_swab16((x))) ___constant_swab16 24 include/uapi/linux/byteorder/big_endian.h #define __constant_le16_to_cpu(x) ___constant_swab16((__force __u16)(__le16)(x)) ___constant_swab16 17 include/uapi/linux/byteorder/little_endian.h #define __constant_htons(x) ((__force __be16)___constant_swab16((x))) ___constant_swab16 18 include/uapi/linux/byteorder/little_endian.h #define __constant_ntohs(x) ___constant_swab16((__force __be16)(x)) ___constant_swab16 29 include/uapi/linux/byteorder/little_endian.h #define __constant_cpu_to_be16(x) ((__force __be16)___constant_swab16((x))) ___constant_swab16 30 include/uapi/linux/byteorder/little_endian.h #define __constant_be16_to_cpu(x) ___constant_swab16((__force __u16)(__be16)(x)) ___constant_swab16 53 include/uapi/linux/swab.h return ___constant_swab16(val); ___constant_swab16 106 include/uapi/linux/swab.h ___constant_swab16(x) : \ ___constant_swab16 26 tools/testing/selftests/bpf/bpf_endian.h # define __bpf_constant_ntohs(x) ___constant_swab16(x) ___constant_swab16 27 tools/testing/selftests/bpf/bpf_endian.h # define __bpf_constant_htons(x) ___constant_swab16(x)