1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/include/net/iana/portrange.h

48 lines
1.1 KiB
C

/*
* 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_portrange IANA Port Ranges
* @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 NET_IANA_PORTRANGE_H
#define NET_IANA_PORTRANGE_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 /* NET_IANA_PORTRANGE_H */
/** @} */