diff options
author | fenner <fenner@FreeBSD.org> | 1996-01-19 01:28:30 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1996-01-19 01:28:30 +0000 |
commit | 83b323c8bd36c10521fce66c79e1ddb594f4712c (patch) | |
tree | f8b6f3734f60d2c5f2bb7741981ab064e8950cad /sbin/rdisc/rdisc.h | |
parent | d9db1417ad554db7cbc6c29b834e17727da14c4c (diff) | |
download | FreeBSD-src-83b323c8bd36c10521fce66c79e1ddb594f4712c.zip FreeBSD-src-83b323c8bd36c10521fce66c79e1ddb594f4712c.tar.gz |
Made router discovery at least build and run. There are a few things
left to do (e.g. it doesn't yet run on systems with aliased addresses)
but this should work for simple configurations.
I don't plan to enable the rdisc directory in the sbin/ makefile until
I get feedback on this and add the missing features, so please, if you
have routers that perform router discovery, or if your FreeBSD box is
itself a router, give this a try.
Diffstat (limited to 'sbin/rdisc/rdisc.h')
-rw-r--r-- | sbin/rdisc/rdisc.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/sbin/rdisc/rdisc.h b/sbin/rdisc/rdisc.h deleted file mode 100644 index 507c9ce..0000000 --- a/sbin/rdisc/rdisc.h +++ /dev/null @@ -1,19 +0,0 @@ -/* From net/if.h */ - -#define IFF_MULTICAST 0x800 /* supports multicast */ - -/* From netinet/in.h */ - -#define INADDR_ALLHOSTS_GROUP (u_long)0xe0000001 /* 224.0.0.1 */ -#define IP_MULTICAST_IF 0x10 /* set/get IP multicast interface */ -#define IP_ADD_MEMBERSHIP 0x13 /* add an IP group membership */ -#define IP_MULTICAST_TTL 0x11 /* set/get IP multicast timetolive */ - -/* - * Argument structure for IP_ADD_MEMBERSHIP and IP_DROP_MEMBERSHIP. - */ -struct ip_mreq { - struct in_addr imr_multiaddr; /* IP multicast address of group */ - struct in_addr imr_interface; /* local IP address of interface */ -}; - |