tf6UserSendNeighSolicit
Table of Contents >> IPv6 Programmer's Reference
| #include <trsocket.h> |
| int tf6UserSendNeighSolicit | ( |
| ttUserInterface interfaceHandle, | |
| struct in6_addr TM_FAR * targIpAddrPtr, | |
| struct in6_addr TM_FAR * srcAddrPtr, | |
| struct in6_addr TM_FAR * destAddrPtr | |
| ); |
Function Description
Send an IPv6 Neighbor Discovery solicitation (address resolution request).
Parameters
- interfaceHandle
- This is the interface handle which identifies the network.
- targIpAddrPtr
- Pointer to the IPv6 target address of the solicitation. This memory is used to hold this information and must be allocated by the caller (i.e. reside in the caller's address space).
- srcAddrPtr
- Pointer to the IPv6 source address to send advertisement from. This memory is used to hold this information and must be allocated by the caller (i.e. reside in the caller's address space).
- destAddrPtr
- Pointer to the IPv6 destination address to send advertisement to. This memory is used to hold this information and must be allocated by the caller (i.e. reside in the caller's address space).
Returns
- TM_ENOERROR
- Success.
- TM_EINVAL
- Invalid argument(s).
- TM_EHOSTUNREACH
- The IPv6 destination address cannot be reached.
- TM_ENOBUFS
- Treck was unable to allocate the memory required for the operation.