NetSim Source Code Help v14.4
All 13 Components
 
Loading...
Searching...
No Matches
stru_RIPEntry Struct Reference

#include <RIP.h>

Collaboration diagram for stru_RIPEntry:

Data Fields

unsigned int nAddress_family_identifier:16
 This is used to identify the Address family of the IP address.
 
short int RouteTag
 
NETSIM_IPAddress szIPv4_address
 Destination IPv4 address.
 
NETSIM_IPAddress szSubnet_Mask
 Destination Subnet Mask.
 
NETSIM_IPAddress szNext_Hop
 
unsigned int nMetric
 Cost to reach the destination.
 
struct stru_RIPEntrypstru_RIP_NextEntry
 

Detailed Description

The format for the 20-octet route entry (RTE) for
RIP-2 is:
0 1 2 3 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Address Family Identifier (2) | Route Tag (2) |
+-------------------------------+-------------------------------+
| IP Address (4) |
+---------------------------------------------------------------+
| Subnet Mask (4) |
+---------------------------------------------------------------+
| Next Hop (4) |
+---------------------------------------------------------------+
| Metric (4) |
+---------------------------------------------------------------+

Definition at line 128 of file RIP.h.

Field Documentation

◆ nAddress_family_identifier

unsigned int stru_RIPEntry::nAddress_family_identifier

This is used to identify the Address family of the IP address.

Definition at line 130 of file RIP.h.

◆ nMetric

unsigned int stru_RIPEntry::nMetric

Cost to reach the destination.

Definition at line 136 of file RIP.h.

◆ pstru_RIP_NextEntry

struct stru_RIPEntry* stru_RIPEntry::pstru_RIP_NextEntry

Definition at line 137 of file RIP.h.

◆ RouteTag

short int stru_RIPEntry::RouteTag

Definition at line 131 of file RIP.h.

◆ szIPv4_address

NETSIM_IPAddress stru_RIPEntry::szIPv4_address

Destination IPv4 address.

Definition at line 132 of file RIP.h.

◆ szNext_Hop

NETSIM_IPAddress stru_RIPEntry::szNext_Hop

The immediate next hop IP address to which packets to the destination. specified by this route entry should be forwarded

Definition at line 134 of file RIP.h.

◆ szSubnet_Mask

NETSIM_IPAddress stru_RIPEntry::szSubnet_Mask

Destination Subnet Mask.

Definition at line 133 of file RIP.h.


The documentation for this struct was generated from the following file: