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 --- 68 unchanged lines hidden (view full) --- 77 78class EtherBus(EtherObject): 79 type = 'EtherBus' 80 cxx_header = "dev/net/etherbus.hh" 81 loopback = Param.Bool(True, "send packet back to the sending interface") 82 dump = Param.EtherDump(NULL, "dump object") 83 speed = Param.NetworkBandwidth('100Mbps', "bus speed in bits per second") 84 |
85class EtherSwitch(EtherObject): 86 type = 'EtherSwitch' 87 cxx_header = "dev/net/etherswitch.hh" 88 dump = Param.EtherDump(NULL, "dump object") 89 fabric_speed = Param.NetworkBandwidth('10Gbps', "switch fabric speed in bits " 90 "per second") 91 interface = VectorMasterPort("Ethernet Interface") 92 output_buffer_size = Param.MemorySize('1MB', "size of output port buffers") 93 delay = Param.Latency('0us', "packet transmit delay") 94 delay_var = Param.Latency('0ns', "packet transmit delay variability") 95 time_to_live = Param.Latency('10ms', "time to live of MAC address maping") 96 |
97class EtherTap(EtherObject): 98 type = 'EtherTap' 99 cxx_header = "dev/net/ethertap.hh" 100 bufsz = Param.Int(10000, "tap buffer size") 101 dump = Param.EtherDump(NULL, "dump object") 102 port = Param.UInt16(3500, "tap port") 103 104class EtherDump(SimObject): --- 156 unchanged lines hidden --- |