in6.h (60ee384760646565a24320d92c5219bc052ce947) | in6.h (1272577e22d8f1c1c5b5e88f2624836e93aecb17) |
---|---|
1/* $FreeBSD$ */ 2/* $KAME: in6.h,v 1.89 2001/05/27 13:28:35 itojun Exp $ */ 3 4/*- 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 341 unchanged lines hidden (view full) --- 350#define IN6_IS_SCOPE_LINKLOCAL(a) \ 351 ((IN6_IS_ADDR_LINKLOCAL(a)) || \ 352 (IN6_IS_ADDR_MC_LINKLOCAL(a))) 353#define IN6_IS_SCOPE_EMBED(a) \ 354 ((IN6_IS_ADDR_LINKLOCAL(a)) || \ 355 (IN6_IS_ADDR_MC_LINKLOCAL(a)) || \ 356 (IN6_IS_ADDR_MC_INTFACELOCAL(a))) 357 | 1/* $FreeBSD$ */ 2/* $KAME: in6.h,v 1.89 2001/05/27 13:28:35 itojun Exp $ */ 3 4/*- 5 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms, with or without --- 341 unchanged lines hidden (view full) --- 350#define IN6_IS_SCOPE_LINKLOCAL(a) \ 351 ((IN6_IS_ADDR_LINKLOCAL(a)) || \ 352 (IN6_IS_ADDR_MC_LINKLOCAL(a))) 353#define IN6_IS_SCOPE_EMBED(a) \ 354 ((IN6_IS_ADDR_LINKLOCAL(a)) || \ 355 (IN6_IS_ADDR_MC_LINKLOCAL(a)) || \ 356 (IN6_IS_ADDR_MC_INTFACELOCAL(a))) 357 |
358 | |
359#define IFA6_IS_DEPRECATED(a) \ 360 ((a)->ia6_lifetime.ia6t_pltime != ND6_INFINITE_LIFETIME && \ 361 (u_int32_t)((time_second - (a)->ia6_updatetime)) > \ 362 (a)->ia6_lifetime.ia6t_pltime) 363#define IFA6_IS_INVALID(a) \ 364 ((a)->ia6_lifetime.ia6t_vltime != ND6_INFINITE_LIFETIME && \ 365 (u_int32_t)((time_second - (a)->ia6_updatetime)) > \ 366 (a)->ia6_lifetime.ia6t_vltime) --- 330 unchanged lines hidden --- | 358#define IFA6_IS_DEPRECATED(a) \ 359 ((a)->ia6_lifetime.ia6t_pltime != ND6_INFINITE_LIFETIME && \ 360 (u_int32_t)((time_second - (a)->ia6_updatetime)) > \ 361 (a)->ia6_lifetime.ia6t_pltime) 362#define IFA6_IS_INVALID(a) \ 363 ((a)->ia6_lifetime.ia6t_vltime != ND6_INFINITE_LIFETIME && \ 364 (u_int32_t)((time_second - (a)->ia6_updatetime)) > \ 365 (a)->ia6_lifetime.ia6t_vltime) --- 330 unchanged lines hidden --- |