mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-31 17:31:18 +01:00
collected all ICMP type definitions in one header
This commit is contained in:
parent
267053042e
commit
c989d2147e
@ -28,7 +28,6 @@
|
||||
#define STORING_MODE_MC 0x03
|
||||
|
||||
/* ICMP type */
|
||||
#define ICMP_RPL_CONTROL 155
|
||||
#define RPL_SEQUENCE_WINDOW 16
|
||||
#define ICMP_CODE_DIS 0x00
|
||||
#define ICMP_CODE_DIO 0x01
|
||||
|
||||
@ -31,7 +31,6 @@
|
||||
#include "sys/net/destiny/socket.h"
|
||||
#include "sys/net/net_help/net_help.h"
|
||||
#include "sys/net/net_help/msg_help.h"
|
||||
#include "sys/net/sixlowpan/rpl/rpl.h"
|
||||
|
||||
uint8_t ip_send_buffer[BUFFER_SIZE];
|
||||
uint8_t buffer[BUFFER_SIZE];
|
||||
|
||||
@ -47,14 +47,6 @@
|
||||
#define NBR_ADV_FLAG_R (0x80)
|
||||
#define NBR_ADV_FLAG_S (0x40)
|
||||
#define NBR_ADV_FLAG_O (0x20)
|
||||
/* icmp message types rfc4443 */
|
||||
#define ICMP_PARA_PROB (4)
|
||||
/* icmp message types rfc4861 4.*/
|
||||
#define ICMP_RTR_ADV (134)
|
||||
#define ICMP_RTR_SOL (133)
|
||||
#define ICMP_NBR_ADV (136)
|
||||
#define ICMP_NBR_SOL (135)
|
||||
#define ICMP_REDIRECT (137) /* will be filtered out by the border router */
|
||||
/* stllao option rfc4861 4.6.1 */
|
||||
#define OPT_STLLAO_MIN_LEN (8)
|
||||
#define OPT_STLLAO_MAX_LEN (16)
|
||||
|
||||
@ -45,6 +45,16 @@
|
||||
|
||||
#define LOWPAN_REAS_BUF_TIMEOUT (15 * 1000 * 1000) /* TODO: Set back to 3 * 1000 * (1000) */
|
||||
|
||||
/* icmp message types rfc4443 */
|
||||
#define ICMP_PARA_PROB (4)
|
||||
/* icmp message types rfc4861 4.*/
|
||||
#define ICMP_RTR_ADV (134)
|
||||
#define ICMP_RTR_SOL (133)
|
||||
#define ICMP_NBR_ADV (136)
|
||||
#define ICMP_NBR_SOL (135)
|
||||
#define ICMP_REDIRECT (137) /* will be filtered out by the border router */
|
||||
#define ICMP_RPL_CONTROL (155)
|
||||
|
||||
#include "transceiver.h"
|
||||
#include "sixlowip.h"
|
||||
#include "vtimer.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user