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) 2013 Universita' di Firenze, Italy | 3 * Copyright (c) 2013 Universita' di Firenze, Italy |
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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 class SixLowPanHc1 : public Header | 133 class SixLowPanHc1 : public Header |
134 { | 134 { |
135 public: | 135 public: |
136 /** | 136 /** |
137 * \brief Kind of address compression. | 137 * \brief Kind of address compression. |
138 * | 138 * |
139 * The address compression is handled in 4 bits and might mean: | 139 * The address compression is handled in 4 bits and might mean: |
140 * PI: Prefix inline, PC: Prefix Compressed, | 140 * PI: Prefix inline, PC: Prefix Compressed, |
141 * II: Interface Identifier, Inline, IC: Interface Identifier Compressed. | 141 * II: Interface Identifier, Inline, IC: Interface Identifier Compressed. |
142 */ | 142 */ |
143 enum LowPanHc1Addr_e | 143 enum LowPanHc1Addr_e : uint8_t |
144 { | 144 { |
145 HC1_PIII = 0x00, | 145 HC1_PIII = 0x00, |
146 HC1_PIIC = 0x01, | 146 HC1_PIIC = 0x01, |
147 HC1_PCII = 0x02, | 147 HC1_PCII = 0x02, |
148 HC1_PCIC = 0x03 | 148 HC1_PCIC = 0x03 |
149 }; | 149 }; |
150 | 150 |
151 /** | 151 /** |
152 * \brief Next header information. | 152 * \brief Next header information. |
153 * | 153 * |
(...skipping 1080 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1234 * | 1234 * |
1235 * \param [in] os The reference to the output stream. | 1235 * \param [in] os The reference to the output stream. |
1236 * \param [in] header The UDP NHC Extension Header. | 1236 * \param [in] header The UDP NHC Extension Header. |
1237 * \returns The reference to the output stream. | 1237 * \returns The reference to the output stream. |
1238 */ | 1238 */ |
1239 std::ostream & operator<< (std::ostream & os, SixLowPanUdpNhcExtension const &he
ader); | 1239 std::ostream & operator<< (std::ostream & os, SixLowPanUdpNhcExtension const &he
ader); |
1240 | 1240 |
1241 } | 1241 } |
1242 | 1242 |
1243 #endif /* SIXLOWPANHEADER_H_ */ | 1243 #endif /* SIXLOWPANHEADER_H_ */ |
OLD | NEW |