CNDP  22.08.0
cnet_route.h File Reference

Go to the source code of this file.

Macros

#define _RTF_UP   0x1
 
#define _RTF_GATEWAY   0x2
 
#define _RTF_HOST   0x4
 
#define _RTF_REJECT   0x8
 
#define _RTF_DYNAMIC   0x10
 
#define _RTF_MODIFIED   0x20
 
#define _RTF_DONE   0x40
 
#define _RTF_MASK   0x80
 
#define _RTF_CLONING   0x100
 
#define _RTF_XRESOLVE   0x200
 
#define _RTF_LLINFO   0x400
 
#define _RTF_STATIC   0x800
 
#define _RTF_BLACKHOLE   0x1000
 
#define _RTF_PROTO1   0x4000
 
#define _RTF_PROTO2   0x8000
 
#define _RTF_PREF   0x10000
 
#define _RTF_SRCADDR   0x20000
 
#define _RTF_MBINDING   0x40000
 
#define _RTF_SKIP   0x80000
 

Detailed Description

CNET Route routines and constants.

Definition in file cnet_route.h.

Macro Definition Documentation

◆ _RTF_UP

#define _RTF_UP   0x1

Route usable

Definition at line 22 of file cnet_route.h.

◆ _RTF_GATEWAY

#define _RTF_GATEWAY   0x2

Destination is reached thru a gateway

Definition at line 23 of file cnet_route.h.

◆ _RTF_HOST

#define _RTF_HOST   0x4

Host entry (net otherwise)

Definition at line 24 of file cnet_route.h.

◆ _RTF_REJECT

#define _RTF_REJECT   0x8

Host or net unreachable

Definition at line 25 of file cnet_route.h.

◆ _RTF_DYNAMIC

#define _RTF_DYNAMIC   0x10

Created dynamically

Definition at line 26 of file cnet_route.h.

◆ _RTF_MODIFIED

#define _RTF_MODIFIED   0x20

Modified dynamically

Definition at line 27 of file cnet_route.h.

◆ _RTF_DONE

#define _RTF_DONE   0x40

Message confirmed

Definition at line 28 of file cnet_route.h.

◆ _RTF_MASK

#define _RTF_MASK   0x80

Subnet mask present

Definition at line 29 of file cnet_route.h.

◆ _RTF_CLONING

#define _RTF_CLONING   0x100

Generate new routes on use

Definition at line 30 of file cnet_route.h.

◆ _RTF_XRESOLVE

#define _RTF_XRESOLVE   0x200

External daemon resolves name

Definition at line 31 of file cnet_route.h.

◆ _RTF_LLINFO

#define _RTF_LLINFO   0x400

Generated by IPv4 ARP or IPv6 NDP

Definition at line 32 of file cnet_route.h.

◆ _RTF_STATIC

#define _RTF_STATIC   0x800

Manually added

Definition at line 33 of file cnet_route.h.

◆ _RTF_BLACKHOLE

#define _RTF_BLACKHOLE   0x1000

Just discard pkts (during updates)

Definition at line 34 of file cnet_route.h.

◆ _RTF_PROTO1

#define _RTF_PROTO1   0x4000

protocol specific routing flag #1

Definition at line 35 of file cnet_route.h.

◆ _RTF_PROTO2

#define _RTF_PROTO2   0x8000

protocol specific routing flag #2

Definition at line 36 of file cnet_route.h.

◆ _RTF_PREF

#define _RTF_PREF   0x10000

Add route first, no ECMP

Definition at line 37 of file cnet_route.h.

◆ _RTF_SRCADDR

#define _RTF_SRCADDR   0x20000

gateway field specifies src addr

Definition at line 38 of file cnet_route.h.

◆ _RTF_MBINDING

#define _RTF_MBINDING   0x40000

This route is part of multiple binding

Definition at line 39 of file cnet_route.h.

◆ _RTF_SKIP

#define _RTF_SKIP   0x80000

Treat route as a lookup failure

Definition at line 40 of file cnet_route.h.