lkml.org 
[lkml]   [2000]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectIP_PKTINFO IP option


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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.024 / U:1.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site