Go to the source code of this file.
Defines | |
| #define | ntohl(x) (x) |
| #define | htonl(x) (x) |
| #define | ntohs(x) (x) |
| #define | htons(x) (x) |
| #define | cpu_to_le64(x) __bswap_64(x) |
| #define | cpu_to_le32(x) __bswap_32(x) |
| #define | cpu_to_le16(x) __bswap_16(x) |
| #define | cpu_to_be64(x) (x) |
| #define | cpu_to_be32(x) (x) |
| #define | cpu_to_be16(x) (x) |
| #define | le64_to_cpu(x) __bswap_64(x) |
| #define | le32_to_cpu(x) __bswap_32(x) |
| #define | le16_to_cpu(x) __bswap_16(x) |
| #define | be64_to_cpu(x) (x) |
| #define | be32_to_cpu(x) (x) |
| #define | be16_to_cpu(x) (x) |
| #define | cpu_to_le64s(x) __bswap_64s(x) |
| #define | cpu_to_le32s(x) __bswap_32s(x) |
| #define | cpu_to_le16s(x) __bswap_16s(x) |
| #define | cpu_to_be64s(x) do {} while (0) |
| #define | cpu_to_be32s(x) do {} while (0) |
| #define | cpu_to_be16s(x) do {} while (0) |
| #define | le64_to_cpus(x) __bswap_64s(x) |
| #define | le32_to_cpus(x) __bswap_32s(x) |
| #define | le16_to_cpus(x) __bswap_16s(x) |
| #define | be64_to_cpus(x) do {} while (0) |
| #define | be32_to_cpus(x) do {} while (0) |
| #define | be16_to_cpus(x) do {} while (0) |
| #define ntohl | ( | x | ) | (x) |
Definition at line 4 of file big_bswap.h.
Referenced by aes_call_axtls(), aoe_rx(), ib_cm_connect_rep(), ib_cm_req_complete(), ib_create_conn(), ib_destroy_mi(), ib_mcast_complete(), ib_mcast_join(), ib_mcast_leave(), ib_mi_complete_recv(), ib_mi_handle(), ib_mi_send(), ib_mi_timer_expired(), ib_pull(), ipoib_transmit(), ipv4_create_routes(), ipv4_ll_addr(), ipv4_tx(), iscsi_data_out_done(), iscsi_rx_data(), iscsi_rx_data_in(), iscsi_rx_login_response(), iscsi_rx_r2t(), iscsi_tx_data_out(), mac_address_from_string_specs(), myri10ge_command(), myri10ge_interrupt_handler(), srp_aer_req_sense_data_len(), srp_cmd(), srp_login(), srp_login_rej(), srp_login_rsp(), srp_rsp(), srp_rsp_response_data_len(), srp_rsp_sense_data_len(), srp_unrecognised(), tcp_rx(), tcp_xmit(), and tcp_xmit_reset().
| #define htonl | ( | x | ) | (x) |
Definition at line 5 of file big_bswap.h.
Referenced by aes_call_axtls(), aoe_send_command(), dhcp_create_packet(), ib_cm_path_complete(), ib_cm_send_rtu(), ib_create_path(), ib_mcast_mad(), ib_mi_send(), ib_path_complete(), ib_push(), ib_resolve_path(), ib_smc_get_port_info(), ib_smc_update(), inet_aton(), ipoib_complete_recv(), ipoib_ntoa(), ipoib_open(), ipv4_create_routes(), ipv6_tx(), iscsi_start_command(), iscsi_start_data_out(), iscsi_start_login(), myri10ge_command(), myri10ge_interrupt_handler(), myri10ge_net_transmit(), myri10ge_post_receive(), pbkdf2_sha1_f(), slam_open(), srp_cmd(), srp_login(), storef_int(), tcp_xmit(), tls_send_client_hello(), tls_send_client_key_exchange(), and tls_send_finished().
| #define ntohs | ( | x | ) | (x) |
Definition at line 6 of file big_bswap.h.
Referenced by aoe_rx(), arbel_mad(), dhcp_create_packet(), dhcp_create_request(), dhcp_deliver_iob(), dhcp_proxy_rx(), dhcp_pxebs_rx(), dhcp_pxebs_tx(), dhcp_request_rx(), dhcp_rx_offer(), dns_decompress_name(), dns_find_rr(), dns_name_cmp(), dns_xfer_deliver_raw(), eapol_key_rx(), efi_snp_driver_start(), efi_snp_receive(), efi_snp_set_mode(), gdbudp_recv(), hermon_mad(), ib_cm_req_complete(), ib_mi_complete_recv(), ib_mi_send(), ib_path_complete(), ib_pull(), ib_sma_port_info(), ib_sma_set_pkey_table(), ib_sma_set_port_info(), ib_smc_update(), ibft_fill_target(), ipv4_rx(), ipv4_tx(), ipv6_dump(), ipv6_rx(), legacy_transmit(), myri10ge_net_poll(), net_rx(), pxe_tftp_open(), pxenv_udp_read(), pxenv_udp_write(), pxenv_undi_get_information(), t595_probe(), t5x9_probe(), tcp_bind(), tcp_rx(), tcp_xmit(), tcp_xmit_reset(), tftp_process_multicast(), tftp_rx(), tftp_rx_data(), tftp_rx_error(), tls_cipherstream_deliver_raw(), tls_new_ciphertext(), tls_new_server_hello(), tls_newdata_process_header(), tls_select_cipher(), udp_bind(), udp_rx(), udp_tx(), and wpa_send_eapol().
| #define htons | ( | x | ) | (x) |
Definition at line 7 of file big_bswap.h.
Referenced by add_tls(), amd8111e_transmit(), aoe_send_command(), arp_resolve(), arp_rx(), bnx2_transmit(), corkscrew_probe1(), dhcp_chaddr(), dhcp_discovery_tx(), dhcp_proxy_rx(), dhcp_proxy_tx(), dhcp_pxebs_rx(), dhcp_pxebs_tx(), dhcp_request_rx(), dhcp_request_tx(), dhcp_rx_offer(), dmfe_transmit(), dns_resolv(), dns_send_packet(), dns_xfer_deliver_raw(), eepro_transmit(), efi_snp_transmit(), epic100_transmit(), eth_probe(), forcedeth_transmit(), ftp_open(), gdbudp_configure(), gdbudp_recv(), gdbudp_send(), http_open_filter(), ib_cm_path_complete(), ib_cm_rejection_reason_to_rc(), ib_cm_req_complete(), ib_cm_send_rtu(), ib_create_path(), ib_mcast_complete(), ib_mcast_mad(), ib_mi_send(), ib_path_complete(), ib_push(), ib_sma_node_info(), ib_sma_pkey_table(), ib_sma_port_info(), ib_smc_get_guid_info(), ib_smc_get_pkey_table(), ib_smc_get_port_info(), ipoib_link_state_changed(), ipv4_pshdr_chksum(), ipv4_rx(), ipv4_tx(), ipv6_tx(), ipv6_tx_csum(), iscsi_handle_targetaddress_value(), iscsi_open_connection(), iscsi_start_login(), mtd_transmit(), netdev_fetch(), ns83820_transmit(), pcnet32_transmit(), prism2_transmit(), pxe_tftp_open(), pxenv_udp_read(), pxenv_udp_write(), pxenv_undi_isr(), rhine_transmit(), scsi_parse_lun(), sis900_transmit(), slam_open(), slam_parse_multicast_address(), smc9000_transmit(), start_dhcp(), start_pxebs(), sundance_transmit(), t509_transmit(), t515_transmit(), t595_probe(), t595_transmit(), t5x9_probe(), tcp_bind(), tcp_open_uri(), tcp_xmit(), tcp_xmit_reset(), tftp_process_multicast(), tftp_reopen(), tftp_rx(), tftp_send_ack(), tftp_send_error(), tftp_send_rrq(), tftp_set_mtftp_port(), tg3_transmit(), tlan_transmit(), tls_new_ciphertext(), tls_select_cipher(), tls_send_client_hello(), tls_send_client_key_exchange(), tls_send_plaintext(), tulip_transmit(), udp_bind(), udp_open_uri(), udp_tx(), velocity_transmit(), virtnet_transmit(), and wpa_send_eapol().
| #define cpu_to_le64 | ( | x | ) | __bswap_64(x) |
Definition at line 8 of file big_bswap.h.
Referenced by aoe_send_command(), atl1e_tx_map(), phantom_create_rx_ctx(), and phantom_create_tx_ctx().
| #define cpu_to_le32 | ( | x | ) | __bswap_32(x) |
Definition at line 9 of file big_bswap.h.
Referenced by alloc_rx(), amd8111e_init_rx_ring(), amd8111e_poll(), amd8111e_transmit(), atl1e_tx_map(), b44_populate_rx_descriptor(), b44_transmit(), dmfe_descriptor_init(), dmfe_poll(), dmfe_transmit(), epic100_init_ring(), epic100_poll(), epic100_transmit(), forcedeth_transmit(), gdbstub_from_hex_buf(), gdbstub_to_hex_buf(), init_ring(), ns83820_check_intr(), ns83820_poll(), ns83820_reset(), ns83820_setup_rx(), ns83820_transmit(), phantom_create_rx_ctx(), phantom_create_tx_ctx(), rtl818x_handle_rx(), rtl818x_init_rx_ring(), rtl818x_init_tx_ring(), rtl818x_tx(), rx_set_checksum(), send_filter_frame(), sis190_give_to_asic(), sis190_make_unusable_by_asic(), sis190_map_to_asic(), sis190_mark_as_last_descriptor(), sis190_open(), sis190_transmit(), sky2_rx_add(), sky2_xmit_frame(), spi_bit_rw(), sundance_poll(), sundance_transmit(), tkip_encrypt(), tkip_michael(), tls_send_client_hello(), tls_send_client_key_exchange(), tls_send_finished(), tulip_init_ring(), tulip_reset(), tulip_transmit(), velocity_init_rings(), velocity_rx_refill(), and velocity_transmit().
| #define cpu_to_le16 | ( | x | ) | __bswap_16(x) |
Definition at line 10 of file big_bswap.h.
Referenced by amd8111e_init_rx_ring(), amd8111e_poll(), amd8111e_transmit(), ata_identify(), b44_process_rx_packets(), b44_read_eeprom(), dmfe_probe(), gdbstub_from_hex_buf(), gdbstub_to_hex_buf(), phantom_create_rx_ctx(), rtl818x_tx(), sis190_get_mac_addr_from_eeprom(), sky2_rx_add(), sky2_xmit_frame(), and start_pxebs().
| #define cpu_to_be64 | ( | x | ) | (x) |
Definition at line 11 of file big_bswap.h.
Referenced by scsi_read_16(), scsi_write_16(), srp_cmd(), tls_hmac(), and wpa_send_eapol().
| #define cpu_to_be32 | ( | x | ) | (x) |
Definition at line 12 of file big_bswap.h.
Referenced by mtnic_alloc_iobuf(), mtnic_alloc_ring(), mtnic_cmd(), mtnic_CONFIG_CQ(), mtnic_CONFIG_EQ(), mtnic_CONFIG_RX_RING(), mtnic_CONFIG_TX_RING(), mtnic_map_cmd(), mtnic_open(), mtnic_process_rx_cq(), mtnic_process_tx_cq(), mtnic_query_offsets(), mtnic_reset(), mtnic_SET_PORT_STATE(), mtnic_SET_RX_RING_ADDR(), mtnic_transmit(), phantom_clp_cmd(), scsi_read_10(), scsi_read_16(), scsi_read_capacity_16(), scsi_write_10(), and scsi_write_16().
| #define cpu_to_be16 | ( | x | ) | (x) |
Definition at line 13 of file big_bswap.h.
Referenced by int13_boot(), mtnic_alloc_ring(), mtnic_CONFIG_RX_RING(), mtnic_CONFIG_TX_RING(), mtnic_SET_PORT_MTU(), mtnic_SET_RX_RING_ADDR(), scsi_read_10(), and scsi_write_10().
| #define le64_to_cpu | ( | x | ) | __bswap_64(x) |
| #define le32_to_cpu | ( | x | ) | __bswap_32(x) |
Definition at line 15 of file big_bswap.h.
Referenced by ata_identify(), dmfe_poll(), epic100_poll(), epic100_transmit(), forcedeth_poll(), ns83820_poll(), nv_descr_getlength(), pcnet32_poll(), phantom_create_rx_ctx(), phantom_create_tx_ctx(), phantom_poll(), rtl818x_handle_rx(), rtl818x_handle_tx(), rtl818x_probe(), rtl818x_set_hwaddr(), sis190_give_to_asic(), sis190_process_rx(), sis190_process_tx(), sis190_transmit(), sky2_status_intr(), spi_bit_rw(), sundance_poll(), tkip_decrypt(), tkip_michael(), and tlan_poll().
| #define le16_to_cpu | ( | x | ) | __bswap_16(x) |
Definition at line 16 of file big_bswap.h.
Referenced by amd8111e_poll(), amd8111e_wait_tx_ring(), b44_process_rx_packets(), davicom_probe(), dhcp_pxebs_tx(), eisabus_probe(), falcon_probe_nvram(), pcnet32_init_ring(), pcnet32_poll(), pcnet32_probe(), pcnet32_reset(), pcnet32_transmit(), phantom_create_rx_ctx(), phantom_create_tx_ctx(), pxe_menu_parse(), rtl818x_probe(), rtl818x_set_hwaddr(), sky2_status_intr(), sundance_probe(), tcpip_continue_chksum(), and tulip_probe().
| #define be64_to_cpu | ( | x | ) | (x) |
Definition at line 17 of file big_bswap.h.
Referenced by __vxge_hw_vpath_card_info_get(), eapol_key_rx(), mtnic_QUERY_FW(), and scsi_read_capacity_16().
| #define be32_to_cpu | ( | x | ) | (x) |
Definition at line 18 of file big_bswap.h.
Referenced by cmdif_go_bit(), mtnic_cmd(), mtnic_HEART_BEAT(), mtnic_OPEN_NIC(), mtnic_process_rx_cq(), mtnic_QUERY_CAP(), mtnic_QUERY_FW(), phantom_clp_cmd(), scsi_read_capacity_10(), scsi_read_capacity_16(), and uuid_ntoa().
| #define be16_to_cpu | ( | x | ) | (x) |
Definition at line 19 of file big_bswap.h.
Referenced by int13_boot(), mtnic_QUERY_FW(), tcpip_continue_chksum(), and uuid_ntoa().
| #define cpu_to_le64s | ( | x | ) | __bswap_64s(x) |
Definition at line 20 of file big_bswap.h.
| #define cpu_to_le32s | ( | x | ) | __bswap_32s(x) |
| #define cpu_to_le16s | ( | x | ) | __bswap_16s(x) |
Definition at line 22 of file big_bswap.h.
| #define cpu_to_be64s | ( | x | ) | do {} while (0) |
Definition at line 23 of file big_bswap.h.
| #define cpu_to_be32s | ( | x | ) | do {} while (0) |
Definition at line 24 of file big_bswap.h.
| #define cpu_to_be16s | ( | x | ) | do {} while (0) |
Definition at line 25 of file big_bswap.h.
| #define le64_to_cpus | ( | x | ) | __bswap_64s(x) |
Definition at line 26 of file big_bswap.h.
| #define le32_to_cpus | ( | x | ) | __bswap_32s(x) |
| #define le16_to_cpus | ( | x | ) | __bswap_16s(x) |
Definition at line 28 of file big_bswap.h.
| #define be64_to_cpus | ( | x | ) | do {} while (0) |
Definition at line 29 of file big_bswap.h.
| #define be32_to_cpus | ( | x | ) | do {} while (0) |
Definition at line 30 of file big_bswap.h.
| #define be16_to_cpus | ( | x | ) | do {} while (0) |
Definition at line 31 of file big_bswap.h.
1.5.7.1