OLD | NEW |
1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari | 3 * Copyright (c) 2010 TELEMATICS LAB, DEE - Politecnico di Bari |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 30 matching lines...) Expand all Loading... |
41 LteMacHeader::GetInstanceTypeId (void) const | 41 LteMacHeader::GetInstanceTypeId (void) const |
42 { | 42 { |
43 return GetTypeId (); | 43 return GetTypeId (); |
44 } | 44 } |
45 | 45 |
46 | 46 |
47 | 47 |
48 uint32_t | 48 uint32_t |
49 LteMacHeader::GetSerializedSize (void) const | 49 LteMacHeader::GetSerializedSize (void) const |
50 { | 50 { |
51 return 13; | 51 return 12; |
52 } | 52 } |
53 | 53 |
54 | 54 |
55 | 55 |
56 void | 56 void |
57 LteMacHeader::Serialize (Buffer::Iterator start) const | 57 LteMacHeader::Serialize (Buffer::Iterator start) const |
58 { | 58 { |
59 WriteTo (start, m_destination); | 59 WriteTo (start, m_destination); |
60 WriteTo (start, m_source); | 60 WriteTo (start, m_source); |
61 } | 61 } |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 { | 100 { |
101 return m_destination; | 101 return m_destination; |
102 } | 102 } |
103 | 103 |
104 | 104 |
105 | 105 |
106 | 106 |
107 } // namespace ns3 | 107 } // namespace ns3 |
108 | 108 |
109 | 109 |
OLD | NEW |