Searched refs:netmask (Results 1 - 6 of 6) sorted by relevance
/gem5/util/dist/test/ |
H A D | simple_bootscript.rcS | 72 /sbin/ifconfig eth0 192.168.0.${MY_ADDR} netmask 255.255.255.0 up
|
/gem5/src/python/m5/util/ |
H A D | convert.py | 215 (ip, netmask) = value.split('/') 217 netmaskParts = netmask.split('.') 219 if not 0 <= int(netmask) <= 32: 220 raise ValueError('invalid netmask %s' % netmask) 221 return (ip, int(netmask)) 223 netmaskNum = toIpAddress(netmask) 231 raise ValueError('invalid netmask %s' % netmask) 233 raise ValueError('invalid netmask [all...] |
/gem5/src/base/ |
H A D | inet.cc | 176 (left.netmask() == right.netmask()); 182 ccprintf(stream, "%s/%d", (const IpAddress &)in, in.netmask());
|
H A D | inet.hh | 224 uint8_t netmask() const { return _netmask; } function in struct:Net::IpNetmask
|
/gem5/util/tap/ |
H A D | tap.cc | 243 bpf_u_int32 localnet, netmask; local 244 if (pcap_lookupnet(device, &localnet, &netmask, errbuf) == -1) { 246 netmask = 0xffffff00; 249 if (pcap_compile(pcap, &program, filter, 1, netmask) == -1)
|
/gem5/src/python/m5/ |
H A D | params.py | 1058 # the form "a.b.c.d/n" or "a.b.c.d/e.f.g.h", or an ip and netmask as 1080 handle_kwarg(self, kwargs, 'netmask') 1084 if not 'ip' in kwargs and not 'netmask' in kwargs: 1087 handle_kwarg(self, kwargs, 'netmask', args[0]) 1090 self.netmask = args[0].netmask 1092 (self.ip, self.netmask) = convert.toIpNetmask(args[0]) 1096 self.netmask = args[1] 1110 return "%s/%d" % (super(IpNetmask, self).__str__(), self.netmask) 1114 return self.ip == other.ip and self.netmask [all...] |
Completed in 20 milliseconds