cpu_to_be16 160 include/linux/byteorder/generic.h *var = cpu_to_be16(be16_to_cpu(*var) + val); cpu_to_be16 72 include/linux/etherdevice.h static const __be16 m = cpu_to_be16(0xfff0); cpu_to_be16 445 include/linux/if_vlan.h skb->protocol != cpu_to_be16(ETH_P_8021Q)) cpu_to_be16 209 include/linux/mlx4/device.h #define MLX4_ATTR_EXTENDED_PORT_INFO cpu_to_be16(0xff90) cpu_to_be16 908 include/linux/mlx5/device.h #define MLX5_ATTR_EXTENDED_PORT_INFO cpu_to_be16(0xff90) cpu_to_be16 348 include/linux/netfilter/ipset/ip_set.h cpu_to_be16(skbinfo->skbqueue))); cpu_to_be16 172 include/linux/sctp.h SCTP_PARAM_HEARTBEAT_INFO = cpu_to_be16(1), cpu_to_be16 174 include/linux/sctp.h SCTP_PARAM_IPV4_ADDRESS = cpu_to_be16(5), cpu_to_be16 175 include/linux/sctp.h SCTP_PARAM_IPV6_ADDRESS = cpu_to_be16(6), cpu_to_be16 176 include/linux/sctp.h SCTP_PARAM_STATE_COOKIE = cpu_to_be16(7), cpu_to_be16 177 include/linux/sctp.h SCTP_PARAM_UNRECOGNIZED_PARAMETERS = cpu_to_be16(8), cpu_to_be16 178 include/linux/sctp.h SCTP_PARAM_COOKIE_PRESERVATIVE = cpu_to_be16(9), cpu_to_be16 179 include/linux/sctp.h SCTP_PARAM_HOST_NAME_ADDRESS = cpu_to_be16(11), cpu_to_be16 180 include/linux/sctp.h SCTP_PARAM_SUPPORTED_ADDRESS_TYPES = cpu_to_be16(12), cpu_to_be16 181 include/linux/sctp.h SCTP_PARAM_ECN_CAPABLE = cpu_to_be16(0x8000), cpu_to_be16 184 include/linux/sctp.h SCTP_PARAM_RANDOM = cpu_to_be16(0x8002), cpu_to_be16 185 include/linux/sctp.h SCTP_PARAM_CHUNKS = cpu_to_be16(0x8003), cpu_to_be16 186 include/linux/sctp.h SCTP_PARAM_HMAC_ALGO = cpu_to_be16(0x8004), cpu_to_be16 189 include/linux/sctp.h SCTP_PARAM_SUPPORTED_EXT = cpu_to_be16(0x8008), cpu_to_be16 192 include/linux/sctp.h SCTP_PARAM_FWD_TSN_SUPPORT = cpu_to_be16(0xc000), cpu_to_be16 195 include/linux/sctp.h SCTP_PARAM_ADD_IP = cpu_to_be16(0xc001), cpu_to_be16 196 include/linux/sctp.h SCTP_PARAM_DEL_IP = cpu_to_be16(0xc002), cpu_to_be16 197 include/linux/sctp.h SCTP_PARAM_ERR_CAUSE = cpu_to_be16(0xc003), cpu_to_be16 198 include/linux/sctp.h SCTP_PARAM_SET_PRIMARY = cpu_to_be16(0xc004), cpu_to_be16 199 include/linux/sctp.h SCTP_PARAM_SUCCESS_REPORT = cpu_to_be16(0xc005), cpu_to_be16 200 include/linux/sctp.h SCTP_PARAM_ADAPTATION_LAYER_IND = cpu_to_be16(0xc006), cpu_to_be16 212 include/linux/sctp.h SCTP_PARAM_ACTION_DISCARD = cpu_to_be16(0x0000), cpu_to_be16 213 include/linux/sctp.h SCTP_PARAM_ACTION_DISCARD_ERR = cpu_to_be16(0x4000), cpu_to_be16 214 include/linux/sctp.h SCTP_PARAM_ACTION_SKIP = cpu_to_be16(0x8000), cpu_to_be16 215 include/linux/sctp.h SCTP_PARAM_ACTION_SKIP_ERR = cpu_to_be16(0xc000), cpu_to_be16 218 include/linux/sctp.h enum { SCTP_PARAM_ACTION_MASK = cpu_to_be16(0xc000), }; cpu_to_be16 458 include/linux/sctp.h SCTP_ERROR_NO_ERROR = cpu_to_be16(0x00), cpu_to_be16 459 include/linux/sctp.h SCTP_ERROR_INV_STRM = cpu_to_be16(0x01), cpu_to_be16 460 include/linux/sctp.h SCTP_ERROR_MISS_PARAM = cpu_to_be16(0x02), cpu_to_be16 461 include/linux/sctp.h SCTP_ERROR_STALE_COOKIE = cpu_to_be16(0x03), cpu_to_be16 462 include/linux/sctp.h SCTP_ERROR_NO_RESOURCE = cpu_to_be16(0x04), cpu_to_be16 463 include/linux/sctp.h SCTP_ERROR_DNS_FAILED = cpu_to_be16(0x05), cpu_to_be16 464 include/linux/sctp.h SCTP_ERROR_UNKNOWN_CHUNK = cpu_to_be16(0x06), cpu_to_be16 465 include/linux/sctp.h SCTP_ERROR_INV_PARAM = cpu_to_be16(0x07), cpu_to_be16 466 include/linux/sctp.h SCTP_ERROR_UNKNOWN_PARAM = cpu_to_be16(0x08), cpu_to_be16 467 include/linux/sctp.h SCTP_ERROR_NO_DATA = cpu_to_be16(0x09), cpu_to_be16 468 include/linux/sctp.h SCTP_ERROR_COOKIE_IN_SHUTDOWN = cpu_to_be16(0x0a), cpu_to_be16 477 include/linux/sctp.h SCTP_ERROR_RESTART = cpu_to_be16(0x0b), cpu_to_be16 478 include/linux/sctp.h SCTP_ERROR_USER_ABORT = cpu_to_be16(0x0c), cpu_to_be16 479 include/linux/sctp.h SCTP_ERROR_PROTO_VIOLATION = cpu_to_be16(0x0d), cpu_to_be16 494 include/linux/sctp.h SCTP_ERROR_DEL_LAST_IP = cpu_to_be16(0x00A0), cpu_to_be16 495 include/linux/sctp.h SCTP_ERROR_RSRC_LOW = cpu_to_be16(0x00A1), cpu_to_be16 496 include/linux/sctp.h SCTP_ERROR_DEL_SRC_IP = cpu_to_be16(0x00A2), cpu_to_be16 497 include/linux/sctp.h SCTP_ERROR_ASCONF_ACK = cpu_to_be16(0x00A3), cpu_to_be16 498 include/linux/sctp.h SCTP_ERROR_REQ_REFUSED = cpu_to_be16(0x00A4), cpu_to_be16 510 include/linux/sctp.h SCTP_ERROR_UNSUP_HMAC = cpu_to_be16(0x0105) cpu_to_be16 54 include/linux/unaligned/access_ok.h *((__be16 *)p) = cpu_to_be16(val); cpu_to_be16 136 include/net/inet_ecn.h case cpu_to_be16(ETH_P_IP): cpu_to_be16 142 include/net/inet_ecn.h case cpu_to_be16(ETH_P_IPV6): cpu_to_be16 305 include/net/ip_vs.h #define FTPPORT cpu_to_be16(21) cpu_to_be16 306 include/net/ip_vs.h #define FTPDATA cpu_to_be16(20) cpu_to_be16 31 include/net/ipx.h #define IPX_NO_CHECKSUM cpu_to_be16(0xFFFF) cpu_to_be16 18 include/net/mrp.h #define MRP_VECATTR_HDR_LEN_MASK cpu_to_be16(0x1FFF) cpu_to_be16 19 include/net/mrp.h #define MRP_VECATTR_HDR_FLAG_LA cpu_to_be16(0x2000) cpu_to_be16 265 include/rdma/ib_cm.h #define CM_REQ_ATTR_ID cpu_to_be16(0x0010) cpu_to_be16 266 include/rdma/ib_cm.h #define CM_MRA_ATTR_ID cpu_to_be16(0x0011) cpu_to_be16 267 include/rdma/ib_cm.h #define CM_REJ_ATTR_ID cpu_to_be16(0x0012) cpu_to_be16 268 include/rdma/ib_cm.h #define CM_REP_ATTR_ID cpu_to_be16(0x0013) cpu_to_be16 269 include/rdma/ib_cm.h #define CM_RTU_ATTR_ID cpu_to_be16(0x0014) cpu_to_be16 270 include/rdma/ib_cm.h #define CM_DREQ_ATTR_ID cpu_to_be16(0x0015) cpu_to_be16 271 include/rdma/ib_cm.h #define CM_DREP_ATTR_ID cpu_to_be16(0x0016) cpu_to_be16 272 include/rdma/ib_cm.h #define CM_SIDR_REQ_ATTR_ID cpu_to_be16(0x0017) cpu_to_be16 273 include/rdma/ib_cm.h #define CM_SIDR_REP_ATTR_ID cpu_to_be16(0x0018) cpu_to_be16 274 include/rdma/ib_cm.h #define CM_LAP_ATTR_ID cpu_to_be16(0x0019) cpu_to_be16 275 include/rdma/ib_cm.h #define CM_APR_ATTR_ID cpu_to_be16(0x001A) cpu_to_be16 43 include/rdma/ib_pma.h #define IB_PMA_CLASS_CAP_ALLPORTSELECT cpu_to_be16(1 << 8) cpu_to_be16 44 include/rdma/ib_pma.h #define IB_PMA_CLASS_CAP_EXT_WIDTH cpu_to_be16(1 << 9) cpu_to_be16 45 include/rdma/ib_pma.h #define IB_PMA_CLASS_CAP_XMIT_WAIT cpu_to_be16(1 << 12) cpu_to_be16 47 include/rdma/ib_pma.h #define IB_PMA_CLASS_PORT_INFO cpu_to_be16(0x0001) cpu_to_be16 48 include/rdma/ib_pma.h #define IB_PMA_PORT_SAMPLES_CONTROL cpu_to_be16(0x0010) cpu_to_be16 49 include/rdma/ib_pma.h #define IB_PMA_PORT_SAMPLES_RESULT cpu_to_be16(0x0011) cpu_to_be16 50 include/rdma/ib_pma.h #define IB_PMA_PORT_COUNTERS cpu_to_be16(0x0012) cpu_to_be16 51 include/rdma/ib_pma.h #define IB_PMA_PORT_COUNTERS_EXT cpu_to_be16(0x001D) cpu_to_be16 52 include/rdma/ib_pma.h #define IB_PMA_PORT_SAMPLES_RESULT_EXT cpu_to_be16(0x001E) cpu_to_be16 118 include/rdma/ib_pma.h #define IB_PMA_SEL_SYMBOL_ERROR cpu_to_be16(0x0001) cpu_to_be16 119 include/rdma/ib_pma.h #define IB_PMA_SEL_LINK_ERROR_RECOVERY cpu_to_be16(0x0002) cpu_to_be16 120 include/rdma/ib_pma.h #define IB_PMA_SEL_LINK_DOWNED cpu_to_be16(0x0004) cpu_to_be16 121 include/rdma/ib_pma.h #define IB_PMA_SEL_PORT_RCV_ERRORS cpu_to_be16(0x0008) cpu_to_be16 122 include/rdma/ib_pma.h #define IB_PMA_SEL_PORT_RCV_REMPHYS_ERRORS cpu_to_be16(0x0010) cpu_to_be16 123 include/rdma/ib_pma.h #define IB_PMA_SEL_PORT_XMIT_DISCARDS cpu_to_be16(0x0040) cpu_to_be16 124 include/rdma/ib_pma.h #define IB_PMA_SEL_LOCAL_LINK_INTEGRITY_ERRORS cpu_to_be16(0x0200) cpu_to_be16 125 include/rdma/ib_pma.h #define IB_PMA_SEL_EXCESSIVE_BUFFER_OVERRUNS cpu_to_be16(0x0400) cpu_to_be16 126 include/rdma/ib_pma.h #define IB_PMA_SEL_PORT_VL15_DROPPED cpu_to_be16(0x0800) cpu_to_be16 127 include/rdma/ib_pma.h #define IB_PMA_SEL_PORT_XMIT_DATA cpu_to_be16(0x1000) cpu_to_be16 128 include/rdma/ib_pma.h #define IB_PMA_SEL_PORT_RCV_DATA cpu_to_be16(0x2000) cpu_to_be16 129 include/rdma/ib_pma.h #define IB_PMA_SEL_PORT_XMIT_PACKETS cpu_to_be16(0x4000) cpu_to_be16 130 include/rdma/ib_pma.h #define IB_PMA_SEL_PORT_RCV_PACKETS cpu_to_be16(0x8000) cpu_to_be16 147 include/rdma/ib_pma.h #define IB_PMA_SELX_PORT_XMIT_DATA cpu_to_be16(0x0001) cpu_to_be16 148 include/rdma/ib_pma.h #define IB_PMA_SELX_PORT_RCV_DATA cpu_to_be16(0x0002) cpu_to_be16 149 include/rdma/ib_pma.h #define IB_PMA_SELX_PORT_XMIT_PACKETS cpu_to_be16(0x0004) cpu_to_be16 150 include/rdma/ib_pma.h #define IB_PMA_SELX_PORT_RCV_PACKETS cpu_to_be16(0x0008) cpu_to_be16 151 include/rdma/ib_pma.h #define IB_PMA_SELX_PORT_UNI_XMIT_PACKETS cpu_to_be16(0x0010) cpu_to_be16 152 include/rdma/ib_pma.h #define IB_PMA_SELX_PORT_UNI_RCV_PACKETS cpu_to_be16(0x0020) cpu_to_be16 153 include/rdma/ib_pma.h #define IB_PMA_SELX_PORT_MULTI_XMIT_PACKETS cpu_to_be16(0x0040) cpu_to_be16 154 include/rdma/ib_pma.h #define IB_PMA_SELX_PORT_MULTI_RCV_PACKETS cpu_to_be16(0x0080) cpu_to_be16 66 include/rdma/ib_smi.h #define IB_SMP_DIRECTION cpu_to_be16(0x8000) cpu_to_be16 69 include/rdma/ib_smi.h #define IB_SMP_ATTR_NOTICE cpu_to_be16(0x0002) cpu_to_be16 70 include/rdma/ib_smi.h #define IB_SMP_ATTR_NODE_DESC cpu_to_be16(0x0010) cpu_to_be16 71 include/rdma/ib_smi.h #define IB_SMP_ATTR_NODE_INFO cpu_to_be16(0x0011) cpu_to_be16 72 include/rdma/ib_smi.h #define IB_SMP_ATTR_SWITCH_INFO cpu_to_be16(0x0012) cpu_to_be16 73 include/rdma/ib_smi.h #define IB_SMP_ATTR_GUID_INFO cpu_to_be16(0x0014) cpu_to_be16 74 include/rdma/ib_smi.h #define IB_SMP_ATTR_PORT_INFO cpu_to_be16(0x0015) cpu_to_be16 75 include/rdma/ib_smi.h #define IB_SMP_ATTR_PKEY_TABLE cpu_to_be16(0x0016) cpu_to_be16 76 include/rdma/ib_smi.h #define IB_SMP_ATTR_SL_TO_VL_TABLE cpu_to_be16(0x0017) cpu_to_be16 77 include/rdma/ib_smi.h #define IB_SMP_ATTR_VL_ARB_TABLE cpu_to_be16(0x0018) cpu_to_be16 78 include/rdma/ib_smi.h #define IB_SMP_ATTR_LINEAR_FORWARD_TABLE cpu_to_be16(0x0019) cpu_to_be16 79 include/rdma/ib_smi.h #define IB_SMP_ATTR_RANDOM_FORWARD_TABLE cpu_to_be16(0x001A) cpu_to_be16 80 include/rdma/ib_smi.h #define IB_SMP_ATTR_MCAST_FORWARD_TABLE cpu_to_be16(0x001B) cpu_to_be16 81 include/rdma/ib_smi.h #define IB_SMP_ATTR_SM_INFO cpu_to_be16(0x0020) cpu_to_be16 82 include/rdma/ib_smi.h #define IB_SMP_ATTR_VENDOR_DIAG cpu_to_be16(0x0030) cpu_to_be16 83 include/rdma/ib_smi.h #define IB_SMP_ATTR_LED_INFO cpu_to_be16(0x0031) cpu_to_be16 84 include/rdma/ib_smi.h #define IB_SMP_ATTR_VENDOR_MASK cpu_to_be16(0xFF00) cpu_to_be16 436 include/rdma/ib_verbs.h #define IB_LID_PERMISSIVE cpu_to_be16(0xFFFF) cpu_to_be16 266 include/scsi/osd_protocol.h OSD_ACT_##Name = cpu_to_be16(0x8880 + Num), \ cpu_to_be16 267 include/scsi/osd_protocol.h OSDv1_ACT_##Name = cpu_to_be16(0x8800 + Num), cpu_to_be16 271 include/scsi/osd_protocol.h OSD_ACT_##Name = cpu_to_be16(0x8880 + Num), cpu_to_be16 274 include/scsi/osd_protocol.h OSD_ACT_##Name = cpu_to_be16(Num2), \ cpu_to_be16 275 include/scsi/osd_protocol.h OSDv1_ACT_##Name = cpu_to_be16(Num1),