inet.hh (7778:6a7207241112) | inet.hh (7811:a8fc35183c10) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2010 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 458 unchanged lines hidden (view full) --- 467 int off() const { return _off; } 468 int pstart() const { return off() + get()->size(); } 469}; 470 471uint16_t cksum(const UdpPtr &ptr); 472 473int hsplit(const EthPacketPtr &ptr); 474 | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * Copyright (c) 2010 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 458 unchanged lines hidden (view full) --- 467 int off() const { return _off; } 468 int pstart() const { return off() + get()->size(); } 469}; 470 471uint16_t cksum(const UdpPtr &ptr); 472 473int hsplit(const EthPacketPtr &ptr); 474 |
475/* namespace Net */ } | 475} // namespace Net |
476 477#endif // __BASE_INET_HH__ | 476 477#endif // __BASE_INET_HH__ |