Searched refs:ETH_ADDR_LEN (Results 1 - 7 of 7) sorted by relevance

/gem5/ext/dnet/
H A Deth.h14 #define ETH_ADDR_LEN 6 macro
27 uint8_t data[ETH_ADDR_LEN];
57 memmove(&eth_pack_p->eth_dst, &(dst), ETH_ADDR_LEN); \
58 memmove(&eth_pack_p->eth_src, &(src), ETH_ADDR_LEN); \
H A Darp.h29 uint8_t ar_hln; /* length of hardware address (ETH_ADDR_LEN) */
57 uint8_t ar_sha[ETH_ADDR_LEN]; /* sender hardware address */
59 uint8_t ar_tha[ETH_ADDR_LEN]; /* target hardware address */
81 pack_arp_p->ar_hln = ETH_ADDR_LEN; \
84 memmove(pack_ethip_p->ar_sha, &(sha), ETH_ADDR_LEN); \
86 memmove(pack_ethip_p->ar_tha, &(tha), ETH_ADDR_LEN); \
/gem5/src/base/
H A Dinet.cc62 memset(data, 0, ETH_ADDR_LEN);
65 EthAddr::EthAddr(const uint8_t ea[ETH_ADDR_LEN])
67 for (int i = 0; i < ETH_ADDR_LEN; ++i)
73 for (int i = 0; i < ETH_ADDR_LEN; ++i)
99 // the hack below is to make sure that ETH_ADDR_LEN is 6 otherwise
101 int bytes[ETH_ADDR_LEN == 6 ? ETH_ADDR_LEN : -1];
103 &bytes[2], &bytes[3], &bytes[4], &bytes[5]) != ETH_ADDR_LEN) {
104 memset(data, 0xff, ETH_ADDR_LEN);
108 for (int i = 0; i < ETH_ADDR_LEN;
[all...]
H A Dinet.hh84 EthAddr(const uint8_t ea[ETH_ADDR_LEN]);
101 for (int i = 0; i < ETH_ADDR_LEN; ++i) {
/gem5/src/dev/net/
H A Dns_gige.hh106 uint8_t perfectMatch[ETH_ADDR_LEN];
H A Dns_gige.cc136 memcpy(&rom.perfectMatch, p->hardware_address.bytes(), ETH_ADDR_LEN);
2068 SERIALIZE_ARRAY(rom.perfectMatch, ETH_ADDR_LEN);
2233 UNSERIALIZE_ARRAY(rom.perfectMatch, ETH_ADDR_LEN);
H A Di8254xGBe.cc111 memcpy(flash, p->hardware_address.bytes(), ETH_ADDR_LEN);
112 for (int x = 0; x < ETH_ADDR_LEN/2; x++)

Completed in 22 milliseconds