Searched refs:eth_hdr (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/dnet/
H A Deth.h30 struct eth_hdr { struct
56 struct eth_hdr *eth_pack_p = (struct eth_hdr *)(h); \
/gem5/src/base/
H A Dinet.hh127 struct EthHdr : public eth_hdr
150 return sizeof(eth_hdr);
152 return (sizeof(eth_hdr)+4);
309 IpHdr *get() { return (IpHdr *)(p->data + sizeof(eth_hdr) +
315 { return (const IpHdr *)(p->data + sizeof(eth_hdr) +
328 int off() const { return (sizeof(eth_hdr) + ((eth_hdr_vlan) ? 4 : 0)); }
422 Ip6Hdr *get() { return (Ip6Hdr *)(p->data + sizeof(eth_hdr)
428 { return (const Ip6Hdr *)(p->data + sizeof(eth_hdr)
444 int off() const { return sizeof(eth_hdr) + ((eth_hdr_vlan) ? 4 : 0); }

Completed in 14 milliseconds