diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-10-18 09:04:04 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2013-10-18 09:04:04 +0000 |
commit | f17afe12c24f04c1345de158e856fc2c487d9fb6 (patch) | |
tree | f795fb183f48e67fe52bd42e505ea6765c7b069b /sys/netinet/in_var.h | |
parent | f7328a8f8422d90f76436f63c9a7acb43ae07df1 (diff) |
Abstract the fact that IPv4 muticast records are linked to the
interface descriptor throught the first configured address in the
global list, this will help reducing the size of future diffs.
No object change.
ok sthen@
Diffstat (limited to 'sys/netinet/in_var.h')
-rw-r--r-- | sys/netinet/in_var.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/in_var.h b/sys/netinet/in_var.h index b06fe3027c6..0d1b892ca3b 100644 --- a/sys/netinet/in_var.h +++ b/sys/netinet/in_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in_var.h,v 1.23 2013/10/17 16:27:43 bluhm Exp $ */ +/* $OpenBSD: in_var.h,v 1.24 2013/10/18 09:04:03 mpi Exp $ */ /* $NetBSD: in_var.h,v 1.16 1996/02/13 23:42:15 christos Exp $ */ /* @@ -138,6 +138,7 @@ struct router_info { struct in_multi { struct in_addr inm_addr; /* IP multicast address */ struct in_ifaddr *inm_ia; /* back pointer to in_ifaddr */ +#define inm_ifp inm_ia->ia_ifp u_int inm_refcount; /* no. membership claims by sockets */ u_int inm_timer; /* IGMP membership report timer */ LIST_ENTRY(in_multi) inm_list; /* list of multicast addresses */ |