Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys document that we depend on the option numbers matching.
details: https://anonhg.NetBSD.org/src/rev/23001175f35b
branches: trunk
changeset: 803104:23001175f35b
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 12 19:02:18 2014 +0000
description:
document that we depend on the option numbers matching.
diffstat:
sys/netinet/in.h | 3 ++-
sys/netinet6/in6.h | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r f1eacc75ede7 -r 23001175f35b sys/netinet/in.h
--- a/sys/netinet/in.h Sun Oct 12 19:00:21 2014 +0000
+++ b/sys/netinet/in.h Sun Oct 12 19:02:18 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in.h,v 1.92 2014/06/05 23:48:16 rmind Exp $ */
+/* $NetBSD: in.h,v 1.93 2014/10/12 19:02:18 christos Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -276,6 +276,7 @@
#define IP_MULTICAST_IF 9 /* in_addr; set/get IP multicast i/f */
#define IP_MULTICAST_TTL 10 /* u_char; set/get IP multicast ttl */
#define IP_MULTICAST_LOOP 11 /* u_char; set/get IP multicast loopback */
+/* The add and drop membership option numbers need to match with the v6 ones */
#define IP_ADD_MEMBERSHIP 12 /* ip_mreq; add an IP group membership */
#define IP_DROP_MEMBERSHIP 13 /* ip_mreq; drop an IP group membership */
#define IP_PORTALGO 18 /* int; port selection algo (rfc6056) */
diff -r f1eacc75ede7 -r 23001175f35b sys/netinet6/in6.h
--- a/sys/netinet6/in6.h Sun Oct 12 19:00:21 2014 +0000
+++ b/sys/netinet6/in6.h Sun Oct 12 19:02:18 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: in6.h,v 1.78 2014/06/05 23:48:16 rmind Exp $ */
+/* $NetBSD: in6.h,v 1.79 2014/10/12 19:02:18 christos Exp $ */
/* $KAME: in6.h,v 1.83 2001/03/29 02:55:07 jinmei Exp $ */
/*
@@ -383,6 +383,7 @@
#define IPV6_MULTICAST_IF 9 /* u_int; set/get IP6 multicast i/f */
#define IPV6_MULTICAST_HOPS 10 /* int; set/get IP6 multicast hops */
#define IPV6_MULTICAST_LOOP 11 /* u_int; set/get IP6 multicast loopback */
+/* The join and leave membership option numbers need to match with the v4 ones */
#define IPV6_JOIN_GROUP 12 /* ip6_mreq; join a group membership */
#define IPV6_LEAVE_GROUP 13 /* ip6_mreq; leave a group membership */
#define IPV6_PORTRANGE 14 /* int; range to choose for unspec port */
Home |
Main Index |
Thread Index |
Old Index