272 void SendErrorParameterError (Ptr<Packet> malformedPacket, Ipv6Address dst, uint8_t code, uint32_t ptr); |
272 void SendErrorParameterError (Ptr<Packet> malformedPacket, Ipv6Address dst, uint8_t code, uint32_t ptr); |
273 |
273 |
274 /** |
274 /** |
275 * \brief Send an ICMPv6 Redirection. |
275 * \brief Send an ICMPv6 Redirection. |
276 * \param redirectedPacket the redirected packet |
276 * \param redirectedPacket the redirected packet |
277 * \param dst destination IPv6 address |
277 * \param src IPv6 address to send the redirect from |
|
278 * \param dst IPv6 address to send the redirect to |
278 * \param redirTarget IPv6 target address for Icmpv6Redirection |
279 * \param redirTarget IPv6 target address for Icmpv6Redirection |
279 * \param redirDestination IPv6 destination address for Icmpv6Redirection |
280 * \param redirDestination IPv6 destination address for Icmpv6Redirection |
280 * \param redirHardwareTarget L2 target address for Icmpv6OptionRdirected |
281 * \param redirHardwareTarget L2 target address for Icmpv6OptionRdirected |
281 */ |
282 */ |
282 void SendRedirection (Ptr<Packet> redirectedPacket, Ipv6Address dst, Ipv6Address redirTarget, Ipv6Address redirDestination, Address redirHardwareTarget); |
283 void SendRedirection (Ptr<Packet> redirectedPacket, Ipv6Address src, Ipv6Address dst, Ipv6Address redirTarget, Ipv6Address redirDestination, Address redirHardwareTarget); |
283 |
284 |
284 /** |
285 /** |
285 * \brief Forge a Neighbor Solicitation. |
286 * \brief Forge a Neighbor Solicitation. |
286 * \param src source IPv6 address |
287 * \param src source IPv6 address |
287 * \param dst destination IPv6 address |
288 * \param dst destination IPv6 address |