Home
last modified time | relevance | path

Searched refs:h_source (Results 1 – 22 of 22) sorted by relevance

/external/ppp/pppd/plugins/rp-pppoe/
Ddebug.c132 (unsigned) packet->ethHdr.h_source[0], in dumpPacket()
133 (unsigned) packet->ethHdr.h_source[1], in dumpPacket()
134 (unsigned) packet->ethHdr.h_source[2], in dumpPacket()
135 (unsigned) packet->ethHdr.h_source[3], in dumpPacket()
136 (unsigned) packet->ethHdr.h_source[4], in dumpPacket()
137 (unsigned) packet->ethHdr.h_source[5], in dumpPacket()
Ddiscovery.c281 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); in sendPADI()
409 if (NOT_UNICAST(packet.ethHdr.h_source)) { in waitForPADO()
414 && memcmp(packet.ethHdr.h_source, conn->req_peer_mac, ETH_ALEN) != 0) { in waitForPADO()
432 memcpy(conn->peerEth, packet.ethHdr.h_source, ETH_ALEN); in waitForPADO()
466 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); in sendPADR()
591 if (memcmp(packet.ethHdr.h_source, conn->peerEth, ETH_ALEN)) continue; in waitForPADS()
Dcommon.c110 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); in sendPADT()
213 printer(arg, " src %02x:%02x:%02x:%02x:%02x:%02x\n", EH(packet->ethHdr.h_source)); in pppoe_printpkt()
Dpppoe-discovery.c459 memcpy(packet.ethHdr.h_source, conn->myEth, ETH_ALEN); in sendPADI()
568 if (BROADCAST(packet.ethHdr.h_source)) { in waitForPADO()
586 memcpy(conn->peerEth, packet.ethHdr.h_source, ETH_ALEN); in waitForPADO()
/external/wpa_supplicant_8/src/ap/
Dpreauth_auth.c67 sta = ap_get_sta(hapd, ethhdr->h_source); in rsn_preauth_receive()
74 sta = ap_sta_add(hapd, ethhdr->h_source); in rsn_preauth_receive()
92 ieee802_1x_receive(hapd, ethhdr->h_source, (u8 *) (ethhdr + 1), in rsn_preauth_receive()
255 os_memcpy(ethhdr->h_source, hapd->own_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()
177 os_memcpy(ethhdr->h_source, src_addr, ETH_ALEN); in eth_p_oui_send()
Dwpa_auth_glue.c630 os_memcpy(buf->h_source, hapd->own_addr, ETH_ALEN); in hostapd_wpa_auth_send_ether()
1171 MACSTR, MAC2STR(ethhdr->h_source), MAC2STR(ethhdr->h_dest)); in hostapd_rrb_receive()
1175 wpa_ft_rrb_rx(hapd->wpa_auth, ethhdr->h_source, buf + sizeof(*ethhdr), in hostapd_rrb_receive()
/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()
327 memcpy(sndeth.hdr.h_source, gateway_p->hd_addr, ETH_ALEN); in return_arp_reply()
400 memcpy(sndeth.hdr.h_dest, rcveth_p->hdr.h_source, ETH_ALEN); in return_icmp4_redirect()
401 memcpy(sndeth.hdr.h_source, gw_p->hd_addr, ETH_ALEN); in return_icmp4_redirect()
523 memcpy(sndeth.hdr.h_source, gateway_p->hd_addr, ETH_ALEN); in return_neigh_adv()
624 memcpy(sndeth.hdr.h_dest, rcveth_p->hdr.h_source, ETH_ALEN); in return_icmp6_redirect()
625 memcpy(sndeth.hdr.h_source, gw_p->hd_addr, ETH_ALEN); in return_icmp6_redirect()
/external/wpa_supplicant_8/src/l2_packet/
Dl2_packet_pcap.c100 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); in l2_packet_send()
141 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); in l2_packet_receive()
166 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); in l2_packet_receive_cb()
Dl2_packet.h34 u8 h_source[ETH_ALEN]; member
Dl2_packet_freebsd.c64 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); in l2_packet_send()
98 l2->rx_callback(l2->rx_callback_ctx, ethhdr->h_source, buf, len); in l2_packet_receive()
Dl2_packet_winpcap.c90 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); in l2_packet_send()
119 l2->rx_src = ethhdr->h_source; in l2_packet_receive_cb()
Dl2_packet_ndis.c122 os_memcpy(eth->h_source, l2->own_addr, ETH_ALEN); in l2_packet_send()
295 rx_src = ethhdr->h_source; in l2_packet_callback()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_xdp.c75 memcpy(new_eth->h_source, old_eth->h_dest, sizeof(new_eth->h_source)); in set_ethhdr()
/external/libnl/include/linux-private/linux/
Dif_ether.h121 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member
/external/tcpdump/
Dprint-lane.c38 uint8_t h_source[ETHER_ADDR_LEN]; member
/external/iproute2/include/uapi/linux/
Dif_ether.h154 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member
/external/kernel-headers/original/uapi/linux/
Dif_ether.h163 unsigned char h_source[ETH_ALEN]; /* source ether addr */ member
/external/iptables/iptables/
Dnft-bridge.c185 add_payload(r, offsetof(struct ethhdr, h_source), 6, in nft_bridge_add()
295 case offsetof(struct ethhdr, h_source): in nft_bridge_parse_payload()
/external/linux-kselftest/tools/testing/selftests/net/
Dmsg_zerocopy.c503 memset(eth.h_source, 0x02, ETH_ALEN); in do_tx()
/external/syzkaller/sys/linux/
Dsocket.txt704 h_source mac_addr
/external/wpa_supplicant_8/src/drivers/
Ddriver_atheros.c1686 os_memcpy(eth->h_source, own_addr, ETH_ALEN); in atheros_send_eapol()