diff options
| author | David Stevens <dlstevens@us.ibm.com> | 2003-03-19 01:26:22 -0800 |
|---|---|---|
| committer | David S. Miller <davem@nuts.ninka.net> | 2003-03-19 01:26:22 -0800 |
| commit | 453c5e30af1acad4d4eea8300c615d449986fe44 (patch) | |
| tree | e3aeca58aceb19e6bc1052d78fe1f8d3cec923fb /include/linux | |
| parent | 6d6ce30e4944f0ec812731b41bde17ae16fedd69 (diff) | |
[IPV6]: Add anycast support.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/in6.h | 4 | ||||
| -rw-r--r-- | include/linux/ipv6.h | 1 | ||||
| -rw-r--r-- | include/linux/netdevice.h | 4 |
3 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/in6.h b/include/linux/in6.h index ee7e68e39d9e..051db67aee69 100644 --- a/include/linux/in6.h +++ b/include/linux/in6.h @@ -65,6 +65,8 @@ struct ipv6_mreq { int ipv6mr_ifindex; }; +#define ipv6mr_acaddr ipv6mr_multiaddr + struct in6_flowlabel_req { struct in6_addr flr_dst; @@ -166,6 +168,8 @@ struct in6_flowlabel_req #define IPV6_MTU 24 #define IPV6_RECVERR 25 #define IPV6_V6ONLY 26 +#define IPV6_JOIN_ANYCAST 27 +#define IPV6_LEAVE_ANYCAST 28 /* IPV6_MTU_DISCOVER values */ #define IPV6_PMTUDISC_DONT 0 diff --git a/include/linux/ipv6.h b/include/linux/ipv6.h index 516bb7d6b447..647c40c96452 100644 --- a/include/linux/ipv6.h +++ b/include/linux/ipv6.h @@ -172,6 +172,7 @@ struct ipv6_pinfo { ipv6only:1; struct ipv6_mc_socklist *ipv6_mc_list; + struct ipv6_ac_socklist *ipv6_ac_list; struct ipv6_fl_socklist *ipv6_fl_list; __u32 dst_cookie; diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 20d73363c079..16c72b0b6610 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -469,6 +469,10 @@ extern struct net_device *dev_getbyhwaddr(unsigned short type, char *hwaddr); extern void dev_add_pack(struct packet_type *pt); extern void dev_remove_pack(struct packet_type *pt); extern int dev_get(const char *name); +extern struct net_device *dev_get_by_flags(unsigned short flags, + unsigned short mask); +extern struct net_device *__dev_get_by_flags(unsigned short flags, + unsigned short mask); extern struct net_device *dev_get_by_name(const char *name); extern struct net_device *__dev_get_by_name(const char *name); extern struct net_device *dev_alloc(const char *name, int *err); |
