Searched refs:mac (Results 1 - 25 of 121) sorted by relevance

12345

/netgear-R7800-V1.0.2.28/target/linux/lantiq/files/arch/mips/lantiq/xway/
H A Ddev-wifi-rt2x00.h12 extern void ltq_register_rt2x00(const char *firmware, const u8 *mac);
H A Ddev-wifi-rt2x00.c27 ltq_register_rt2x00(const char *firmware, const u8 *mac) argument
30 rt2x00_pdata.mac_address = mac;
/netgear-R7800-V1.0.2.28/target/linux/adm5120/files/arch/mips/include/asm/mach-adm5120/prom/
H A Dadmboot.h15 extern int admboot_get_mac_base(u32 offset, u32 len, u8 *mac) __init;
/netgear-R7800-V1.0.2.28/target/linux/ep93xx/base-files/lib/preinit/
H A D05_set_ether_mac_rdc7 mac=$(sed -n 's/^Serial.* 000000/02/p' /proc/cpuinfo)
8 ifconfig eth0 hw ether $mac
/netgear-R7800-V1.0.2.28/package/igmpproxy/src/
H A Dbt_igmp.h5 int get_if_mac(char mac[], char *ifname);
/netgear-R7800-V1.0.2.28/target/linux/ar71xx/files/arch/mips/ath79/
H A Dmach-ew-dorin.c71 static u8 mac[6]; local
77 if (ar93xx_wmac_read_mac_address(mac)) {
82 memcpy(mac, art + DORIN_WMAC_MAC_OFFSET, sizeof(mac));
85 mac[3] |= 0x40;
86 ath79_init_mac(ath79_eth1_data.mac_addr, mac, 0);
107 static u8 mac[6]; local
113 if (ar93xx_wmac_read_mac_address(mac)) {
118 memcpy(mac, art + DORIN_WMAC_MAC_OFFSET, sizeof(mac));
[all...]
H A Dnvram.h17 const char *name, char *mac);
H A Dnvram.c42 const char *name, char *mac)
63 &mac[0], &mac[1], &mac[2], &mac[3], &mac[4], &mac[5]);
41 ath79_nvram_parse_mac_addr(const char *nvram, unsigned nvram_len, const char *name, char *mac) argument
H A Dmach-tew-632brp.c75 u8 mac[6]; local
79 "lan_mac=", mac) == 0) {
80 ath79_init_mac(ath79_eth0_data.mac_addr, mac, 0);
81 ath79_init_mac(ath79_eth1_data.mac_addr, mac, 1);
82 wlan_mac = mac;
H A Dmach-tl-wr703n.c62 u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); local
80 ath79_init_mac(ath79_eth0_data.mac_addr, mac, 0);
85 ath79_register_wmac(ee, mac);
H A Dmach-wrt160nl.c88 u8 mac[6]; local
91 "lan_hwaddr=", mac) == 0) {
92 ath79_init_mac(ath79_eth0_data.mac_addr, mac, 0);
93 ath79_init_mac(ath79_eth1_data.mac_addr, mac, 1);
112 "wl0_hwaddr=", mac) == 0)
113 ath79_register_wmac(eeprom, mac);
H A Dmach-all0258n.c62 u8 *mac = (u8 *) KSEG1ADDR(0x1f7f0000); local
74 ath79_init_mac(ath79_eth0_data.mac_addr, mac, 0);
75 ath79_init_mac(ath79_eth1_data.mac_addr, mac, 0);
84 ap91_pci_init(ee, mac);
H A Dmach-tl-wa901nd.c80 u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); local
87 ath79_init_mac(ath79_eth1_data.mac_addr, mac, 0);
96 u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); local
114 ap91_pci_init(ee, mac);
H A Dmach-tl-wr741nd.c97 u8 *mac = (u8 *) KSEG1ADDR(0x1f01fc00); local
115 ath79_init_mac(ath79_eth0_data.mac_addr, mac, 1);
116 ath79_init_mac(ath79_eth1_data.mac_addr, mac, -1);
127 ap91_pci_init(ee, mac);
H A Dmach-cap4200ag.c92 u8 mac[6]; local
107 ath79_init_mac(mac, art + CAP4200AG_MAC_OFFSET, -1);
109 ath79_register_wmac(art + CAP4200AG_WMAC_CALDATA_OFFSET, mac);
111 ath79_init_mac(mac, art + CAP4200AG_MAC_OFFSET, -2);
112 ap91_pci_init(art + CAP4200AG_PCIE_CALDATA_OFFSET, mac);
H A Dmach-dir-600-a1.c103 u8 *mac = NULL; local
109 mac = mac_buff;
127 ath79_init_mac(ath79_eth0_data.mac_addr, mac, 0);
128 ath79_init_mac(ath79_eth1_data.mac_addr, mac, 1);
138 ap91_pci_init(ee, mac);
H A Dmach-dir-615-c1.c99 u8 mac[6]; local
103 "lan_mac=", mac) == 0) {
104 ath79_init_mac(ath79_eth0_data.mac_addr, mac, 0);
105 ath79_init_mac(ath79_eth1_data.mac_addr, mac, 1);
106 wlan_mac = mac;
H A Dmach-mr600.c94 u8 mac[6]; local
107 ath79_init_mac(mac, art + MR600_MAC_OFFSET, -1);
108 ath79_register_wmac(art + MR600_WMAC_CALDATA_OFFSET, mac);
110 ath79_init_mac(mac, art + MR600_MAC_OFFSET, -2);
111 ap91_pci_init(art + MR600_PCIE_CALDATA_OFFSET, mac);
/netgear-R7800-V1.0.2.28/target/linux/generic/files/crypto/ocf/kirkwood/mvHal/common/
H A Dmv802_3.h96 /* This macro checks for a multicast mac address */
97 #define MV_IS_MULTICAST_MAC(mac) (((mac)[0] & 0x1) == 1)
100 /* This macro checks for an broadcast mac address */
101 #define MV_IS_BROADCAST_MAC(mac) \
102 (((mac)[0] == 0xFF) && \
103 ((mac)[1] == 0xFF) && \
104 ((mac)[2] == 0xFF) && \
105 ((mac)[3] == 0xFF) && \
106 ((mac)[
[all...]
/netgear-R7800-V1.0.2.28/target/linux/ramips/files/arch/mips/include/asm/mach-ralink/
H A Dramips_eth_platform.h26 unsigned char mac[6]; member in struct:ramips_eth_platform_data
/netgear-R7800-V1.0.2.28/target/linux/adm5120/files/arch/mips/adm5120/compex/
H A Dcompex.c43 u8 mac[ETH_ALEN]; local
45 random_ether_addr(mac);
46 adm5120_setup_eth_macs(mac);
/netgear-R7800-V1.0.2.28/target/linux/adm5120/files/arch/mips/adm5120/prom/
H A Dadmboot.c26 int __init admboot_get_mac_base(u32 offset, u32 len, u8 *mac) argument
40 mac[j] = cfg[i + 4 + j];
48 mac[j] = cfg[i + 7 + j];
/netgear-R7800-V1.0.2.28/package/qca-mcs/src/
H A Dmc_snooping.h27 int mc_find_acl_rule(struct mc_acl_rule_table *acl, __be32 in4, void *in6, __u8 *mac, __be32 rule);
34 extern void mc_fdb_change(__u8 *mac, int change);
/netgear-R7800-V1.0.2.28/package/pot/src/
H A Dexcmd.c106 printf("\nUsage: %s <get | set <mac address>>\n"
127 } tmp, *mac; local
138 mac = (struct mac_t *)buf;
147 #define MAC_VAL mac->byte0, mac->byte1, mac->byte2, mac->byte3, mac->byte4, mac->byte5
151 if (!memcmp(&tmp, mac, sizeo
[all...]
/netgear-R7800-V1.0.2.28/package/netatalk-utility/src/
H A Dwol.c71 printf ("Usage: %s [options] [mac] [broadcast] [port]\n"
73 " -m mac mac address of host\n"
81 int parse_mac(unsigned char *mac, char *str) { argument
88 mac[i] = 0;
111 *mac++ = val;
130 char *mac = DEFAULTMAC;
137 case 'm': mac = optarg; break;
155 mac = argv[optind++];
167 if (!parse_mac(macaddr, mac)) {
205 send_wol(char *target, char *mac) argument
290 char mac[16]; local
[all...]

Completed in 133 milliseconds

12345