diff options
author | Gabe Black <gabeblack@google.com> | 2017-06-03 00:45:09 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2017-06-03 15:23:09 +0000 |
commit | f9ad4066d71748829c11868b5b92ba092ee9513b (patch) | |
tree | 003f7c86ad5f15b20c8fba5f3edffeb930afb9c8 /src/dev/net/Ethernet.py | |
parent | 0010088c4392438f26f34b9dbab12634c7f650a4 (diff) | |
download | gem5-f9ad4066d71748829c11868b5b92ba092ee9513b.tar.xz |
dev: Rename EtherTap to be EtherTapStub.
The EtherTap object is going to be reworked so that it connects to a tap
device directly, but it's worthwhile to still be able to use the m5tap
utility (util/tap) to send/receive packets on systems which don't support
tap but do support the pcap API. It can also be used to replay ethernet
frames, to capture the ethernet frames coming from gem5 for analysis, to
programmatically consume and/or generate the frames, or even to forward
them to/from a remote system.
Change-Id: Ic7bd763d86cd913ac373dd10a8d6d1fc6b35f95a
Reviewed-on: https://gem5-review.googlesource.com/3644
Reviewed-by: Nathan Binkert <nate@binkert.org>
Maintainer: Nathan Binkert <nate@binkert.org>
Diffstat (limited to 'src/dev/net/Ethernet.py')
-rw-r--r-- | src/dev/net/Ethernet.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dev/net/Ethernet.py b/src/dev/net/Ethernet.py index da1e5720d..1f8e75200 100644 --- a/src/dev/net/Ethernet.py +++ b/src/dev/net/Ethernet.py @@ -95,13 +95,13 @@ class EtherSwitch(EtherObject): delay_var = Param.Latency('0ns', "packet transmit delay variability") time_to_live = Param.Latency('10ms', "time to live of MAC address maping") -class EtherTap(EtherObject): - type = 'EtherTap' +class EtherTapStub(EtherObject): + type = 'EtherTapStub' cxx_header = "dev/net/ethertap.hh" bufsz = Param.Int(10000, "tap buffer size") dump = Param.EtherDump(NULL, "dump object") - port = Param.UInt16(3500, "tap port") - tap = SlavePort("Ethernet interface") + port = Param.UInt16(3500, "Port helper should send packets to") + tap = SlavePort("Ethernet interface to gem5's network") class EtherDump(SimObject): type = 'EtherDump' |