diff options
author | Cong Wang <amwang@redhat.com> | 2013-08-31 01:44:36 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-31 22:30:01 -0400 |
commit | f564f45c451809aa3b74f577754528520d315ac1 (patch) | |
tree | 6bebdf8d9a149b4d370a5f43ccd86935adbbc273 /include/net | |
parent | f39dc1023d6b9933528638a0c2dd618b4fdf664e (diff) |
vxlan: add ipv6 proxy support
This patch adds the IPv6 version of "arp_reduce", ndisc_send_na()
will be needed.
Cc: David S. Miller <davem@davemloft.net>
Cc: David Stevens <dlstevens@us.ibm.com>
Signed-off-by: Cong Wang <amwang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/addrconf.h | 4 | ||||
-rw-r--r-- | include/net/ndisc.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/include/net/addrconf.h b/include/net/addrconf.h index bcf957341b62..fb314de2b61b 100644 --- a/include/net/addrconf.h +++ b/include/net/addrconf.h | |||
@@ -153,6 +153,10 @@ struct ipv6_stub { | |||
153 | int (*ipv6_dst_lookup)(struct sock *sk, struct dst_entry **dst, | 153 | int (*ipv6_dst_lookup)(struct sock *sk, struct dst_entry **dst, |
154 | struct flowi6 *fl6); | 154 | struct flowi6 *fl6); |
155 | void (*udpv6_encap_enable)(void); | 155 | void (*udpv6_encap_enable)(void); |
156 | void (*ndisc_send_na)(struct net_device *dev, struct neighbour *neigh, | ||
157 | const struct in6_addr *daddr, | ||
158 | const struct in6_addr *solicited_addr, | ||
159 | bool router, bool solicited, bool override, bool inc_opt); | ||
156 | struct neigh_table *nd_tbl; | 160 | struct neigh_table *nd_tbl; |
157 | }; | 161 | }; |
158 | extern const struct ipv6_stub *ipv6_stub __read_mostly; | 162 | extern const struct ipv6_stub *ipv6_stub __read_mostly; |
diff --git a/include/net/ndisc.h b/include/net/ndisc.h index 6fea32340ae8..3c4211f0bed6 100644 --- a/include/net/ndisc.h +++ b/include/net/ndisc.h | |||
@@ -204,6 +204,11 @@ extern void ndisc_send_ns(struct net_device *dev, | |||
204 | extern void ndisc_send_rs(struct net_device *dev, | 204 | extern void ndisc_send_rs(struct net_device *dev, |
205 | const struct in6_addr *saddr, | 205 | const struct in6_addr *saddr, |
206 | const struct in6_addr *daddr); | 206 | const struct in6_addr *daddr); |
207 | extern void ndisc_send_na(struct net_device *dev, struct neighbour *neigh, | ||
208 | const struct in6_addr *daddr, | ||
209 | const struct in6_addr *solicited_addr, | ||
210 | bool router, bool solicited, bool override, | ||
211 | bool inc_opt); | ||
207 | 212 | ||
208 | extern void ndisc_send_redirect(struct sk_buff *skb, | 213 | extern void ndisc_send_redirect(struct sk_buff *skb, |
209 | const struct in6_addr *target); | 214 | const struct in6_addr *target); |