FreeBSD kernel IPv4 code
pim.h File Reference
#include <sys/types.h>
Include dependency graph for pim.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pim
 

Macros

#define pim_ver   pim_vers
 
#define pim_rsv   pim_reserved
 
#define PIM_VERSION   2
 
#define PIM_MINLEN   8 /* PIM message min. length */
 
#define PIM_REG_MINLEN   (PIM_MINLEN+20) /* PIM Register hdr + inner IPv4 hdr */
 
#define PIM6_REG_MINLEN   (PIM_MINLEN+40) /* PIM Register hdr + inner IPv6 hdr */
 
#define PIM_HELLO   0x0 /* PIM-SM and PIM-DM */
 
#define PIM_REGISTER   0x1 /* PIM-SM only */
 
#define PIM_REGISTER_STOP   0x2 /* PIM-SM only */
 
#define PIM_JOIN_PRUNE   0x3 /* PIM-SM and PIM-DM */
 
#define PIM_BOOTSTRAP   0x4 /* PIM-SM only */
 
#define PIM_ASSERT   0x5 /* PIM-SM and PIM-DM */
 
#define PIM_GRAFT   0x6 /* PIM-DM only */
 
#define PIM_GRAFT_ACK   0x7 /* PIM-DM only */
 
#define PIM_CAND_RP_ADV   0x8 /* PIM-SM only */
 
#define PIM_ALL_DF_ELECTION   0xa /* Bidir-PIM-SM only */
 
#define PIM_BORDER_REGISTER   0x80000000U /* The Border bit (host-order) */
 
#define PIM_NULL_REGISTER   0x40000000U /* The Null-Register bit (host-order)*/
 
#define INADDR_ALLPIM_ROUTERS_GROUP   (uint32_t)0xe000000dU /* 224.0.0.13 */
 
#define IN6ADDR_LINKLOCAL_ALLPIM_ROUTERS   "ff02::d"
 
#define IN6ADDR_LINKLOCAL_ALLPIM_ROUTERS_INIT
 

Macro Definition Documentation

◆ IN6ADDR_LINKLOCAL_ALLPIM_ROUTERS

#define IN6ADDR_LINKLOCAL_ALLPIM_ROUTERS   "ff02::d"

Definition at line 116 of file pim.h.

◆ IN6ADDR_LINKLOCAL_ALLPIM_ROUTERS_INIT

#define IN6ADDR_LINKLOCAL_ALLPIM_ROUTERS_INIT
Value:
{{{ 0xff, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, \
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0d }}}

Definition at line 117 of file pim.h.

◆ INADDR_ALLPIM_ROUTERS_GROUP

#define INADDR_ALLPIM_ROUTERS_GROUP   (uint32_t)0xe000000dU /* 224.0.0.13 */

Definition at line 115 of file pim.h.

◆ PIM6_REG_MINLEN

#define PIM6_REG_MINLEN   (PIM_MINLEN+40) /* PIM Register hdr + inner IPv6 hdr */

Definition at line 90 of file pim.h.

◆ PIM_ALL_DF_ELECTION

#define PIM_ALL_DF_ELECTION   0xa /* Bidir-PIM-SM only */

Definition at line 104 of file pim.h.

◆ PIM_ASSERT

#define PIM_ASSERT   0x5 /* PIM-SM and PIM-DM */

Definition at line 100 of file pim.h.

◆ PIM_BOOTSTRAP

#define PIM_BOOTSTRAP   0x4 /* PIM-SM only */

Definition at line 99 of file pim.h.

◆ PIM_BORDER_REGISTER

#define PIM_BORDER_REGISTER   0x80000000U /* The Border bit (host-order) */

Definition at line 109 of file pim.h.

◆ PIM_CAND_RP_ADV

#define PIM_CAND_RP_ADV   0x8 /* PIM-SM only */

Definition at line 103 of file pim.h.

◆ PIM_GRAFT

#define PIM_GRAFT   0x6 /* PIM-DM only */

Definition at line 101 of file pim.h.

◆ PIM_GRAFT_ACK

#define PIM_GRAFT_ACK   0x7 /* PIM-DM only */

Definition at line 102 of file pim.h.

◆ PIM_HELLO

#define PIM_HELLO   0x0 /* PIM-SM and PIM-DM */

Definition at line 95 of file pim.h.

◆ PIM_JOIN_PRUNE

#define PIM_JOIN_PRUNE   0x3 /* PIM-SM and PIM-DM */

Definition at line 98 of file pim.h.

◆ PIM_MINLEN

#define PIM_MINLEN   8 /* PIM message min. length */

Definition at line 88 of file pim.h.

◆ PIM_NULL_REGISTER

#define PIM_NULL_REGISTER   0x40000000U /* The Null-Register bit (host-order)*/

Definition at line 110 of file pim.h.

◆ PIM_REG_MINLEN

#define PIM_REG_MINLEN   (PIM_MINLEN+20) /* PIM Register hdr + inner IPv4 hdr */

Definition at line 89 of file pim.h.

◆ PIM_REGISTER

#define PIM_REGISTER   0x1 /* PIM-SM only */

Definition at line 96 of file pim.h.

◆ PIM_REGISTER_STOP

#define PIM_REGISTER_STOP   0x2 /* PIM-SM only */

Definition at line 97 of file pim.h.

◆ pim_rsv

#define pim_rsv   pim_reserved

Definition at line 79 of file pim.h.

◆ pim_ver

#define pim_ver   pim_vers

Definition at line 78 of file pim.h.

◆ PIM_VERSION

#define PIM_VERSION   2

Definition at line 87 of file pim.h.