inet.cc (10252:c625a3c51bac) inet.cc (11320:42ecb523c64a)
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

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

369 vec.push_back(opt);
370 all -= len;
371 data += len;
372 }
373
374 return true;
375}
376
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

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

369 vec.push_back(opt);
370 all -= len;
371 data += len;
372 }
373
374 return true;
375}
376
377int
377int
378hsplit(const EthPacketPtr &ptr)
379{
380 int split_point = 0;
381
382 IpPtr ip(ptr);
383 Ip6Ptr ip6(ptr);
384 if (ip) {
385 split_point = ip.pstart();

--- 23 unchanged lines hidden ---
378hsplit(const EthPacketPtr &ptr)
379{
380 int split_point = 0;
381
382 IpPtr ip(ptr);
383 Ip6Ptr ip6(ptr);
384 if (ip) {
385 split_point = ip.pstart();

--- 23 unchanged lines hidden ---