Quering next hop interface.

From: Yung Yi (yiyung@mail.utexas.edu)
Date: Tue Jul 29 2003 - 16:08:53 EST


Dear all,

In setting of linux as a router having, let's say, 4 network interfaces,
let's assume that a packet is captured at the user-level process using the
libpcap library.

Given this packet (destination ip address of this packet),
is there any use-level system call or method for quering and knowing the
outgoing interface of this packet?
This is related with looking up the routing table at user-level.

- Yung Yi.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:02 EST