OpenSDN source code
gmp_router.h
Go to the documentation of this file.
1 /* $Id: gmp_router.h 514187 2012-05-06 12:25:25Z ib-builder $
2  *
3  * gmp_router.h - External definitions for gmp_router
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 __GMP_ROUTER_H__
13 #define __GMP_ROUTER_H__
14 
15 /*
16  * This file defines the interface between the GMP toolkit and
17  * router-side clients.
18  *
19  * The client must first create an instance by calling
20  * gmpr_create_instance(). An instance is effectively a set of
21  * interfaces; an interface must be referred to by only one instance.
22  *
23  * Each instance has at least one client. A client is an entity that
24  * will receive notifications about changes in group state. The
25  * number of clients is limited to GMPR_MAX_RTR_CLIENTS. This number
26  * is expected to be small, since brute force and arrays are used with
27  * this expectation.
28  *
29  * An interface is bound to an instance by calling gmpr_attach_intf.
30  * The interface ID is a 32 bit opaque value defined in the
31  * environment file; the GMP toolkit doesn't attempt to dereference it
32  * in any way, so the environment can be creative as to what it
33  * actually is.
34  */
35 
36 /*
37  * Notifications
38  *
39  * Notifications to clients are done on a pull model. When a
40  * notification is enqueued for a client, the client notification
41  * callback is made, passing only the client context. When the client
42  * is ready to consume notifications, it calls gmpr_get_notification()
43  * to get the next notification. No additional notification callbacks
44  * will be made until the notification queue is drained (and
45  * gmpr_get_notification() returns NULL), so the client must either
46  * drain the queue when called, or keep track of whether the queue is
47  * drained while deferring.
48  *
49  * Notifications to clients are done on a delta basis. A notification
50  * consists of a type, an interface, a group, and possibly one source.
51  * The types are:
52  *
53  * GMPR_NOTIF_GROUP_ADD_EXCL: Add a group in Exclude mode
54  * GMPR_NOTIF_GROUP_ADD_INCL: Add a group in Include mode
55  * GMPR_NOTIF_GROUP_DELETE: Delete a group
56  * GMPR_NOTIF_ALLOW_SOURCE: Allow reception of a source
57  * GMPR_NOTIF_BLOCK_SOURCE: Block reception of a source
58  *
59  * If either ADD_INCL or ADD_EXCL is received, this means all previous
60  * sources for the group must be discarded. Once the mode is
61  * established, ALLOW and BLOCK calls are used to modify the source
62  * address set.
63  *
64  * Note that an ADD_INCL notification is guaranteed to be followed by
65  * at least one ALLOW; group deletions are handled by GROUP_DELETE,
66  * and there are no null Includes. The client can create group state
67  * with confidence that an ALLOW will follow (or potentially a DELETE
68  * due to state compression.)
69  *
70  * Note that, depending on timing and the kinds of messages sent by
71  * hosts, the client may see a GROUP_DELETE without BLOCK_SOURCE
72  * messages (indicating that all sources should be deleted along with
73  * the group), or it may see a series of BLOCK_SOURCE messages that
74  * delete all sources in a group without seeing a GROUP_DELETE
75  * message. These are semantically identical, and the client must
76  * deal with both cases.
77  *
78  * If the client wishes full state instead of (or along with) deltas, a
79  * notification of GMPR_NOTIF_GROUP_STATE is passed that contains the
80  * full group state (filter mode and all sources) whenever an ADD_INCL,
81  * ADD_EXCL, ALLOW_SOURCE, or BLOCK_SOURCE notification would be passed.
82  * GROUP_DELETE is used in this case to indicate the group deletion.
83  *
84  * When a client is registered, all state is enqueued for it.
85  *
86  * If desired, a client can refresh its state by calling
87  * gmpr_refresh(). It will receive all state in the form of
88  * notifications. In addition, a special notification of type
89  * GMPR_NOTIF_REFRESH_END will be enqueued at the end of the enqueued
90  * state. This allows a client that wants to do soft refresh
91  * (updating state before deleting any old state) to clean up old
92  * state knowing that everything has been refreshed.
93  *
94  * Note that redundant notifications can be received because of state
95  * compression. For example, if a group is active, then is deleted,
96  * then becomes active again, but the client did not read
97  * notifications after the first ADD_INCL, it will receive another
98  * ADD_INCL without ever seeing the DELETE (because the deletion was
99  * overtaken by the add.) This is clean semantically because the ADD
100  * notifications cause old state to be discarded.
101  *
102  * Similar things can happen with ALLOWs and BLOCKs.
103  *
104  *
105  * Host Notifications
106  *
107  * A similar system exists for notifications of host events. Note that
108  * host notifications are only defined for receive interest in groups
109  * and sources; in particular, non-null Exclude lists are not currently
110  * expressed in this API.
111  *
112  * When the first notification is enqueued for a client, the host notification
113  * callback is made. The client then calls gmpr_get_host_notification()
114  * at its leisure to pick up each notification. The callback will not be
115  * made again until the notification queue is drained.
116  *
117  * The notifications are of the following types:
118  * GMPR_NOTIF_HOST_JOIN: Join a *,G or S,G
119  * GMPR_NOTIF_HOST_LEAVE: Leave a *,G or S,G
120  * GMPR_NOTIF_HOST_TIMEOUT: Leave due to a host timeout
121  * GMPR_NOTIF_HOST_IFDOWN: Leave due to interface down
122  *
123  * State compression is done; if a host leaves a group and then rejoins it
124  * before the client reads the first notification, it will see only a JOIN,
125  * and if it joins and then leaves quickly, the client will see only a LEAVE.
126  *
127  *
128  * OIF remapping
129  *
130  * If the OIF remapping callback is defined, it is called for each received
131  * interest in a (*,G) or (S,G). The callback is expected to return the
132  * remapped interface ID corresponding to the input interface and (S,G).
133  */
134 
135 /*
136  * Client notification callback type
137  *
138  * This defines the callback to a client when a notification is ready.
139  */
140 typedef void (*gmpr_notif_cb)(void *cli_context);
141 
142 
143 /*
144  * OIF mapping callback type
145  *
146  * This defines the callback to a client to find out how to map an
147  * interface and (S,G) to an outgoing interface.
148  *
149  * Returns TRUE if the output_if parameter is filled in with an output
150  * interface, or FALSE if there is no output interface (it is blocked
151  * by policy.)
152  */
153 typedef boolean (*gmpr_oif_map_cb)(void *inst_context,
154  gmpx_intf_id rcv_if,
155  uint8_t *group_addr,
156  uint8_t *source_addr,
157  gmpx_intf_id *output_if);
158 
159 /*
160  * Policy callback type
161  *
162  * This defines the callback to a client to perform a policy check given
163  * an interface, group and (potentially) source. It returns TRUE if the
164  * report is allowed, or FALSE if not.
165  */
166 typedef boolean (*gmpr_policy_cb)(void *inst_context,
167  gmpx_intf_id rcv_if,
168  uint8_t *group_addr,
169  uint8_t *source_addr,
170  gmpx_packet_attr attribute);
171 
172 /*
173  * SSM check callback type
174  *
175  * This defines the callback to a client to verify if a group address is
176  * allowed to be used in a (*,G) join. This is used to detect attempts to
177  * join an SSM group without a source. It returns TRUE if the join is
178  * allowed, or FALSE if not.
179  */
180 typedef boolean (*gmpr_ssm_check_cb)(void *inst_context,
181  gmpx_intf_id rcv_if,
182  uint8_t *group_addr);
183 
184 /*
185  * Querier change callback type
186  *
187  * This defines the callback to a client when the querier status changes.
188  */
189 typedef void (*gmpr_querier_cb)(void *cli_context, gmpx_intf_id intf,
190  boolean querier, uint8_t *querier_addr);
191 
192 /*
193  * Router-side instance context block
194  */
195 typedef struct gmpr_instance_context_ {
196  gmpr_oif_map_cb rctx_oif_map_cb; /* OIF mapping callback */
197  gmpr_policy_cb rctx_policy_cb; /* Multicast policy callback */
198  gmpr_ssm_check_cb rctx_ssm_check_cb; /* SSM check callback */
200 
201 /*
202  * Router-side client context block
203  *
204  * This data structure carries linkage and other context information
205  * from a client of router-side GMP. This consists of a set of callbacks
206  * for various conditions. In addition, two booleans are used to say
207  * whether the client wishes to see full notifications, deltas, or both.
208  * At least one of these must be set.
209  */
210 typedef struct gmpr_client_context_ {
211  gmpr_notif_cb rctx_notif_cb; /* Notification callback */
212  gmpr_notif_cb rctx_host_notif_cb; /* Host notification callback */
213  gmpr_querier_cb rctx_querier_cb; /* Querier change callback */
214  boolean rctx_delta_notifications; /* TRUE if client wants deltas */
215  boolean rctx_full_notifications; /* TRUE if client wants full state */
217 
218 
219 /*
220  * Router-side client notification
221  *
222  * This data structure carries a single notification for a client. A
223  * notification consists of a single (intf, group) tuple, possibly
224  * with a source address (in the case of Allow and Block.) This is
225  * used to communicated aggregated group state to the upper layers.
226  *
227  * Normally, the addition and deletion of sources is done as a set of
228  * deltas (ALLOW/BLOCK of individual sources.) However, a client may
229  * optionally ask for complete group state upon each change; this is
230  * delvered in a GROUP_STATE notification.
231  */
232 typedef enum {
233  GMPR_NOTIF_GROUP_DELETE, /* Delete group */
234  GMPR_NOTIF_GROUP_ADD_EXCL, /* Add group in Exclude mode */
235  GMPR_NOTIF_GROUP_ADD_INCL, /* Add group in Include mode */
236  GMPR_NOTIF_ALLOW_SOURCE, /* Allow traffic for source */
237  GMPR_NOTIF_BLOCK_SOURCE, /* Block traffic to source */
238  GMPR_NOTIF_REFRESH_END, /* End of refresh stream */
239  GMPR_NOTIF_GROUP_STATE, /* Complete group state */
241 
243  gmpx_intf_id notif_intf_id; /* Interface ID */
244  gmp_addr_string notif_group_addr; /* Group address */
245  gmpr_client_notification_type notif_type; /* Notification type */
246  gmp_addr_string notif_source_addr; /* Source address if applicable */
247  gmp_filter_mode notif_filter_mode; /* Current group filter mode */
248  gmp_addr_thread *notif_addr_thread; /* Address thread if GROUP_STATE */
249  boolean notif_last_sg; /* Last (s,g) for the same group? */
251 
252 
253 /*
254  * Router-side client host notification
255  *
256  * This data structure carries a single host notification for a client. A
257  * notification consists of a single (intf, host, group) tuple, possibly
258  * with a source address (in the case of Allow and Block.) This is used
259  * to communicate host request state to the upper layers if host tracking
260  * is enabled.
261  */
262 typedef enum {
263  GMPR_NOTIF_HOST_UNKNOWN, /* We don't know yet */
264  GMPR_NOTIF_HOST_JOIN, /* Join a *,G or S,G */
265  GMPR_NOTIF_HOST_LEAVE, /* Leave a *,G or S,G */
266  GMPR_NOTIF_HOST_TIMEOUT, /* Leave due to a host timeout */
267  GMPR_NOTIF_HOST_IFDOWN, /* Leave due to interface down */
269 
272  gmpx_intf_id host_notif_intf_id; /* Interface ID */
274  gmp_addr_string host_notif_source_addr; /* Source address or 0 */
275  boolean host_notif_source_present; /* TRUE if source address present */
278 
279 
280 /*
281  * Interface list
282  *
283  * This structure is returned by gmpr_get_intf_list(), and must be freed
284  * by gmpr_free_intf_list() when it is processed.
285  */
286 
287 #define GMPR_INTF_LIST_SIZE 10 /* Number of interfaces per entry */
288 
289 typedef struct gmpr_client_intf_list_ {
290  struct gmpr_client_intf_list_ *gci_next; /* Next entry */
291  uint32_t gci_intf_count; /* Number of entries */
292  gmpx_intf_id gci_intfs[GMPR_INTF_LIST_SIZE]; /* Array of entries */
294 
295 
296 /*
297  * Group entry
298  *
299  * A pointer to this structure is returned by gmpr_get_intf_groups().
300  * It represents the state of a single group, and is linked to further
301  * groups.
302  *
303  * The caller is expected to pass it back via gmpr_destroy_intf_group().
304  */
305 typedef struct gmpr_intf_group_entry_ {
306  struct gmpr_intf_group_entry_ *gig_next; /* Next entry */
307  gmp_addr_string gig_group_addr; /* Group address */
308  gmp_filter_mode gig_filter_mode; /* Filter mode */
309  gmp_addr_thread *gig_sources; /* Source list, or NULL */
311 
312 
313 /*
314  * Host entry
315  *
316  * A pointer to this structure is returned by gmpr_get_intf_hosts().
317  * It represents a single host that has INCLUDE join state present and
318  * is linked to further hosts.
319  *
320  * The caller is expected to pass it back via gmpr_destroy_intf_hosts().
321  */
322 typedef struct gmpr_intf_host_entry_ {
323  struct gmpr_intf_host_entry_ *gih_next; /* Next entry */
324  gmp_addr_string gih_host_addr; /* Host address */
326 
327 
328 /*
329  * External references
330  */
332  void *inst_context,
333  gmpr_instance_context *context);
334 extern void gmpr_destroy_instance(gmp_instance_id instance_id);
336  void *cli_context,
337  gmpr_client_context *context);
338 extern void gmpr_detach(gmp_client_id client_id);
339 extern void gmpr_refresh(gmp_client_id client_id, boolean flush);
340 extern void gmpr_refresh_intf(gmp_client_id client_id, gmpx_intf_id intf_id,
341  boolean flush);
342 extern void gmpr_refresh_host_state(gmp_client_id client_id);
343 extern int gmpr_attach_intf(gmp_instance_id instance_id, gmpx_intf_id intf_id);
344 extern int gmpr_detach_intf(gmp_instance_id instance_id,
345  gmpx_intf_id intf_id);
346 extern int gmpr_set_intf_params(gmp_instance_id instance_id,
347  gmpx_intf_id intf_id,
348  gmpr_intf_params *params);
349 extern void gmpr_chk_grp_limit(gmp_instance_id instance_id,
350  gmpx_intf_id intf_id);
352  gmpx_intf_id intf_id);
355  gmpr_client_notification *last_notification);
359  gmpr_client_host_notification *last_notification);
361  gmpr_client_host_notification *host_notif);
362 extern boolean
364 
367  uint8_t *group_addr,
368  uint8_t *source_addr,
371 extern boolean
373  gmpx_intf_id intf_id,
374  const uint8_t *source_addr,
375  const uint8_t *group_addr, boolean exact);
376 extern void gmpr_update_intf_state(gmp_instance_id instance_id,
377  gmpx_intf_id intf_id,
378  const uint8_t *intf_addr);
380  gmpx_intf_id intf_id);
382  gmpx_intf_id intf_id,
383  const uint8_t *host_addr);
385  gmpx_intf_id intf_id);
388 extern boolean gmpr_is_initialized(void);
390  gmpx_intf_id intf_id,
391  const uint8_t *group_addr,
392  uint32_t pfx_len, boolean send_query);
393 extern boolean gmpr_sg_is_excluded(gmp_instance_id instance_id,
394  gmpx_intf_id intf_id,
395  const uint8_t *group_addr,
396  const uint8_t *source_addr);
397 extern void gmpr_update_trace_flags(gmp_instance_id instance_id,
398  uint32_t trace_flags);
400  gmpx_intf_id intf_id);
402  gmpx_intf_id intf_id);
404  gmpx_intf_id intf_id);
406  gmpx_intf_id intf_id);
407 extern void gmpr_notify_oif_map_change (gmp_proto proto, gmpx_intf_id intf_id);
408 
409 #endif /* __GMP_ROUTER_H__ */
void * gmp_client_id
Definition: gmp.h:40
gmp_filter_mode
Definition: gmp.h:67
void * gmp_instance_id
Definition: gmp.h:33
gmp_proto
Definition: gmp.h:46
gmpr_intf_list_match
Definition: gmp_router.h:365
@ INTF_LIST_LOOSE
Definition: gmp_router.h:365
@ INTF_LIST_STRICT
Definition: gmp_router.h:365
void gmpr_force_general_queries(gmp_instance_id instance_id, gmpx_intf_id intf_id)
int gmpr_set_intf_params(gmp_instance_id instance_id, gmpx_intf_id intf_id, gmpr_intf_params *params)
struct gmpr_instance_context_ gmpr_instance_context
struct gmpr_client_context_ gmpr_client_context
void gmpr_chk_grp_limit(gmp_instance_id instance_id, gmpx_intf_id intf_id)
boolean gmpr_sg_is_excluded(gmp_instance_id instance_id, gmpx_intf_id intf_id, const uint8_t *group_addr, const uint8_t *source_addr)
void gmpr_refresh(gmp_client_id client_id, boolean flush)
gmpr_client_notification_type
Definition: gmp_router.h:232
@ GMPR_NOTIF_REFRESH_END
Definition: gmp_router.h:238
@ GMPR_NOTIF_GROUP_STATE
Definition: gmp_router.h:239
@ GMPR_NOTIF_GROUP_DELETE
Definition: gmp_router.h:233
@ GMPR_NOTIF_BLOCK_SOURCE
Definition: gmp_router.h:237
@ GMPR_NOTIF_GROUP_ADD_INCL
Definition: gmp_router.h:235
@ GMPR_NOTIF_ALLOW_SOURCE
Definition: gmp_router.h:236
@ GMPR_NOTIF_GROUP_ADD_EXCL
Definition: gmp_router.h:234
struct gmpr_client_notification_ gmpr_client_notification
struct gmpr_client_host_notification_ gmpr_client_host_notification
gmpr_client_host_notification_type
Definition: gmp_router.h:262
@ GMPR_NOTIF_HOST_LEAVE
Definition: gmp_router.h:265
@ GMPR_NOTIF_HOST_JOIN
Definition: gmp_router.h:264
@ GMPR_NOTIF_HOST_IFDOWN
Definition: gmp_router.h:267
@ GMPR_NOTIF_HOST_UNKNOWN
Definition: gmp_router.h:263
@ GMPR_NOTIF_HOST_TIMEOUT
Definition: gmp_router.h:266
gmp_client_id gmpr_register(gmp_instance_id instance_id, void *cli_context, gmpr_client_context *context)
gmpr_intf_host_entry * gmpr_get_intf_hosts(gmp_instance_id instance_id, gmpx_intf_id intf_id)
struct gmpr_client_intf_list_ gmpr_client_intf_list
void gmpr_destroy_intf_group(gmpr_intf_group_entry *group_list)
gmpr_client_host_notification * gmpr_get_host_notification(gmp_client_id client_id, gmpr_client_host_notification *last_notification)
void gmpr_update_trace_flags(gmp_instance_id instance_id, uint32_t trace_flags)
void gmpr_refresh_host_state(gmp_client_id client_id)
boolean gmpr_notification_last_sg(gmpr_client_notification *notification)
void gmpr_force_one_general_query(gmp_instance_id instance_id, gmpx_intf_id intf_id)
void(* gmpr_notif_cb)(void *cli_context)
Definition: gmp_router.h:140
#define GMPR_INTF_LIST_SIZE
Definition: gmp_router.h:287
void gmpr_return_host_notification(gmpr_client_host_notification *host_notif)
gmpr_intf_group_entry * gmpr_get_intf_groups(gmp_instance_id instance_id, gmpx_intf_id intf_id)
void gmpr_request_one_general_query(gmp_instance_id instance_id, gmpx_intf_id intf_id)
boolean(* gmpr_ssm_check_cb)(void *inst_context, gmpx_intf_id rcv_if, uint8_t *group_addr)
Definition: gmp_router.h:180
boolean gmpr_is_initialized(void)
gmp_instance_id gmpr_create_instance(gmp_proto proto, void *inst_context, gmpr_instance_context *context)
void gmpr_destroy_intf_host(gmpr_intf_host_entry *host_list)
int gmpr_detach_intf(gmp_instance_id instance_id, gmpx_intf_id intf_id)
struct gmpr_intf_group_entry_ gmpr_intf_group_entry
gmpr_client_notification * gmpr_get_notification(gmp_client_id client_id, gmpr_client_notification *last_notification)
void(* gmpr_querier_cb)(void *cli_context, gmpx_intf_id intf, boolean querier, uint8_t *querier_addr)
Definition: gmp_router.h:189
gmpr_client_intf_list * gmpr_get_intf_list(gmp_instance_id instance_id, uint8_t *group_addr, uint8_t *source_addr, gmpr_intf_list_match type)
boolean(* gmpr_oif_map_cb)(void *inst_context, gmpx_intf_id rcv_if, uint8_t *group_addr, uint8_t *source_addr, gmpx_intf_id *output_if)
Definition: gmp_router.h:153
void gmpr_request_general_queries(gmp_instance_id instance_id, gmpx_intf_id intf_id)
int gmpr_disable_host_tracking(gmp_instance_id instance_id, gmpx_intf_id intf_id)
void gmpr_timeout_group_range(gmp_instance_id instance_id, gmpx_intf_id intf_id, const uint8_t *group_addr, uint32_t pfx_len, boolean send_query)
boolean(* gmpr_policy_cb)(void *inst_context, gmpx_intf_id rcv_if, uint8_t *group_addr, uint8_t *source_addr, gmpx_packet_attr attribute)
Definition: gmp_router.h:166
void gmpr_free_intf_list(gmpr_client_intf_list *intf_list)
void gmpr_refresh_intf(gmp_client_id client_id, gmpx_intf_id intf_id, boolean flush)
void gmpr_update_intf_state(gmp_instance_id instance_id, gmpx_intf_id intf_id, const uint8_t *intf_addr)
struct gmpr_intf_host_entry_ gmpr_intf_host_entry
boolean gmpr_is_forwarding_channel(gmp_instance_id instance_id, gmpx_intf_id intf_id, const uint8_t *source_addr, const uint8_t *group_addr, boolean exact)
gmpr_intf_group_entry * gmpr_get_host_groups(gmp_instance_id instance_id, gmpx_intf_id intf_id, const uint8_t *host_addr)
void gmpr_notify_oif_map_change(gmp_proto proto, gmpx_intf_id intf_id)
void gmpr_detach(gmp_client_id client_id)
void gmpr_return_notification(gmpr_client_notification *notification)
void gmpr_destroy_instance(gmp_instance_id instance_id)
int gmpr_attach_intf(gmp_instance_id instance_id, gmpx_intf_id intf_id)
boolean gmpx_packet_attr
uint8_t type
Definition: load_balance.h:2
unsigned int boolean
Definition: mcast_common.h:12
boolean rctx_full_notifications
Definition: gmp_router.h:215
gmpr_querier_cb rctx_querier_cb
Definition: gmp_router.h:213
boolean rctx_delta_notifications
Definition: gmp_router.h:214
gmpr_notif_cb rctx_notif_cb
Definition: gmp_router.h:211
gmpr_notif_cb rctx_host_notif_cb
Definition: gmp_router.h:212
gmp_addr_string host_notif_source_addr
Definition: gmp_router.h:274
gmp_addr_string host_notif_host_addr
Definition: gmp_router.h:276
gmpr_client_host_notification_type host_notif_type
Definition: gmp_router.h:271
gmp_addr_string host_notif_group_addr
Definition: gmp_router.h:273
gmpx_intf_id gci_intfs[GMPR_INTF_LIST_SIZE]
Definition: gmp_router.h:292
struct gmpr_client_intf_list_ * gci_next
Definition: gmp_router.h:290
gmp_addr_string notif_source_addr
Definition: gmp_router.h:246
gmpx_intf_id notif_intf_id
Definition: gmp_router.h:243
gmp_filter_mode notif_filter_mode
Definition: gmp_router.h:247
gmp_addr_string notif_group_addr
Definition: gmp_router.h:244
gmpr_client_notification_type notif_type
Definition: gmp_router.h:245
gmp_addr_thread * notif_addr_thread
Definition: gmp_router.h:248
gmpr_policy_cb rctx_policy_cb
Definition: gmp_router.h:197
gmpr_ssm_check_cb rctx_ssm_check_cb
Definition: gmp_router.h:198
gmpr_oif_map_cb rctx_oif_map_cb
Definition: gmp_router.h:196
Definition: gmp_router.h:305
gmp_addr_string gig_group_addr
Definition: gmp_router.h:307
struct gmpr_intf_group_entry_ * gig_next
Definition: gmp_router.h:306
gmp_addr_thread * gig_sources
Definition: gmp_router.h:309
gmp_filter_mode gig_filter_mode
Definition: gmp_router.h:308
Definition: gmp_router.h:322
gmp_addr_string gih_host_addr
Definition: gmp_router.h:324
struct gmpr_intf_host_entry_ * gih_next
Definition: gmp_router.h:323