ioctl & ip tunnel

Eric Kluft (
Wed, 22 Dec 1999 00:07:05 +0100

If i create a tunnel with this command:
ip tunnel add gre2 mode gre remote x.x.x.x local y.y.y.y dev eth1 ttl 20
is there an ioctl call which allows me to get the remote ip address (like

I need this to know on which adapter an ip4 mcast frame was received.

Thank you for your help,

To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to