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) 2007-2008 Louis Pasteur University | 3 * Copyright (c) 2007-2008 Louis Pasteur University |
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 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 * \brief If the Address matches the type. | 262 * \brief If the Address matches the type. |
263 * \param address other address | 263 * \param address other address |
264 * \return true if the type matches, false otherwise | 264 * \return true if the type matches, false otherwise |
265 */ | 265 */ |
266 static bool IsMatchingType (const Address& address); | 266 static bool IsMatchingType (const Address& address); |
267 | 267 |
268 /** | 268 /** |
269 * \brief If the address is an IPv4-mapped address | 269 * \brief If the address is an IPv4-mapped address |
270 * \return true if address is an IPv4-mapped address, otherwise false. | 270 * \return true if address is an IPv4-mapped address, otherwise false. |
271 */ | 271 */ |
272 bool IsIpv4MappedAddress(); | 272 bool IsIpv4MappedAddress() const; |
273 | 273 |
274 /** | 274 /** |
275 * \brief Convert to Address object | 275 * \brief Convert to Address object |
276 */ | 276 */ |
277 operator Address () const; | 277 operator Address () const; |
278 | 278 |
279 /** | 279 /** |
280 * \brief Convert the Address object into an Ipv6Address ones. | 280 * \brief Convert the Address object into an Ipv6Address ones. |
281 * \param address address to convert | 281 * \param address address to convert |
282 * \return an Ipv6Address | 282 * \return an Ipv6Address |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 * \param x IPv6 address to hash | 591 * \param x IPv6 address to hash |
592 * \returns the hash of the address | 592 * \returns the hash of the address |
593 */ | 593 */ |
594 size_t operator () (Ipv6Address const &x) const; | 594 size_t operator () (Ipv6Address const &x) const; |
595 }; | 595 }; |
596 | 596 |
597 } /* namespace ns3 */ | 597 } /* namespace ns3 */ |
598 | 598 |
599 #endif /* IPV6_ADDRESS_H */ | 599 #endif /* IPV6_ADDRESS_H */ |
600 | 600 |
OLD | NEW |