OpenSDN source code
gmph_private.h
Go to the documentation of this file.
1 /* $Id: gmph_private.h 493569 2012-01-28 13:26:58Z ib-builder $
2  *
3  * gmph_private.h - Private definitions for GMP Host support
4  *
5  * Dave Katz, March 2008
6  *
7  * Copyright (c) 2008, Juniper Networks, Inc.
8  * Copyright Contributors to the OpenSDN project
9  * All rights reserved.
10  */
11 
12 #ifndef __GMPH_PRIVATE_H__
13 #define __GMPH_PRIVATE_H__
14 
15 /*
16  * This module defines the private data structures for GMP host support.
17  * This file should only be used by the gmp_host code.
18  */
19 
20 /*
21  * Instance entry
22  *
23  * The instance block contains global storage for GMP host support. This
24  * is primarily to ensure that the code remains reentrant (no fixed storage.)
25  * It also allows multiple instances of this code to be running, though the
26  * semantics of that are beyond the scope of this code.
27  *
28  * Note that the tree of interfaces will not be in lexicographic order
29  * by interface ID on little-endian machines.
30  */
31 typedef struct gmph_instance_ {
32  u_int32_t hinst_magic; /* Magic number for robustness */
33  task_thread hinst_thread; /* Link on global instance thread */
34  task_thread hinst_client_thread; /* Head of client thread */
35  gmp_addr_catalog hinst_addr_cat; /* Address catalog */
36 
37  void *hinst_context; /* External context */
38 
39  gmpx_patroot *hinst_intfs; /* Tree of interfaces */
40  gmp_proto hinst_proto; /* Protocol (IGMP/MLD) */
41  u_int hinst_addrlen; /* Address length (v4 or v6) */
42  gmpx_timer *hinst_master_clock; /* Timer for timekeeping */
44 
45 THREAD_TO_STRUCT(gmph_thread_to_instance, gmph_instance, hinst_thread);
46 
47 #define GMPH_INSTANCE_MAGIC 0x48696E73 /* 'Hins' */
48 
49 
50 /* An enum to define report types. */
51 
52 typedef enum {
53  GMP_CHANGE_RECORD, /* Change record */
54  GMP_CURRENT_STATE /* Current state */
56 
57 
58 /*
59  * Interface entry
60  *
61  * One of these entries is created for every interface mentioned by a client.
62  * It is stored on a patricia tree in the instance, keyed by interface index.
63  *
64  * There are a couple of fields associated with pending transmissions on the
65  * interface. hintf_pending_xmit_count keeps track of the number of groups
66  * and sources that will eventually need transmission (this may not happen
67  * until the expiration of a timer or somesuch.) When this goes to zero, the
68  * interface is completely quiescent. hintf_xmit_pending is set when there is
69  * a packet pending immediate transmission.
70  *
71  * For doing soft detachs (waiting for all pending transmissions to go out)
72  * the flow is a bit complex. The hintf_pending_xmit_count field keeps track
73  * of the number of groups that have pending transmissions associated with
74  * them. When gmph_detach_intf_soft() is called, we delay detaching the
75  * interface (and thus destroying it) until hintf_pending_xmit_count goes
76  * to zero.
77  *
78  * hintf_pending_xmit_count in turn represents the number of groups in which
79  * the hgroup_xmit_pending flag is set. See the comments below in the
80  * definition of gmph_group about how this works.
81  */
82 typedef struct gmph_intf_ {
83  gmph_instance *hintf_instance; /* Owning instance */
84  gmpx_patnode hintf_inst_patnode; /* Node on instance tree */
85  gmpx_patnode hintf_global_patnode; /* Node on global tree */
86  gmpx_intf_id hintf_id; /* Interface ID */
87  gmp_addr_string hintf_local_addr; /* Local interface address */
88 
89  task_thread hintf_xmit_head; /* Head of xmit groups */
90  gmph_report_type hintf_last_report_type; /* Last report type sent */
91 
92  gmp_version hintf_ver; /* GMP version running */
93  gmp_version hintf_cfg_ver; /* Configured max version */
94  u_int8_t hintf_robustness; /* Robustness variable */
95 
96  u_int32_t hintf_unsol_rpt_ivl; /* Unsolicited report ivl (msec) */
97 
98  gmpx_patroot *hintf_group_root; /* Root of aggregated group records */
99 
100  gmpx_timer *hintf_gen_query_timer; /* General query response timer */
101  gmpx_timer *hintf_basic_querier; /* Basic version querier present */
102  gmpx_timer *hintf_leaves_querier; /* Leaves version querier present */
103  gmpx_timer *hintf_soft_detach_timer; /* Deferral for soft detach */
104 
105  u_int32_t hintf_last_query_time; /* Time of last query */
106 
108  /* Callback after soft detach */
109  void *hintf_soft_detach_context; /* User-supplied context */
110 
111  u_int32_t hintf_pending_xmit_count; /* # of groups and srcs pending xmit */
112 
113  boolean hintf_suppress_reports; /* TRUE if report suppression is on */
114  boolean hintf_xmit_pending; /* TRUE if we have a pending xmit */
115  boolean hintf_passive; /* TRUE if passive (no xmits) */
117 
118 GMPX_PATNODE_TO_STRUCT(gmph_inst_patnode_to_intf, gmph_intf,
119  hintf_inst_patnode);
120 GMPX_PATNODE_TO_STRUCT(gmph_global_patnode_to_intf, gmph_intf,
121  hintf_global_patnode);
122 
123 
124 /*
125  * Report message address entry
126  *
127  * This structure represents a single source address on the interface
128  * Allow and Block lists. It consists of an address entry structure
129  * plus a retransmission count, so we can keep track of how many times
130  * the individual address needs to be mentioned in a Report message.
131  */
133 {
134  gmp_addr_list_entry msg_addr_entry; /* Address entry */
135  u_int msg_rexmit_count; /* Retransmission count */
137 
138 EMBEDDED_STRUCT_TO_STRUCT(gmph_addr_list_to_group_list,
140  msg_addr_entry);
141 
142 
143 /*
144  * Group entry
145  *
146  * This data structure defines the group record for an interface. This
147  * is the aggregated state from the individual client groups, and should
148  * not be confused with them.
149  *
150  * There are several address lists attached to the group entry. They are:
151  *
152  * hgroup_src_addr_list
153  * The list of addresses currently being excluded or included on the
154  * interface; together with the filter mode they represent the group
155  * state on the interface. The address entries are generic.
156  *
157  * The transmit thread through this list contains all sources pending
158  * transmission in response to a general or GS query.
159  *
160  * hgroup_allow_list
161  * The list of addresses to be transmitted in ALLOW or TO_IN records.
162  * Any source entry that remains to be (re)transmitted will be found
163  * here. The address entries are of type gmph_rpt_msg_addr_entry, as
164  * they contain the retransmit count along with the address itself.
165  *
166  * The transmit thread through this list contains all sources pending
167  * transmission in a state-change report.
168  *
169  * hgroup_block_list
170  * Same as hintf_allow_list, except for BLOCK or TO_EX records.
171  *
172  * hgroup_query_list
173  * The list of addresses being queried by the querier. The transmit
174  * thread represents sources to be contained in replies to GSS
175  * queries. The address entries are generic.
176  *
177  *
178  * Flags
179  *
180  * hgroup_change_msg_due
181  * This flag indicates that a change message is due now for a
182  * group. The flag is set when the change timer expires for the
183  * group, and is cleared when all sources have been put into an
184  * outgoing packet for the group (if there are many sources, they
185  * may be split across multiple packets).
186  *
187  * hgroup_reply_due
188  * This flag indicates that a reply to a query is due now for a group.
189  * The flag is set when the query response timer expires for the group,
190  * and is cleared when everything for a group has been put into an
191  * outgoing packet.
192  *
193  * hgroup_gss_reply_due
194  * This flag indicates that a reply to a group-and-source-specific
195  * query is now due for a group. The flag is set when the group
196  * query response timer expires for the group, and is cleared when
197  * everything requested by the query has been put into an outgoing
198  * packet. The hgroup_reply_due flag is always set if this flag is
199  * also set.
200  *
201  * hgroup_xmit_pending
202  * This flag indicates that some kind of packet transmission is pending
203  * for this group (though it may be deferred by a timer.) This flag
204  * also notes that the interface hintf_xmit_pending_count has been
205  * incremented for the group. It is set whenever an action takes place
206  * that triggers a packet transmission, and is cleared when the group
207  * is completely quiescent (which causes hintf_xmit_pending_count to be
208  * decremented).
209  *
210  *
211  * Pending Transmissions
212  *
213  * gmph_detach_intf_soft() waits for hintf_pending_xmit_count to go to
214  * zero. This field represents the number of groups that have the
215  * hgroup_xmit_pending flag set.
216  *
217  * hgroup_xmit_pending is set if any of the following are true:
218  *
219  * . hgroup_query_timer is running (we will be replying to a GS/GSS query)
220  * . hgroup_change_rpt_timer is running (we will be sending a change message)
221  * . hgroup_change_msg_due is set (we will be sending a change message shortly)
222  * . hgroup_reply_due is set (we need to send a reply to a GS query)
223  * . The group is on the interface xmit thread (we're about to send a report)
224  *
225  * hgroup_xmit_pending remains set until *none* of the above conditions are
226  * true (the group has gone quiescent.) At that point it will be cleared,
227  * and hintf_pending_xmit_count will be decremented.
228  *
229  * We do limited refcounting to avoid double-freeing this structure
230  * as a side effect of transmitting change reports.
231  */
232 
233 typedef struct gmph_group_ {
234 
235  /* Linkages */
236 
237  task_thread hgroup_client_thread; /* Head of thread of client groups */
238  gmph_intf *hgroup_intf; /* Pointer back to interface */
239  gmpx_patnode hgroup_intf_patnode; /* Node on interface tree of groups */
240 
241  /* Group state */
242 
243  gmp_addr_string hgroup_addr; /* Group address */
244  gmp_filter_mode hgroup_filter_mode; /* Include/Exclude */
245  gmp_addr_list hgroup_src_addr_list; /* Source address list */
246 
247  /* State-change report stuff */
248 
249  gmp_addr_list hgroup_allow_list; /* List of Allow entries to send */
250  gmp_addr_list hgroup_block_list; /* List of Block entries to send */
251 
252  gmpx_timer *hgroup_change_rpt_timer; /* Timer for sending change reports */
253  u_int hgroup_mode_change_rexmit_count; /* Mode change retransmit count */
254 
255  /* Query reply stuff */
256 
257  gmpx_timer *hgroup_query_timer; /* For replying to group queries */
258  gmp_addr_list hgroup_query_list; /* Addresses to which we must reply */
259  boolean hgroup_last_reporter; /* TRUE if we were last to report */
260 
261  /* Transmission stuff */
262 
263  task_thread hgroup_xmit_thread; /* Entry on intf transmit list */
264  boolean hgroup_change_msg_due; /* TRUE if we need to send chg msg */
265  boolean hgroup_reply_due; /* TRUE if we need to send a reply */
266  boolean hgroup_gss_reply_due; /* TRUE if sending a GSS reply */
267  boolean hgroup_xmit_pending; /* TRUE if pending transmission */
268 
269  /* Ref counting */
270  boolean hgroup_is_deleted; /* Deleted, but locked */
271  u_int8_t hgroup_lock_count; /* Lock count */
273 
274 GMPX_PATNODE_TO_STRUCT(gmph_intf_patnode_to_group, gmph_group,
275  hgroup_intf_patnode);
276 THREAD_TO_STRUCT(gmph_xmit_thread_to_group, gmph_group, hgroup_xmit_thread);
277 
278 #define GMPH_INITIAL_REPORT_JITTER 0 /* Percent jitter for initial packet */
279 #define GMPH_REPORT_REXMIT_JITTER 100 /* Percent jitter for retransmission */
280 #define GMPH_QUERY_REPLY_JITTER 100 /* Percent jitter for replies */
281 
282 
283 /*
284  * Group set operation context block
285  *
286  * This block contains the context for address list set operations.
287  */
288 typedef struct gmph_group_set_context_ {
289  gmph_group *ctx_group; /* Group pointer */
290  gmp_addr_list *ctx_add_list; /* List to add to */
291  gmp_addr_list *ctx_del_list; /* List to delete from */
293 
294 
295 /*
296  * Client entry
297  *
298  * Each client has an associated data structure that tracks its associated
299  * state.
300  *
301  * Note that the patricia tree will not be in lexicographic order by interface
302  * ID on little-endian machines.
303  */
304 typedef struct gmph_client_ {
305  u_int32_t hclient_magic; /* Magic number for robustness */
306  gmph_instance *hclient_instance; /* Owning instance */
307  task_thread hclient_thread; /* Link on instance client thread */
308  gmpx_patroot *hclient_group_root; /* Root of client group requests */
310 
311 THREAD_TO_STRUCT(gmph_thread_to_client, gmph_client, hclient_thread);
312 
313 #define GMPH_CLIENT_MAGIC 0x48636A69 /* 'Hcli' */
314 
315 
316 /*
317  * Client group entry
318  *
319  * This data structure represents the requested group state for an individual
320  * client. The combined state of a group address across all clients is
321  * what gets advertised in the protocol.
322  *
323  * This structure is accessed two ways. First, it is on a patricia tree
324  * rooted at the client, indexed by interface ID and group address. Second,
325  * it is on a thread of entries for the same group from different clients.
326  *
327  * The set of addresses is represented by a bit vector.
328  */
329 typedef struct gmph_client_group_key_ {
330  gmpx_intf_id group_key_intf_id; /* Interface ID */
331  gmp_addr_string group_key_addr; /* Group address */
333 
334 typedef struct gmph_client_group_ {
335  gmph_client *client_group_client; /* Pointer back to owning client */
336  gmph_group *client_group_group; /* Pointer to group entry */
337  gmpx_patnode client_group_node; /* Node on client tree of groups */
338  task_thread client_group_thread; /* Node on group thread of cli grps */
340  gmp_filter_mode client_filter_mode; /* Include/Exclude */
341  gmp_addr_vect client_addr_vect; /* Source address vector */
343 
344 GMPX_PATNODE_TO_STRUCT(gmph_patnode_to_client_group, gmph_client_group,
345  client_group_node);
346 THREAD_TO_STRUCT(gmph_thread_to_client_group, gmph_client_group,
347  client_group_thread);
348 
349 #define client_group_intf_id client_group_key.group_key_intf_id
350 #define client_group_addr client_group_key.group_key_addr
351 
352 
353 /*
354  * gmph_client_group_key_len
355  *
356  * Returns the client group key length, which is based on the protocol
357  * in use (IGMP or MLD).
358  */
359 static inline u_int
361 {
362  u_int length;
363 
364  if (instance->hinst_proto == GMP_PROTO_IGMP)
365  length = sizeof(gmph_client_group_key) -
367  else
368  length = sizeof(gmph_client_group_key);
369 
370  return length;
371 }
372 
373 
374 /*
375  * gmph_group_is_active
376  *
377  * Returns TRUE if the group is active, or FALSE if not.
378  */
379 static inline boolean
381 {
382  /* Active if in Exclude mode. */
383 
385  return TRUE;
386 
387  /* Active if there are any sources. */
388 
390  return TRUE;
391 
392  return FALSE;
393 }
394 
395 
396 /*
397  * gmph_intf_shutting_down
398  *
399  * Returns TRUE if the interface is in the process of a soft detach, or
400  * FALSE if not.
401  */
402 static inline boolean
404 {
405  return (intf->hintf_soft_detach_callback != NULL);
406 }
407 
408 
409 /*
410  * Externals
411  */
421 
422 
423 /* gmph_instance.c */
424 
426  void *inst_context);
428 extern void gmph_instance_destroy(gmph_instance *instance);
429 
430 /* gmph_client.c */
431 
434 extern void gmph_destroy_client(gmph_client *client);
436  gmpx_intf_id intf_id,
437  const u_int8_t *group);
439  boolean evaluate_group);
441  gmph_intf *intf);
442 extern gmph_client_group *
444  gmph_group *group, const u_int8_t *group_addr,
445  gmp_filter_mode filter_mode,
446  gmp_addr_thread *addr_thread);
449 
450 /* gmph_intf.c */
451 
454  gmpx_intf_id intf_id);
456  gmpx_intf_id intf_id);
457 extern void gmph_kick_xmit(gmph_intf *intf);
459  gmpx_intf_id intf_id);
461  gmpx_intf_id intf_id,
462  gmph_soft_detach_callback callback,
463  void *context);
466 extern void gmph_start_general_query_timer(gmph_intf *intf, u_int32_t ivl,
467  u_int jitter_pct);
470 
471 /* gmph_group.c */
472 
475  const u_int8_t *group);
476 extern gmph_group *gmph_group_lookup(gmph_intf *intf, const u_int8_t *group);
478 extern gmph_group *gmph_group_create(gmph_intf *intf, const u_int8_t *group);
487 extern boolean gmph_group_xmit_pending(gmph_group *group);
489  gmp_addr_list_entry *addr_entry);
491  const u_int8_t *source_addr);
493 extern void gmph_unmark_pending_group_xmit(gmph_group *group, boolean force);
494 extern void gmph_start_change_rpt_timer(gmph_group *group, u_int32_t ivl,
495  u_int jitter_pct);
496 extern void gmph_start_query_timer(gmph_group *group, u_int32_t ivl,
497  u_int jitter_pct);
498 
499 extern void gmph_lock_group (gmph_group *group);
500 extern boolean gmph_unlock_group (gmph_group *group);
501 
502 /* gmph_engine.c */
503 
505 extern void gmph_version_changed(gmph_instance *instance, gmph_intf *intf);
508  void *context);
509 extern void gmph_group_query_timer_expiry(gmpx_timer *timer, void *context);
510 
511 #endif /* __GMPH_PRIVATE_H__ */
#define IPV6_ADDR_LEN
Definition: gmp.h:26
void * gmp_client_id
Definition: gmp.h:40
gmp_filter_mode
Definition: gmp.h:67
@ GMP_FILTER_MODE_EXCLUDE
Definition: gmp.h:67
void * gmp_instance_id
Definition: gmp.h:33
#define IPV4_ADDR_LEN
Definition: gmp.h:25
gmp_proto
Definition: gmp.h:46
@ GMP_PROTO_IGMP
Definition: gmp.h:47
void(* gmph_soft_detach_callback)(gmp_proto proto, gmpx_intf_id intf_id, void *context)
Definition: gmp_host.h:212
gmp_version
Definition: gmp_private.h:43
boolean gmp_addr_list_empty(gmp_addr_list *list)
gmpx_block_tag gmph_intf_tag
gmpx_block_tag gmph_client_group_tag
void gmph_intf_decrement_pending_xmit_count(gmph_intf *)
gmph_group * gmph_next_group_xmit(gmph_group *group)
gmph_instance * gmph_get_instance(gmp_instance_id instance_id)
void gmph_start_general_query_timer(gmph_intf *intf, u_int32_t ivl, u_int jitter_pct)
gmpx_block_tag gmph_client_group_thread_tag
gmph_client * gmph_create_client(gmph_instance *instance)
void gmph_intf_evaluate_version(gmph_intf *intf)
void gmph_kick_xmit(gmph_intf *intf)
task_thread gmph_global_instance_thread
void gmph_set_report_entry_rexmit(gmph_group *group, gmp_addr_list_entry *addr_entry)
gmph_client_group * gmph_create_client_group(gmph_intf *intf, gmph_client *client, gmph_group *group, const u_int8_t *group_addr, gmp_filter_mode filter_mode, gmp_addr_thread *addr_thread)
int gmph_attach_intf_internal(gmph_instance *instance, gmpx_intf_id intf_id)
void gmph_attempt_group_free(gmph_group *group)
static boolean gmph_intf_shutting_down(gmph_intf *intf)
Definition: gmph_private.h:403
struct gmph_client_ gmph_client
struct gmph_group_ gmph_group
gmph_group * gmph_group_create(gmph_intf *intf, const u_int8_t *group)
void gmph_version_changed(gmph_instance *instance, gmph_intf *intf)
void gmph_register_packet_handler(void)
struct gmph_intf_ gmph_intf
gmph_group * gmph_group_lookup_create(gmph_intf *, const u_int8_t *group)
int gmph_detach_intf_internal(gmph_instance *instance, gmpx_intf_id intf_id, gmph_soft_detach_callback callback, void *context)
void gmph_delete_rpt_addr_entry(gmph_rpt_msg_addr_entry *report_entry)
EMBEDDED_STRUCT_TO_STRUCT(gmph_addr_list_to_group_list, gmph_rpt_msg_addr_entry, gmp_addr_list_entry, msg_addr_entry)
void gmph_destroy_client(gmph_client *client)
void gmph_destroy_intf_groups(gmph_intf *intf)
struct gmph_client_group_key_ gmph_client_group_key
gmph_intf * gmph_intf_lookup(gmph_instance *instance, gmpx_intf_id intf_id)
void gmph_dequeue_group_xmit(gmph_group *group)
void gmph_instance_destroy(gmph_instance *instance)
int gmph_reevaluate_group(gmph_group *group)
static u_int gmph_client_group_key_len(gmph_instance *instance)
Definition: gmph_private.h:360
void gmph_destroy_instance_intfs(gmph_instance *instance)
gmph_group * gmph_group_lookup_first(gmph_intf *intf)
boolean gmph_unlock_group(gmph_group *group)
boolean gmph_group_source_requested(gmph_group *group, const u_int8_t *source_addr)
gmph_group * gmph_first_group_xmit(gmph_intf *intf)
gmpx_block_tag gmph_instance_tag
void gmph_attempt_intf_free(gmph_intf *intf)
struct gmph_client_group_ gmph_client_group
void gmph_intf_increment_pending_xmit_count(gmph_intf *)
void gmph_group_change_report_timer_expiry(gmpx_timer *timer, void *context)
gmpx_timer * gmph_create_change_report_timer(gmph_group *group)
THREAD_TO_STRUCT(gmph_thread_to_instance, gmph_instance, hinst_thread)
void gmph_mark_pending_group_xmit(gmph_group *group)
void gmph_unmark_pending_group_xmit(gmph_group *group, boolean force)
void gmph_enqueue_group_xmit(gmph_group *group)
gmph_client * gmph_get_client(gmp_client_id client_id)
void gmph_destroy_intf_client_groups(gmph_client *client, gmph_intf *intf)
boolean gmph_group_xmit_pending(gmph_group *group)
gmph_report_type
Definition: gmph_private.h:52
@ GMP_CURRENT_STATE
Definition: gmph_private.h:54
@ GMP_CHANGE_RECORD
Definition: gmph_private.h:53
void gmph_destroy_client_group(gmph_client_group *client_group, boolean evaluate_group)
gmpx_block_tag gmph_group_tag
gmpx_block_tag gmph_group_rpt_entry_tag
void gmph_lock_group(gmph_group *group)
gmpx_patroot * gmph_global_intf_tree[]
struct gmph_rpt_msg_addr_entry_ gmph_rpt_msg_addr_entry
struct gmph_group_set_context_ gmph_group_set_context
void gmph_start_change_rpt_timer(gmph_group *group, u_int32_t ivl, u_int jitter_pct)
GMPX_PATNODE_TO_STRUCT(gmph_inst_patnode_to_intf, gmph_intf, hintf_inst_patnode)
gmpx_block_tag gmph_client_tag
void gmph_group_general_query_timer_expiry(gmph_group *group)
void gmph_destroy_instance_clients(gmph_instance *instance)
gmph_instance * gmph_instance_create(gmp_proto proto, void *inst_context)
gmph_intf * gmph_intf_lookup_global(gmp_proto proto, gmpx_intf_id intf_id)
static boolean gmph_group_is_active(gmph_group *group)
Definition: gmph_private.h:380
struct gmph_instance_ gmph_instance
gmph_client_group * gmph_lookup_client_group(gmph_client *client, gmpx_intf_id intf_id, const u_int8_t *group)
gmph_group * gmph_group_lookup(gmph_intf *intf, const u_int8_t *group)
void gmph_destroy_group_client_groups(gmph_group *group)
void gmph_start_query_timer(gmph_group *group, u_int32_t ivl, u_int jitter_pct)
void gmph_group_query_timer_expiry(gmpx_timer *timer, void *context)
#define gmpx_patnode
#define gmpx_patroot
#define gmpx_block_tag
#define TRUE
Definition: mcast_common.h:16
#define FALSE
Definition: mcast_common.h:15
Definition: gmp_private.h:207
task_thread hclient_thread
Definition: gmph_private.h:307
gmpx_patroot * hclient_group_root
Definition: gmph_private.h:308
u_int32_t hclient_magic
Definition: gmph_private.h:305
gmph_instance * hclient_instance
Definition: gmph_private.h:306
task_thread client_group_thread
Definition: gmph_private.h:338
gmp_filter_mode client_filter_mode
Definition: gmph_private.h:340
gmph_client * client_group_client
Definition: gmph_private.h:335
gmp_addr_vect client_addr_vect
Definition: gmph_private.h:341
gmph_client_group_key client_group_key
Definition: gmph_private.h:339
gmph_group * client_group_group
Definition: gmph_private.h:336
gmpx_patnode client_group_node
Definition: gmph_private.h:337
gmp_addr_string group_key_addr
Definition: gmph_private.h:331
gmpx_intf_id group_key_intf_id
Definition: gmph_private.h:330
task_thread hgroup_xmit_thread
Definition: gmph_private.h:263
gmp_filter_mode hgroup_filter_mode
Definition: gmph_private.h:244
gmpx_timer * hgroup_query_timer
Definition: gmph_private.h:257
boolean hgroup_gss_reply_due
Definition: gmph_private.h:266
gmpx_timer * hgroup_change_rpt_timer
Definition: gmph_private.h:252
boolean hgroup_last_reporter
Definition: gmph_private.h:259
gmph_intf * hgroup_intf
Definition: gmph_private.h:238
gmp_addr_list hgroup_allow_list
Definition: gmph_private.h:249
boolean hgroup_reply_due
Definition: gmph_private.h:265
gmp_addr_list hgroup_query_list
Definition: gmph_private.h:258
gmpx_patnode hgroup_intf_patnode
Definition: gmph_private.h:239
u_int8_t hgroup_lock_count
Definition: gmph_private.h:271
boolean hgroup_change_msg_due
Definition: gmph_private.h:264
boolean hgroup_xmit_pending
Definition: gmph_private.h:267
u_int hgroup_mode_change_rexmit_count
Definition: gmph_private.h:253
gmp_addr_list hgroup_src_addr_list
Definition: gmph_private.h:245
gmp_addr_string hgroup_addr
Definition: gmph_private.h:243
task_thread hgroup_client_thread
Definition: gmph_private.h:237
gmp_addr_list hgroup_block_list
Definition: gmph_private.h:250
boolean hgroup_is_deleted
Definition: gmph_private.h:270
gmp_addr_list * ctx_add_list
Definition: gmph_private.h:290
gmp_addr_list * ctx_del_list
Definition: gmph_private.h:291
u_int32_t hinst_magic
Definition: gmph_private.h:32
gmp_addr_catalog hinst_addr_cat
Definition: gmph_private.h:35
task_thread hinst_thread
Definition: gmph_private.h:33
u_int hinst_addrlen
Definition: gmph_private.h:41
gmp_proto hinst_proto
Definition: gmph_private.h:40
gmpx_patroot * hinst_intfs
Definition: gmph_private.h:39
void * hinst_context
Definition: gmph_private.h:37
task_thread hinst_client_thread
Definition: gmph_private.h:34
gmpx_timer * hinst_master_clock
Definition: gmph_private.h:42
u_int32_t hintf_unsol_rpt_ivl
Definition: gmph_private.h:96
gmp_addr_string hintf_local_addr
Definition: gmph_private.h:87
gmpx_patroot * hintf_group_root
Definition: gmph_private.h:98
boolean hintf_suppress_reports
Definition: gmph_private.h:113
gmpx_patnode hintf_inst_patnode
Definition: gmph_private.h:84
u_int8_t hintf_robustness
Definition: gmph_private.h:94
gmph_soft_detach_callback hintf_soft_detach_callback
Definition: gmph_private.h:107
gmph_instance * hintf_instance
Definition: gmph_private.h:83
task_thread hintf_xmit_head
Definition: gmph_private.h:89
void * hintf_soft_detach_context
Definition: gmph_private.h:109
u_int32_t hintf_pending_xmit_count
Definition: gmph_private.h:111
gmpx_timer * hintf_basic_querier
Definition: gmph_private.h:101
gmpx_timer * hintf_gen_query_timer
Definition: gmph_private.h:100
boolean hintf_xmit_pending
Definition: gmph_private.h:114
gmp_version hintf_cfg_ver
Definition: gmph_private.h:93
gmph_report_type hintf_last_report_type
Definition: gmph_private.h:90
gmpx_timer * hintf_leaves_querier
Definition: gmph_private.h:102
gmp_version hintf_ver
Definition: gmph_private.h:92
gmpx_timer * hintf_soft_detach_timer
Definition: gmph_private.h:103
boolean hintf_passive
Definition: gmph_private.h:115
u_int32_t hintf_last_query_time
Definition: gmph_private.h:105
gmpx_intf_id hintf_id
Definition: gmph_private.h:86
gmpx_patnode hintf_global_patnode
Definition: gmph_private.h:85
Definition: gmph_private.h:133
u_int msg_rexmit_count
Definition: gmph_private.h:135
gmp_addr_list_entry msg_addr_entry
Definition: gmph_private.h:134