ConOpSys V2970  P004.07
ANVILEX control operating system
Macros | Enumerations
autoip.h File Reference

Go to the source code of this file.

Macros

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

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

Macro Definition Documentation

◆ ANNOUNCE_INTERVAL

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

◆ ANNOUNCE_NUM

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

◆ ANNOUNCE_WAIT

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

◆ AUTOIP_NET

#define AUTOIP_NET   0xA9FE0000

◆ AUTOIP_RANGE_END

#define AUTOIP_RANGE_END   (AUTOIP_NET | 0xFEFF)

◆ AUTOIP_RANGE_START

#define AUTOIP_RANGE_START   (AUTOIP_NET | 0x0100)

◆ DEFEND_INTERVAL

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

◆ MAX_CONFLICTS

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

◆ PROBE_MAX

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

◆ PROBE_MIN

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

◆ PROBE_NUM

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

◆ PROBE_WAIT

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

◆ RATE_LIMIT_INTERVAL

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

Enumeration Type Documentation

◆ autoip_state_enum_t

Enumerator
AUTOIP_STATE_OFF 
AUTOIP_STATE_PROBING 
AUTOIP_STATE_ANNOUNCING 
AUTOIP_STATE_BOUND