nd6.h (3ee1a36e2ef343e0af2cf0389c268695aba14eac) nd6.h (3b0b2840be64ee1ed67bc6939c412b59bfaac2c7)
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 264 unchanged lines hidden (view full) ---

273 struct prf_ra ndpr_flags;
274 u_int32_t ndpr_stateflags; /* actual state flags */
275 /* list of routers that advertise the prefix: */
276 LIST_HEAD(pr_rtrhead, nd_pfxrouter) ndpr_advrtrs;
277 u_char ndpr_plen;
278 int ndpr_refcnt; /* reference couter from addresses */
279};
280
1/*-
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 264 unchanged lines hidden (view full) ---

273 struct prf_ra ndpr_flags;
274 u_int32_t ndpr_stateflags; /* actual state flags */
275 /* list of routers that advertise the prefix: */
276 LIST_HEAD(pr_rtrhead, nd_pfxrouter) ndpr_advrtrs;
277 u_char ndpr_plen;
278 int ndpr_refcnt; /* reference couter from addresses */
279};
280
281#define ndpr_next ndpr_entry.le_next
282
283#define ndpr_raf ndpr_flags
284#define ndpr_raf_onlink ndpr_flags.onlink
285#define ndpr_raf_auto ndpr_flags.autonomous
286#define ndpr_raf_router ndpr_flags.router
287
288/*
289 * Message format for use in obtaining information about prefixes
290 * from inet6 sysctl function

--- 17 unchanged lines hidden (view full) ---

308
309#define prm_statef_onlink prm_flags.prf_state.onlink
310
311#define prm_rrf_decrvalid prm_flags.prf_rr.decrvalid
312#define prm_rrf_decrprefd prm_flags.prf_rr.decrprefd
313
314struct nd_pfxrouter {
315 LIST_ENTRY(nd_pfxrouter) pfr_entry;
281#define ndpr_raf ndpr_flags
282#define ndpr_raf_onlink ndpr_flags.onlink
283#define ndpr_raf_auto ndpr_flags.autonomous
284#define ndpr_raf_router ndpr_flags.router
285
286/*
287 * Message format for use in obtaining information about prefixes
288 * from inet6 sysctl function

--- 17 unchanged lines hidden (view full) ---

306
307#define prm_statef_onlink prm_flags.prf_state.onlink
308
309#define prm_rrf_decrvalid prm_flags.prf_rr.decrvalid
310#define prm_rrf_decrprefd prm_flags.prf_rr.decrprefd
311
312struct nd_pfxrouter {
313 LIST_ENTRY(nd_pfxrouter) pfr_entry;
316#define pfr_next pfr_entry.le_next
317 struct nd_defrouter *router;
318};
319
320LIST_HEAD(nd_prhead, nd_prefix);
321
322/* nd6.c */
323VNET_DECLARE(int, nd6_prune);
324VNET_DECLARE(int, nd6_delay);

--- 134 unchanged lines hidden ---
314 struct nd_defrouter *router;
315};
316
317LIST_HEAD(nd_prhead, nd_prefix);
318
319/* nd6.c */
320VNET_DECLARE(int, nd6_prune);
321VNET_DECLARE(int, nd6_delay);

--- 134 unchanged lines hidden ---