Deleted Added
sdiff udiff text old ( 12011:1279b1d30ccd ) new ( 12035:7b8e1b36875d )
full compact
1/*
2 * Copyright (c) 2017 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 32 unchanged lines hidden (view full) ---

41 * Authors: Nathan Binkert
42 * Steve Reinhardt
43 * Gabe Black
44 * Andreas Sandberg
45 */
46
47#include "pybind11/pybind11.h"
48
49#include <ctime>
50
51#include "base/addr_range.hh"
52#include "base/inet.hh"
53#include "base/misc.hh"
54#include "base/random.hh"
55#include "base/socket.hh"
56#include "base/types.hh"

--- 101 unchanged lines hidden (view full) ---

158 .def("valid", &AddrRange::valid)
159 .def("start", &AddrRange::start)
160 .def("end", &AddrRange::end)
161 .def("mergesWith", &AddrRange::mergesWith)
162 .def("intersects", &AddrRange::intersects)
163 .def("isSubset", &AddrRange::isSubset)
164 ;
165
166 m.def("RangeEx", &RangeEx);
167 m.def("RangeIn", &RangeIn);
168 m.def("RangeSize", &RangeSize);
169}
170
171static void
172init_net(py::module &m_native)
173{

--- 100 unchanged lines hidden ---