Skip to content
Commit 6a5f44d7 authored by Timo Teras's avatar Timo Teras Committed by David S. Miller
Browse files

[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: default avatarTimo Teras <timo.teras@iki.fi>
Acked-by: default avatarAlexey Kuznetsov <kuznet@ms2.inr.ac.ru>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 16d14ef9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment