Searched refs:IpAddress (Results 1 - 4 of 4) sorted by relevance

/gem5/src/base/
H A Dinet.hh193 struct IpAddress struct in namespace:Net
199 IpAddress() : _ip(0) function in struct:Net::IpAddress
201 IpAddress(const uint32_t __ip) : _ip(__ip) function in struct:Net::IpAddress
209 std::ostream &operator<<(std::ostream &stream, const IpAddress &ia);
210 bool operator==(const IpAddress &left, const IpAddress &right);
212 struct IpNetmask : public IpAddress
218 IpNetmask() : IpAddress(), _netmask(0)
221 IpAddress(__ip), _netmask(__netmask)
232 struct IpWithPort : public IpAddress
[all...]
H A Dinet.cc141 IpAddress::string() const
149 operator==(const IpAddress &left, const IpAddress &right)
155 operator<<(ostream &stream, const IpAddress &ia)
182 ccprintf(stream, "%s/%d", (const IpAddress &)in, in.netmask());
203 ccprintf(stream, "%s:%d", (const IpAddress &)iwp, iwp.port());
/gem5/src/python/pybind11/
H A Dcore.cc189 py::class_<Net::IpAddress>(m, "IpAddress")
194 py::class_<Net::IpNetmask, Net::IpAddress>(m, "IpNetmask")
199 py::class_<Net::IpWithPort, Net::IpAddress>(m, "IpWithPort")
/gem5/src/python/m5/
H A Dparams.py1006 # When initializing an IpAddress, pass in an existing IpAddress, a string of
1008 class IpAddress(ParamValue): class in inherits:ParamValue
1009 cxx_type = 'Net::IpAddress'
1018 if isinstance(value, IpAddress):
1036 if isinstance(other, IpAddress):
1054 from _m5.net import IpAddress
1055 return IpAddress(self.ip)
1060 class IpNetmask(IpAddress):
1134 class IpWithPort(IpAddress)
[all...]

Completed in 16 milliseconds