Model Interfaces: RIP
Packet Formats
The following table lists the packet formats used in the RIP model suite.
Table 183: RIP Packet Formats
| name | description |
|---|---|
rip_message2 |
Represents a RIP routing update message used to build and update the RIP routing tables. It carries the entire, or part of the routing table. |
udp_dgram_v2 |
Represents a UDP datagram that is used to encapsulate higher layer data. It carries control fields such as source and destination port information. |
ICI Formats
The following table lists the interface control information (ICI) formats used in the RIP model suite.
Table 184: RIP ICI Formats
| name | description |
|---|---|
udp_command_v3 |
The application layer processes (including RIP) use this ICI format in conjunction with packet transfers to the UDP process. It carries remote net, node, and port information, as well as the local port for the application. |
ip_encap_ind_v4 |
The lower level (network layer) protocols forward packets to UDP accompanied by this ICI. It contains information about the source network and source node of the arriving packet. |
ip_encap_reg_v4 |
The UDP process uses this format to specify the destination network and node information to the Network Layer. The ICI always accompanies (installed with) a packet transfer. |
UDP Commands
The interface between UDP and the application is based on commands issued by the application to UDP. The commands are identified by symbolic constants defined in the C header file udp_api.h; any applications that interact with UDP should refer to this file to obtain these definitions.
Commands take the form of remote interrupts or stream interrupts issued by the application to the UDP process. All commands must be accompanied by an ICI of type udp_command_v3, described earlier.
Table 185: UDP Commands
| command | description |
|---|---|
CREATE_PORT |
The application issues a CREATE PORT command to the UDP module to register a local port with UDP. |
SEND |
The application issues a SEND command to the UDP module to send a packet to the peer application. This is performed by sending a data packet to the UDP module. |