Deleted Added
full compact
icmp6.h (54263) icmp6.h (55009)
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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/netinet6/icmp6.h 54263 1999-12-07 17:39:16Z shin $
29 * $FreeBSD: head/sys/netinet6/icmp6.h 55009 1999-12-22 19:13:38Z shin $
30 */
31
32/*
33 * Copyright (c) 1982, 1986, 1993
34 * The Regents of the University of California. All rights reserved.
35 *
36 * Redistribution and use in source and binary forms, with or without
37 * modification, are permitted provided that the following conditions

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

381 u_int8_t rpu_keeplen;
382 u_int8_t rpu_ramask;
383 u_int8_t rpu_raflags;
384 u_int32_t rpu_vltime;
385 u_int32_t rpu_pltime;
386 u_int32_t rpu_flags;
387 struct in6_addr rpu_prefix;
388};
30 */
31
32/*
33 * Copyright (c) 1982, 1986, 1993
34 * The Regents of the University of California. All rights reserved.
35 *
36 * Redistribution and use in source and binary forms, with or without
37 * modification, are permitted provided that the following conditions

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

381 u_int8_t rpu_keeplen;
382 u_int8_t rpu_ramask;
383 u_int8_t rpu_raflags;
384 u_int32_t rpu_vltime;
385 u_int32_t rpu_pltime;
386 u_int32_t rpu_flags;
387 struct in6_addr rpu_prefix;
388};
389#define ICMP6_RR_PCOUSE_RAFLAGS_ONLINK 0x20
390#define ICMP6_RR_PCOUSE_RAFLAGS_AUTO 0x10
389#define ICMP6_RR_PCOUSE_RAFLAGS_ONLINK 0x80
390#define ICMP6_RR_PCOUSE_RAFLAGS_AUTO 0x40
391
392#if BYTE_ORDER == BIG_ENDIAN
393#define ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME 0x80000000
394#define ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME 0x40000000
395#elif BYTE_ORDER == LITTLE_ENDIAN
396#define ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME 0x80
397#define ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME 0x40
398#endif

--- 207 unchanged lines hidden ---
391
392#if BYTE_ORDER == BIG_ENDIAN
393#define ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME 0x80000000
394#define ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME 0x40000000
395#elif BYTE_ORDER == LITTLE_ENDIAN
396#define ICMP6_RR_PCOUSE_FLAGS_DECRVLTIME 0x80
397#define ICMP6_RR_PCOUSE_FLAGS_DECRPLTIME 0x40
398#endif

--- 207 unchanged lines hidden ---