Deleted Added
sdiff udiff text old ( 11290:1640dd68b0a4 ) new ( 11317:766c3eb44fd8 )
full compact
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 EtherTap(EtherObject):
86 type = 'EtherTap'
87 cxx_header = "dev/net/ethertap.hh"
88 bufsz = Param.Int(10000, "tap buffer size")
89 dump = Param.EtherDump(NULL, "dump object")
90 port = Param.UInt16(3500, "tap port")
91
92class EtherDump(SimObject):

--- 156 unchanged lines hidden ---