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

#include <RIP.h>

Collaboration diagram for stru_NetSim_RIP_Packet:

Data Fields

RIP_COMMAND command
 
unsigned int nVersion:8
 The version field is used to specify the RIP version (version 1 or 2)
 
struct stru_RIPEntrypstruRIPEntry
 

Detailed Description

RIP packet structure. RFC 2453 November 1998 Pages : 20,21
The RIP packet format is:
0 1 2 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| command (1) | version (1) | must be zero (2) |
+---------------+---------------+-------------------------------+
| |
~ RIP Entry (20) ~
| |
+---------------+---------------+---------------+---------------+
RIP_COMMAND command
Definition RIP.h:102

Definition at line 100 of file RIP.h.

Field Documentation

◆ command

RIP_COMMAND stru_NetSim_RIP_Packet::command

The command field is used to specify the purpose of this message.
If it is 1-->request message, 2-->response message

Definition at line 102 of file RIP.h.

◆ nVersion

unsigned int stru_NetSim_RIP_Packet::nVersion

The version field is used to specify the RIP version (version 1 or 2)

Definition at line 104 of file RIP.h.

◆ pstruRIPEntry

struct stru_RIPEntry* stru_NetSim_RIP_Packet::pstruRIPEntry

Definition at line 105 of file RIP.h.


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