Home
last modified time | relevance | path

Searched refs:macaddr (Results 1 – 25 of 35) sorted by relevance

12

/external/iptables/extensions/
Dlibarpt_mangle.c57 struct ether_addr *macaddr; in arpmangle_parse() local
88 macaddr = ether_aton(optarg); in arpmangle_parse()
89 if (macaddr == NULL) in arpmangle_parse()
92 memcpy(mangle->src_devaddr, macaddr, e->arp.arhln); in arpmangle_parse()
105 macaddr = ether_aton(optarg); in arpmangle_parse()
106 if (macaddr == NULL) in arpmangle_parse()
108 memcpy(mangle->tgt_devaddr, macaddr, e->arp.arhln); in arpmangle_parse()
Dlibxt_mangle.c184 struct ether_addr *macaddr; in mangle_parse() local
245 macaddr = ether_aton(cb->arg); in mangle_parse()
246 if (macaddr == NULL) in mangle_parse()
248 memcpy(mangle->src_devaddr, macaddr, e->arp.arhln); in mangle_parse()
261 macaddr = ether_aton(cb->arg); in mangle_parse()
262 if (macaddr == NULL) in mangle_parse()
264 memcpy(mangle->tgt_devaddr, macaddr, e->arp.arhln); in mangle_parse()
/external/u-boot/drivers/net/
Dcalxedaxgmac.c188 } macaddr[16]; member
360 u32 macaddr[2]; in xgmac_hwmacaddr() local
362 memcpy(macaddr, dev->enetaddr, 6); in xgmac_hwmacaddr()
363 writel(macaddr[1], &regs->macaddr[0].hi); in xgmac_hwmacaddr()
364 writel(macaddr[0], &regs->macaddr[0].lo); in xgmac_hwmacaddr()
505 u32 macaddr[2]; in calxedaxgmac_initialize() local
531 macaddr[1] = readl(&regs->macaddr[0].hi); in calxedaxgmac_initialize()
532 macaddr[0] = readl(&regs->macaddr[0].lo); in calxedaxgmac_initialize()
533 memcpy(dev->enetaddr, macaddr, 6); in calxedaxgmac_initialize()
Dpic32_eth.c165 static void pic32_mac_init(struct pic32eth_dev *priv, u8 *macaddr) in pic32_mac_init() argument
191 writel(macaddr[0] | (macaddr[1] << 8), &emac_p->sa2.raw); in pic32_mac_init()
192 writel(macaddr[2] | (macaddr[3] << 8), &emac_p->sa1.raw); in pic32_mac_init()
193 writel(macaddr[4] | (macaddr[5] << 8), &emac_p->sa0.raw); in pic32_mac_init()
/external/bcc/examples/networking/vlan_learning/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
74 if macaddr: v.address = macaddr
91 macaddr=None, fn=None, cmd=None, action="ok", disable_ipv6=False): argument
93 ipaddr, macaddr, fn, cmd, action,
Dvlan_learning.py59 macaddr = ("02:00:00:%.2x:%.2x:%.2x" %
64 mac = int(macaddr.replace(":", ""), 16)
75 macaddr=macaddr, cmd=cmd)[1:3]
/external/bcc/tests/python/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
74 if macaddr: v.address = macaddr
91 macaddr=None, fn=None, cmd=None, action="ok", disable_ipv6=False): argument
93 ipaddr, macaddr, fn, cmd, action,
/external/bcc/examples/networking/tunnel_monitor/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
74 if macaddr: v.address = macaddr
91 macaddr=None, fn=None, cmd=None, action="ok", disable_ipv6=False): argument
93 ipaddr, macaddr, fn, cmd, action,
/external/bcc/examples/networking/distributed_bridge/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
74 if macaddr: v.address = macaddr
91 macaddr=None, fn=None, cmd=None, action="ok", disable_ipv6=False): argument
93 ipaddr, macaddr, fn, cmd, action,
/external/bcc/examples/networking/neighbor_sharing/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
74 if macaddr: v.address = macaddr
91 macaddr=None, fn=None, cmd=None, action="ok", disable_ipv6=False): argument
93 ipaddr, macaddr, fn, cmd, action,
/external/bcc/examples/networking/
Dsimulation.py24 out_ifc=None, ipaddr=None, macaddr=None, fn=None, cmd=None, argument
74 if macaddr: v.address = macaddr
91 macaddr=None, fn=None, cmd=None, action="ok", disable_ipv6=False): argument
93 ipaddr, macaddr, fn, cmd, action,
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/cfg80211_gtk_rekey_notify/
Dformat11 field:u8 macaddr[6]; offset:28; size:6; signed:0;
13 print fmt: "netdev:%s(%d), mac: %pM", REC->name, REC->ifindex, (REC->macaddr)
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/cfg80211_del_sta/
Dformat11 field:u8 macaddr[6]; offset:28; size:6; signed:0;
13 print fmt: "netdev:%s(%d), mac: %pM", REC->name, REC->ifindex, (REC->macaddr)
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/cfg80211/cfg80211_gtk_rekey_notify/
Dformat11 field:u8 macaddr[6]; offset:28; size:6; signed:0;
13 print fmt: "netdev:%s(%d), mac: %pM", REC->name, REC->ifindex, (REC->macaddr)
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/cfg80211_del_sta/
Dformat11 field:u8 macaddr[6]; offset:28; size:6; signed:0;
13 print fmt: "netdev:%s(%d), mac: %pM", REC->name, REC->ifindex, (REC->macaddr)
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/cfg80211_notify_new_peer_candidate/
Dformat11 field:u8 macaddr[6]; offset:28; size:6; signed:0;
13 print fmt: "netdev:%s(%d), mac: %pM", REC->name, REC->ifindex, (REC->macaddr)
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/cfg80211/cfg80211_notify_new_peer_candidate/
Dformat11 field:u8 macaddr[6]; offset:28; size:6; signed:0;
13 print fmt: "netdev:%s(%d), mac: %pM", REC->name, REC->ifindex, (REC->macaddr)
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/cfg80211/cfg80211_del_sta/
Dformat11 field:u8 macaddr[6]; offset:28; size:6; signed:0;
13 print fmt: "netdev:%s(%d), mac: %pM", REC->name, REC->ifindex, (REC->macaddr)
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/cfg80211/cfg80211_notify_new_peer_candidate/
Dformat11 field:u8 macaddr[6]; offset:28; size:6; signed:0;
13 print fmt: "netdev:%s(%d), mac: %pM", REC->name, REC->ifindex, (REC->macaddr)
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/cfg80211/cfg80211_gtk_rekey_notify/
Dformat11 field:u8 macaddr[6]; offset:28; size:6; signed:0;
13 print fmt: "netdev:%s(%d), mac: %pM", REC->name, REC->ifindex, (REC->macaddr)
/external/u-boot/board/Synology/ds109/
Dds109.c134 memset(t->macaddr[i], 0, sizeof(t->macaddr[i])); in setup_board_tags()
Dds109.h37 char macaddr[4][6]; member
/external/autotest/client/site_tests/network_WiFiTxRx/
Dnetwork-flipflop.sh176 macaddr=$(cat /sys/class/net/$iface/address)
189 if [[ x${mac,,*} = x${macaddr,,*} ]]; then result=$strength; fi;
/external/wpa_supplicant_8/src/ap/
Dap_config.h58 typedef u8 macaddr[ETH_ALEN]; typedef
61 macaddr addr;
437 macaddr bssid;
698 macaddr owe_transition_bssid;
/external/wpa_supplicant_8/src/wps/
Dwps_upnp_web.c579 u8 macaddr[ETH_ALEN]; in web_process_put_wlan_response() local
614 if (hwaddr_aton(val, macaddr)) { in web_process_put_wlan_response()
627 if (hwaddr_aton2(val, macaddr) > 0) { in web_process_put_wlan_response()
635 val, MAC2STR(macaddr)); in web_process_put_wlan_response()
657 macaddr, msg, type) in web_process_put_wlan_response()

12