Home
last modified time | relevance | path

Searched refs:h_dest (Results 1 – 25 of 33) sorted by relevance

12

/external/ppp/pppd/plugins/rp-pppoe/
Ddebug.c138 (unsigned) packet->ethHdr.h_dest[0], in dumpPacket()
139 (unsigned) packet->ethHdr.h_dest[1], in dumpPacket()
140 (unsigned) packet->ethHdr.h_dest[2], in dumpPacket()
141 (unsigned) packet->ethHdr.h_dest[3], in dumpPacket()
142 (unsigned) packet->ethHdr.h_dest[4], in dumpPacket()
143 (unsigned) packet->ethHdr.h_dest[5]); in dumpPacket()
Dcommon.c109 memcpy(packet.ethHdr.h_dest, conn->peerEth, ETH_ALEN); in sendPADT()
212 printer(arg, " dst %02x:%02x:%02x:%02x:%02x:%02x ", EH(packet->ethHdr.h_dest)); in pppoe_printpkt()
Ddiscovery.c110 if (memcmp(packet->ethHdr.h_dest, conn->myEth, ETH_ALEN)) return 0; in packetIsForMe()
280 memset(packet.ethHdr.h_dest, 0xFF, ETH_ALEN); in sendPADI()
465 memcpy(packet.ethHdr.h_dest, conn->peerEth, ETH_ALEN); in sendPADR()
Dpppoe-discovery.c347 if (memcmp(packet->ethHdr.h_dest, conn->myEth, ETH_ALEN)) return 0; in packetIsForMe()
458 memset(packet.ethHdr.h_dest, 0xFF, ETH_ALEN); in sendPADI()
/external/ethtool/
Drxclass.c85 dmac = fsp->h_ext.h_dest; in rxclass_print_nfc_spec_ext()
86 dmacm = fsp->m_ext.h_dest; in rxclass_print_nfc_spec_ext()
223 dmac = fsp->h_u.ether_spec.h_dest; in rxclass_print_nfc_rule()
224 dmacm = fsp->m_u.ether_spec.h_dest; in rxclass_print_nfc_rule()
692 offsetof(struct ethtool_rx_flow_spec, h_ext.h_dest),
693 offsetof(struct ethtool_rx_flow_spec, m_ext.h_dest) },
727 offsetof(struct ethtool_rx_flow_spec, h_ext.h_dest),
728 offsetof(struct ethtool_rx_flow_spec, m_ext.h_dest) },
774 offsetof(struct ethtool_rx_flow_spec, h_ext.h_dest),
775 offsetof(struct ethtool_rx_flow_spec, m_ext.h_dest) },
[all …]
/external/ltp/testcases/network/stress/ns-tools/
Dns-icmp_redirector.c326 memcpy(sndeth.hdr.h_dest, rcveth_p->hdr.h_source, ETH_ALEN); in return_arp_reply()
377 if (memcmp(rcveth_p->hdr.h_dest, new_gw_p->hd_addr, ETH_ALEN) == 0) { in return_icmp4_redirect()
383 || memcmp(rcveth_p->hdr.h_dest, gw_p->hd_addr, ETH_ALEN)) in return_icmp4_redirect()
400 memcpy(sndeth.hdr.h_dest, rcveth_p->hdr.h_source, ETH_ALEN); in return_icmp4_redirect()
522 memcpy(sndeth.hdr.h_dest, rcvns_p->src_laddr, ETH_ALEN); in return_neigh_adv()
602 if (memcmp(rcveth_p->hdr.h_dest, new_gw_p->hd_addr, ETH_ALEN) == 0) { in return_icmp6_redirect()
608 || memcmp(rcveth_p->hdr.h_dest, gw_p->hd_addr, ETH_ALEN)) in return_icmp6_redirect()
624 memcpy(sndeth.hdr.h_dest, rcveth_p->hdr.h_source, ETH_ALEN); in return_icmp6_redirect()
/external/wpa_supplicant_8/src/ap/
Dpreauth_auth.c61 if (os_memcmp(ethhdr->h_dest, hapd->own_addr, ETH_ALEN) != 0) { in rsn_preauth_receive()
63 MACSTR, MAC2STR(ethhdr->h_dest)); in rsn_preauth_receive()
254 os_memcpy(ethhdr->h_dest, sta->addr, ETH_ALEN); in rsn_preauth_send()
Deth_p_oui.c78 eth_p_oui_deliver(receiver, ethhdr->h_source, ethhdr->h_dest, in eth_p_rx()
178 os_memcpy(ethhdr->h_dest, dst_addr, ETH_ALEN); in eth_p_oui_send()
Dwpa_auth_glue.c724 os_memcpy(buf->h_dest, dst, ETH_ALEN); in hostapd_wpa_auth_send_ether()
1361 MACSTR, MAC2STR(ethhdr->h_source), MAC2STR(ethhdr->h_dest)); in hostapd_rrb_receive()
1362 if (!is_multicast_ether_addr(ethhdr->h_dest) && in hostapd_rrb_receive()
1363 os_memcmp(hapd->own_addr, ethhdr->h_dest, ETH_ALEN) != 0) in hostapd_rrb_receive()
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_xdp_loop.c71 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); in set_ethhdr()
72 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr()
Dtest_xdp.c75 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); in set_ethhdr()
76 memcpy(new_eth->h_dest, tnl->dmac, sizeof(new_eth->h_dest)); in set_ethhdr()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet.h33 u8 h_dest[ETH_ALEN]; member
Dl2_packet_linux.c182 (os_memcmp(eth->h_dest, l2->own_addr, ETH_ALEN) == 0 || in l2_packet_receive()
183 is_multicast_ether_addr(eth->h_dest))) { in l2_packet_receive()
Dl2_packet_freebsd.c63 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
Dl2_packet_winpcap.c89 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
Dl2_packet_pcap.c99 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
Dl2_packet_ndis.c121 os_memcpy(eth->h_dest, dst_addr, ETH_ALEN); in l2_packet_send()
/external/tcpdump/
Dprint-lane.c37 uint8_t h_dest[ETHER_ADDR_LEN]; member
/external/iproute2/include/uapi/linux/
Dif_ether.h153 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
/external/kernel-headers/original/uapi/linux/
Dif_ether.h166 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
/external/libnl/include/linux-private/linux/
Dif_ether.h162 unsigned char h_dest[ETH_ALEN]; /* destination eth addr */ member
/external/crosvm/net_sys/src/
Dif_tun.rs334 pub h_dest: [::std::os::raw::c_uchar; 6usize], field
351 unsafe { &(*(0 as *const ethhdr)).h_dest as *const _ as usize }, in bindgen_test_layout_ethhdr()
357 stringify!(h_dest) in bindgen_test_layout_ethhdr()
/external/crosvm/virtio_sys/src/
Dvirtio_net.rs329 pub h_dest: [::std::os::raw::c_uchar; 6usize], field
346 unsafe { &(*(0 as *const ethhdr)).h_dest as *const _ as usize }, in bindgen_test_layout_ethhdr()
352 stringify!(h_dest) in bindgen_test_layout_ethhdr()
/external/iptables/iptables/
Dnft-bridge.c137 offsetof(struct ethhdr, h_dest), in nft_bridge_add()
213 case offsetof(struct ethhdr, h_dest): in nft_bridge_parse_payload()
Dxtables-monitor.c306 printf("MACDST=%s ", ether_ntoa((const void *)eh->h_dest)); in trace_print_packet()

12