Hi,
While sending a datagram the IP_PKTINFO IP option allows to set the source IP
address and the output interface of the outgoing packet.
The option allows only the valid interface IP addresses (due to a check in
ip_route_output_slow()) of the machine to be specified as source IP address.
1. I am wondering if we can allow any valid source IP address to be specified as
source IP address?
2. The output interface should be specified as an interface index, which I
assume is internal to kernel. Is there a way to know the interface index from
user space?
- Harendra
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:18 EST