Prusa MINI Firmware overview
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

◆ AUTOIP_NET

#define AUTOIP_NET   0xA9FE0000

◆ AUTOIP_RANGE_START

#define AUTOIP_RANGE_START   (AUTOIP_NET | 0x0100)

◆ AUTOIP_RANGE_END

#define AUTOIP_RANGE_END   (AUTOIP_NET | 0xFEFF)

◆ PROBE_WAIT

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

◆ PROBE_MIN

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

◆ PROBE_MAX

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

◆ PROBE_NUM

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

◆ ANNOUNCE_NUM

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

◆ ANNOUNCE_INTERVAL

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

◆ ANNOUNCE_WAIT

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

◆ MAX_CONFLICTS

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

◆ RATE_LIMIT_INTERVAL

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

◆ DEFEND_INTERVAL

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

Enumeration Type Documentation

◆ autoip_state_enum_t

Enumerator
AUTOIP_STATE_OFF 
AUTOIP_STATE_PROBING 
AUTOIP_STATE_ANNOUNCING 
AUTOIP_STATE_BOUND 
AUTOIP_STATE_PROBING
Definition: autoip.h:69
autoip_state_enum_t
autoip_state_enum_t
Definition: autoip.h:67
AUTOIP_STATE_OFF
Definition: autoip.h:68
AUTOIP_STATE_BOUND
Definition: autoip.h:71
AUTOIP_STATE_ANNOUNCING
Definition: autoip.h:70