Lines Matching defs:mac
25 u8 mac[ETH_ALEN];
50 const unsigned char mac[ETH_ALEN],
59 mach |= mac[0] << 8;
60 mach |= mac[1] << 0;
61 macl |= mac[2] << 24;
62 macl |= mac[3] << 16;
63 macl |= mac[4] << 8;
64 macl |= mac[5] << 0;
72 const unsigned char mac[ETH_ALEN],
84 mc_ports = (mac[1] << 8) | mac[2];
86 mc_ports = (mac[0] << 8) | mac[1];
93 ocelot_mact_select(ocelot, mac, vid);
104 const unsigned char mac[ETH_ALEN],
110 ret = __ocelot_mact_learn(ocelot, port, mac, vid, type);
118 const unsigned char mac[ETH_ALEN], unsigned int vid)
124 ocelot_mact_select(ocelot, mac, vid);
140 const unsigned char mac[ETH_ALEN],
147 ocelot_mact_select(ocelot, mac, vid);
175 const unsigned char mac[ETH_ALEN],
191 ret = __ocelot_mact_learn(ocelot, dst_idx, mac, vid, type);
1280 char mac[ETH_ALEN];
1310 mac[0] = (mach >> 8) & 0xff;
1311 mac[1] = (mach >> 0) & 0xff;
1312 mac[2] = (macl >> 24) & 0xff;
1313 mac[3] = (macl >> 16) & 0xff;
1314 mac[4] = (macl >> 8) & 0xff;
1315 mac[5] = (macl >> 0) & 0xff;
1318 ether_addr_copy(entry->mac, mac);
1371 /* Loop through all the mac tables entries. */
1394 err = cb(entry.mac, entry.vid, is_static, data);