doc/manual/routing.texi
changeset 4372 d99061f1167c
parent 4024 dfd0bc16dc99
child 4415 f7f93b5b8431
equal deleted inserted replaced
4371:d942c257847d 4372:d99061f1167c
    74    * ipHeader.GetDestination ()).  The routing protocol is also
    74    * ipHeader.GetDestination ()).  The routing protocol is also
    75    * allowed to add a new header to the packet, which will appear
    75    * allowed to add a new header to the packet, which will appear
    76    * immediately after the IP header, although most routing do not
    76    * immediately after the IP header, although most routing do not
    77    * insert any extra header.
    77    * insert any extra header.
    78    */
    78    */
    79   virtual bool RequestRoute (uint32_t ifIndex,
    79   virtual bool RequestRoute (uint32_t interface,
    80                              const Ipv4Header &ipHeader,
    80                              const Ipv4Header &ipHeader,
    81                              Ptr<Packet> packet,
    81                              Ptr<Packet> packet,
    82                              RouteReplyCallback routeReply) = 0;
    82                              RouteReplyCallback routeReply) = 0;
    83 @end verbatim
    83 @end verbatim
    84 
    84 
   116 @subsection Ipv4L3Protocol::Lookup
   116 @subsection Ipv4L3Protocol::Lookup
   117 
   117 
   118 The main function for obtaining a route is shown below:  
   118 The main function for obtaining a route is shown below:  
   119 @verbatim
   119 @verbatim
   120 Ipv4L3Protocol::Lookup (
   120 Ipv4L3Protocol::Lookup (
   121   uint32_t ifIndex,
   121   uint32_t interface,
   122   Ipv4Header const &ipHeader,
   122   Ipv4Header const &ipHeader,
   123   Ptr<Packet> packet,
   123   Ptr<Packet> packet,
   124   Ipv4RoutingProtocol::RouteReplyCallback routeReply)
   124   Ipv4RoutingProtocol::RouteReplyCallback routeReply)
   125 @end verbatim
   125 @end verbatim
   126 
   126