Ethernet.py (11703:08b78e0a3717) | Ethernet.py (12052:616deda85421) |
---|---|
1# Copyright (c) 2015 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 87 unchanged lines hidden (view full) --- 96 time_to_live = Param.Latency('10ms', "time to live of MAC address maping") 97 98class EtherTap(EtherObject): 99 type = 'EtherTap' 100 cxx_header = "dev/net/ethertap.hh" 101 bufsz = Param.Int(10000, "tap buffer size") 102 dump = Param.EtherDump(NULL, "dump object") 103 port = Param.UInt16(3500, "tap port") | 1# Copyright (c) 2015 ARM Limited 2# All rights reserved. 3# 4# The license below extends only to copyright in the software and shall 5# not be construed as granting a license to any other intellectual 6# property including but not limited to intellectual property relating 7# to a hardware implementation of the functionality of the software 8# licensed hereunder. You may use the software subject to the license --- 87 unchanged lines hidden (view full) --- 96 time_to_live = Param.Latency('10ms', "time to live of MAC address maping") 97 98class EtherTap(EtherObject): 99 type = 'EtherTap' 100 cxx_header = "dev/net/ethertap.hh" 101 bufsz = Param.Int(10000, "tap buffer size") 102 dump = Param.EtherDump(NULL, "dump object") 103 port = Param.UInt16(3500, "tap port") |
104 tap = SlavePort("Ethernet interface") |
|
104 105class EtherDump(SimObject): 106 type = 'EtherDump' 107 cxx_header = "dev/net/etherdump.hh" 108 file = Param.String("dump file") 109 maxlen = Param.Int(96, "max portion of packet data to dump") 110 111class EtherDevice(PciDevice): --- 150 unchanged lines hidden --- | 105 106class EtherDump(SimObject): 107 type = 'EtherDump' 108 cxx_header = "dev/net/etherdump.hh" 109 file = Param.String("dump file") 110 maxlen = Param.Int(96, "max portion of packet data to dump") 111 112class EtherDevice(PciDevice): --- 150 unchanged lines hidden --- |