UbixOS  2.0
autoip.h File Reference

Go to the source code of this file.

Macros

#define ANNOUNCE_INTERVAL   2 /* seconds (time between announcement packets) */
 
#define ANNOUNCE_NUM   2 /* (number of announcement packets) */
 
#define ANNOUNCE_WAIT   2 /* seconds (delay before announcing) */
 
#define AUTOIP_NET   0xA9FE0000
 
#define AUTOIP_RANGE_END   (AUTOIP_NET | 0xFEFF)
 
#define AUTOIP_RANGE_START   (AUTOIP_NET | 0x0100)
 
#define DEFEND_INTERVAL   10 /* seconds (min. wait between defensive ARPs) */
 
#define MAX_CONFLICTS   10 /* (max conflicts before rate limiting) */
 
#define PROBE_MAX   2 /* seconds (maximum delay till repeated probe) */
 
#define PROBE_MIN   1 /* second (minimum delay till repeated probe) */
 
#define PROBE_NUM   3 /* (number of probe packets) */
 
#define PROBE_WAIT   1 /* second (initial random delay) */
 
#define RATE_LIMIT_INTERVAL   60 /* seconds (delay between successive attempts) */
 

Enumerations

enum  autoip_state_enum_t { AUTOIP_STATE_OFF = 0, AUTOIP_STATE_PROBING = 1, AUTOIP_STATE_ANNOUNCING = 2, AUTOIP_STATE_BOUND = 3 }
 

Detailed Description

AutoIP protocol definitions

Definition in file autoip.h.

Macro Definition Documentation

◆ ANNOUNCE_INTERVAL

#define ANNOUNCE_INTERVAL   2 /* seconds (time between announcement packets) */

Definition at line 60 of file autoip.h.

◆ ANNOUNCE_NUM

#define ANNOUNCE_NUM   2 /* (number of announcement packets) */

Definition at line 59 of file autoip.h.

◆ ANNOUNCE_WAIT

#define ANNOUNCE_WAIT   2 /* seconds (delay before announcing) */

Definition at line 61 of file autoip.h.

◆ AUTOIP_NET

#define AUTOIP_NET   0xA9FE0000

Definition at line 48 of file autoip.h.

◆ AUTOIP_RANGE_END

#define AUTOIP_RANGE_END   (AUTOIP_NET | 0xFEFF)

Definition at line 52 of file autoip.h.

◆ AUTOIP_RANGE_START

#define AUTOIP_RANGE_START   (AUTOIP_NET | 0x0100)

Definition at line 50 of file autoip.h.

◆ DEFEND_INTERVAL

#define DEFEND_INTERVAL   10 /* seconds (min. wait between defensive ARPs) */

Definition at line 64 of file autoip.h.

◆ MAX_CONFLICTS

#define MAX_CONFLICTS   10 /* (max conflicts before rate limiting) */

Definition at line 62 of file autoip.h.

◆ PROBE_MAX

#define PROBE_MAX   2 /* seconds (maximum delay till repeated probe) */

Definition at line 57 of file autoip.h.

◆ PROBE_MIN

#define PROBE_MIN   1 /* second (minimum delay till repeated probe) */

Definition at line 56 of file autoip.h.

◆ PROBE_NUM

#define PROBE_NUM   3 /* (number of probe packets) */

Definition at line 58 of file autoip.h.

◆ PROBE_WAIT

#define PROBE_WAIT   1 /* second (initial random delay) */

Definition at line 55 of file autoip.h.

◆ RATE_LIMIT_INTERVAL

#define RATE_LIMIT_INTERVAL   60 /* seconds (delay between successive attempts) */

Definition at line 63 of file autoip.h.

Enumeration Type Documentation

◆ autoip_state_enum_t

Enumerator
AUTOIP_STATE_OFF 
AUTOIP_STATE_PROBING 
AUTOIP_STATE_ANNOUNCING 
AUTOIP_STATE_BOUND 

Definition at line 67 of file autoip.h.