inet.cc (11320:42ecb523c64a) inet.cc (11793:ef606668d247)
1/*
2 * Copyright (c) 2013 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

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

38 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 *
41 * Authors: Nathan Binkert
42 * Gabe Black
43 * Geoffrey Blake
44 */
45
1/*
2 * Copyright (c) 2013 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

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

38 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
39 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 *
41 * Authors: Nathan Binkert
42 * Gabe Black
43 * Geoffrey Blake
44 */
45
46#include "base/inet.hh"
47
46#include <cstddef>
47#include <cstdio>
48#include <sstream>
49#include <string>
50
51#include "base/cprintf.hh"
48#include <cstddef>
49#include <cstdio>
50#include <sstream>
51#include <string>
52
53#include "base/cprintf.hh"
52#include "base/inet.hh"
53#include "base/types.hh"
54
55using namespace std;
56namespace Net {
57
58EthAddr::EthAddr()
59{
60 memset(data, 0, ETH_ADDR_LEN);

--- 348 unchanged lines hidden ---
54#include "base/types.hh"
55
56using namespace std;
57namespace Net {
58
59EthAddr::EthAddr()
60{
61 memset(data, 0, ETH_ADDR_LEN);

--- 348 unchanged lines hidden ---