equal
deleted
inserted
replaced
72 virtual ~Ipv6StaticRouting (); |
72 virtual ~Ipv6StaticRouting (); |
73 |
73 |
74 /** |
74 /** |
75 * \brief Add route to host. |
75 * \brief Add route to host. |
76 * \param dest destination address |
76 * \param dest destination address |
77 * \param nextHop next hop address to route the packet. Must be a link-local address |
77 * \param nextHop next hop address to route the packet. |
78 * \param interface interface index |
78 * \param interface interface index |
79 * \param prefixToUse prefix that should be used for source address for this destination |
79 * \param prefixToUse prefix that should be used for source address for this destination |
80 * \param metric metric of route in case of multiple routes to same destination |
80 * \param metric metric of route in case of multiple routes to same destination |
81 */ |
81 */ |
82 void AddHostRouteTo (Ipv6Address dest, Ipv6Address nextHop, uint32_t interface, Ipv6Address prefixToUse = Ipv6Address ("::"), uint32_t metric = 0); |
82 void AddHostRouteTo (Ipv6Address dest, Ipv6Address nextHop, uint32_t interface, Ipv6Address prefixToUse = Ipv6Address ("::"), uint32_t metric = 0); |
101 |
101 |
102 /** |
102 /** |
103 * \brief Add route to network. |
103 * \brief Add route to network. |
104 * \param network network address |
104 * \param network network address |
105 * \param networkPrefix network prefix* |
105 * \param networkPrefix network prefix* |
106 * \param nextHop next hop address to route the packet. Must be a link-local address |
106 * \param nextHop next hop address to route the packet. |
107 * \param interface interface index |
107 * \param interface interface index |
108 * \param prefixToUse prefix that should be used for source address for this destination |
108 * \param prefixToUse prefix that should be used for source address for this destination |
109 * \param metric metric of route in case of multiple routes to same destination |
109 * \param metric metric of route in case of multiple routes to same destination |
110 */ |
110 */ |
111 void AddNetworkRouteTo (Ipv6Address network, Ipv6Prefix networkPrefix, Ipv6Address nextHop, uint32_t interface, Ipv6Address prefixToUse, uint32_t metric = 0); |
111 void AddNetworkRouteTo (Ipv6Address network, Ipv6Prefix networkPrefix, Ipv6Address nextHop, uint32_t interface, Ipv6Address prefixToUse, uint32_t metric = 0); |