
1 changed files with 47 additions and 0 deletions
@ -0,0 +1,47 @@
|
||||
/*
|
||||
* Copyright (C) 2016 HAW Hamburg |
||||
* |
||||
* This file is subject to the terms and conditions of the GNU Lesser |
||||
* General Public License v2.1. See the file LICENSE in the top level |
||||
* directory for more details. |
||||
*/ |
||||
|
||||
/**
|
||||
* @defgroup net_iana IANA Port Numbers |
||||
* @ingroup net |
||||
* @brief Service Name and Transport Protocol Port Number Registry |
||||
* @{ |
||||
* |
||||
* @file |
||||
* @brief Service Name and Transport Protocol Port Number Registry |
||||
* |
||||
* @author smlng <s@mlng.net>, |
||||
*/ |
||||
#ifndef IANA_H_ |
||||
#define IANA_H_ |
||||
|
||||
#ifdef __cplusplus |
||||
extern "C" { |
||||
#endif |
||||
|
||||
/**
|
||||
* @name Port Number Ranges |
||||
* @see <a href="https://tools.ietf.org/html/rfc6335#section-6"> |
||||
* RFC 6335, section 6 |
||||
* </a> |
||||
* @{ |
||||
*/ |
||||
#define IANA_SYSTEM_PORTRANGE_MIN (0U) |
||||
#define IANA_SYSTEM_PORTRANGE_MAX (1023U) |
||||
#define IANA_USER_PORTRANGE_MIN (1024U) |
||||
#define IANA_USER_PORTRANGE_MAX (49151U) |
||||
#define IANA_DYNAMIC_PORTRANGE_MIN (49152U) |
||||
#define IANA_DYNAMIC_PORTRANGE_MAX (65535U) |
||||
/** @} */ |
||||
|
||||
#ifdef __cplusplus |
||||
} |
||||
#endif |
||||
|
||||
#endif /* IANA_H_ */ |
||||
/** @} */ |
Loading…
Reference in new issue