patch-2.1.30 linux/include/net/ndisc.h
Next file: linux/include/net/neighbour.h
Previous file: linux/include/net/ipv6_route.h
Back to the patch index
Back to the overall index
- Lines: 56
- Date:
Wed Mar 26 11:01:16 1997
- Orig file:
v2.1.29/linux/include/net/ndisc.h
- Orig date:
Thu Feb 6 02:59:05 1997
diff -u --recursive --new-file v2.1.29/linux/include/net/ndisc.h linux/include/net/ndisc.h
@@ -91,8 +91,8 @@
};
struct nd_msg {
- struct icmpv6hdr icmph;
- struct in6_addr target;
+ struct icmp6hdr icmph;
+ struct in6_addr target;
struct {
__u8 opt_type;
__u8 opt_len;
@@ -101,7 +101,7 @@
};
struct ra_msg {
- struct icmpv6hdr icmph;
+ struct icmp6hdr icmph;
__u32 reachable_time;
__u32 retrans_timer;
};
@@ -147,12 +147,9 @@
struct in6_addr *saddr,
struct in6_addr *daddr);
-extern int (*ndisc_eth_hook) (unsigned char *,
- struct device *,
- struct sk_buff *);
extern int ndisc_eth_resolv(unsigned char *,
- struct device *,
struct sk_buff *);
+
extern void ndisc_forwarding_on(void);
extern void ndisc_forwarding_off(void);
@@ -163,7 +160,20 @@
struct rt6_info * dflt_rt_lookup(void);
extern unsigned long nd_rand_seed;
-extern int ipv6_random(void);
+extern unsigned long ipv6_random(void);
+
+/*
+ * IGMP
+ */
+extern void igmp6_init(struct net_proto_family *ops);
+
+extern int igmp6_event_query(struct sk_buff *skb,
+ struct icmp6hdr *hdr,
+ int len);
+
+extern int igmp6_event_report(struct sk_buff *skb,
+ struct icmp6hdr *hdr,
+ int len);
#endif /* __KERNEL__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov