diff options
author | Timo Teras <timo.teras@iki.fi> | 2007-10-24 07:31:53 +0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-10-24 08:27:53 +0400 |
commit | 6a5f44d7a048c97b8bae8ce464c97b8fad61ff99 (patch) | |
tree | 7e7a8e51c34ae5038ea5e228d4b86dce6684fb7f /net/ipv4/inetpeer.c | |
parent | 16d14ef9f29dfa9b1d99f3eff860e9f15bc99f39 (diff) | |
download | linux-6a5f44d7a048c97b8bae8ce464c97b8fad61ff99.tar.xz |
[IPV4] ip_gre: sendto/recvfrom NBMA address
When GRE tunnel is in NBMA mode, this patch allows an application to use
a PF_PACKET socket to:
- send a packet to specific NBMA address with sendto()
- use recvfrom() to receive packet and check which NBMA address it came from
This is required to implement properly NHRP over GRE tunnel.
Signed-off-by: Timo Teras <timo.teras@iki.fi>
Acked-by: Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/inetpeer.c')
0 files changed, 0 insertions, 0 deletions