Searched refs:ethernet_frame_ptr (Results 1 – 6 of 6) sorted by relevance
378 ULONG *ethernet_frame_ptr; in _nx_pcap_network_driver() local509 ethernet_frame_ptr = (ULONG *) (packet_ptr -> nx_packet_prepend_ptr - 2); in _nx_pcap_network_driver()512 *ethernet_frame_ptr = driver_req_ptr -> nx_ip_driver_physical_address_msw; in _nx_pcap_network_driver()513 *(ethernet_frame_ptr+1) = driver_req_ptr -> nx_ip_driver_physical_address_lsw; in _nx_pcap_network_driver()514 … *(ethernet_frame_ptr+2) = (interface_ptr -> nx_interface_physical_address_msw << 16) | in _nx_pcap_network_driver()516 … *(ethernet_frame_ptr+3) = (interface_ptr -> nx_interface_physical_address_lsw << 16); in _nx_pcap_network_driver()519 *(ethernet_frame_ptr+3) |= NX_ETHERNET_ARP; in _nx_pcap_network_driver()521 *(ethernet_frame_ptr+3) |= NX_ETHERNET_ARP; in _nx_pcap_network_driver()523 *(ethernet_frame_ptr+3) |= NX_ETHERNET_RARP; in _nx_pcap_network_driver()527 *(ethernet_frame_ptr + 3) |= NX_ETHERNET_PPPOE_DISCOVERY; in _nx_pcap_network_driver()[all …]
190 ULONG *ethernet_frame_ptr; in fake_rarp_response_packet() local259 ethernet_frame_ptr = (ULONG *) (my_packet -> nx_packet_prepend_ptr - 2); in fake_rarp_response_packet()262 *ethernet_frame_ptr = 0x00000011; in fake_rarp_response_packet()263 *(ethernet_frame_ptr+1) = 0x22334456; in fake_rarp_response_packet()264 *(ethernet_frame_ptr+2) = (0x00000011 << 16) | (0x22334457 >> 16); in fake_rarp_response_packet()265 *(ethernet_frame_ptr+3) = ((0x22334457 & 0xFFFF) << 16); in fake_rarp_response_packet()266 *(ethernet_frame_ptr+3) |= NX_ETHERNET_RARP; in fake_rarp_response_packet()269 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr)); in fake_rarp_response_packet()270 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr+1)); in fake_rarp_response_packet()271 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr+2)); in fake_rarp_response_packet()[all …]
348 ULONG *ethernet_frame_ptr; in fake_rarp_response_packet() local417 ethernet_frame_ptr = (ULONG *) (my_packet -> nx_packet_prepend_ptr - 2); in fake_rarp_response_packet()420 *ethernet_frame_ptr = 0x00000011; in fake_rarp_response_packet()421 *(ethernet_frame_ptr+1) = 0x22334456; in fake_rarp_response_packet()422 *(ethernet_frame_ptr+2) = (0x00000011 << 16) | (0x22334457 >> 16); in fake_rarp_response_packet()423 *(ethernet_frame_ptr+3) = ((0x22334457 & 0xFFFF) << 16); in fake_rarp_response_packet()424 *(ethernet_frame_ptr+3) |= NX_ETHERNET_RARP; in fake_rarp_response_packet()427 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr)); in fake_rarp_response_packet()428 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr+1)); in fake_rarp_response_packet()429 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr+2)); in fake_rarp_response_packet()[all …]
910 ULONG *ethernet_frame_ptr; in nx_link_ethernet_header_add() local940 ethernet_frame_ptr = (ULONG *)(packet_ptr -> nx_packet_prepend_ptr - 2); in nx_link_ethernet_header_add()943 *ethernet_frame_ptr = physical_address_msw; in nx_link_ethernet_header_add()944 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr)); in nx_link_ethernet_header_add()945 *(++ethernet_frame_ptr) = physical_address_lsw; in nx_link_ethernet_header_add()946 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr)); in nx_link_ethernet_header_add()947 *(++ethernet_frame_ptr) = (interface_ptr -> nx_interface_physical_address_msw << 16) | in nx_link_ethernet_header_add()949 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr)); in nx_link_ethernet_header_add()950 *(++ethernet_frame_ptr) = (interface_ptr -> nx_interface_physical_address_lsw << 16); in nx_link_ethernet_header_add()954 *(ethernet_frame_ptr) |= NX_LINK_ETHERNET_TPID; in nx_link_ethernet_header_add()[all …]
168 ULONG *ethernet_frame_ptr; in _nx_ram_network_driver() local411 ethernet_frame_ptr = (ULONG *)(packet_ptr -> nx_packet_prepend_ptr - 2); in _nx_ram_network_driver()414 *ethernet_frame_ptr = driver_req_ptr -> nx_ip_driver_physical_address_msw; in _nx_ram_network_driver()415 *(ethernet_frame_ptr + 1) = driver_req_ptr -> nx_ip_driver_physical_address_lsw; in _nx_ram_network_driver()416 *(ethernet_frame_ptr + 2) = (interface_ptr -> nx_interface_physical_address_msw << 16) | in _nx_ram_network_driver()418 …*(ethernet_frame_ptr + 3) = (interface_ptr -> nx_interface_physical_address_lsw << 16) | ether_ty… in _nx_ram_network_driver()421 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr)); in _nx_ram_network_driver()422 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr + 1)); in _nx_ram_network_driver()423 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr + 2)); in _nx_ram_network_driver()424 NX_CHANGE_ULONG_ENDIAN(*(ethernet_frame_ptr + 3)); in _nx_ram_network_driver()
448 ULONG *ethernet_frame_ptr; in _nx_ram_network_driver_internal() local820 ethernet_frame_ptr = (ULONG *) (packet_ptr -> nx_packet_prepend_ptr - 2); in _nx_ram_network_driver_internal()823 *ethernet_frame_ptr = driver_req_ptr -> nx_ip_driver_physical_address_msw; in _nx_ram_network_driver_internal()824 *(ethernet_frame_ptr+1) = driver_req_ptr -> nx_ip_driver_physical_address_lsw; in _nx_ram_network_driver_internal()825 *(ethernet_frame_ptr+2) = (interface_ptr -> nx_interface_physical_address_msw << 16) | in _nx_ram_network_driver_internal()827 *(ethernet_frame_ptr+3) = (interface_ptr -> nx_interface_physical_address_lsw << 16); in _nx_ram_network_driver_internal()830 *(ethernet_frame_ptr+3) |= NX_ETHERNET_ARP; in _nx_ram_network_driver_internal()832 *(ethernet_frame_ptr+3) |= NX_ETHERNET_ARP; in _nx_ram_network_driver_internal()834 *(ethernet_frame_ptr+3) |= NX_ETHERNET_RARP; in _nx_ram_network_driver_internal()837 *(ethernet_frame_ptr+3) |= NX_ETHERNET_IPV6; in _nx_ram_network_driver_internal()[all …]