in6.h (fe12457335fb9a42d3bef24f9eade62d108d9ec3) in6.h (71498f308b2324dbd94e94fd8c4ae41bf4bd663b)
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

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

462
463#define IPV6_TCLASS 61 /* int; send traffic class value */
464#define IPV6_DONTFRAG 62 /* bool; disable IPv6 fragmentation */
465
466#define IPV6_PREFER_TEMPADDR 63 /* int; prefer temporary addresses as
467 * the source address.
468 */
469
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

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

462
463#define IPV6_TCLASS 61 /* int; send traffic class value */
464#define IPV6_DONTFRAG 62 /* bool; disable IPv6 fragmentation */
465
466#define IPV6_PREFER_TEMPADDR 63 /* int; prefer temporary addresses as
467 * the source address.
468 */
469
470/*
471 * The following option is private; do not use it from user applications.
472 * It is deliberately defined to the same value as IP_MSFILTER.
473 */
474#define IPV6_MSFILTER 74 /* struct __msfilterreq;
475 * set/get multicast source filter list.
476 */
477
470/* to define items, should talk with KAME guys first, for *BSD compatibility */
471
472#define IPV6_RTHDR_LOOSE 0 /* this hop need not be a neighbor. XXX old spec */
473#define IPV6_RTHDR_STRICT 1 /* this hop must be a neighbor. XXX old spec */
474#define IPV6_RTHDR_TYPE_0 0 /* IPv6 routing header type 0 */
475
476/*
477 * Defaults and limits for options

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

482/*
483 * Argument structure for IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP.
484 */
485struct ipv6_mreq {
486 struct in6_addr ipv6mr_multiaddr;
487 unsigned int ipv6mr_interface;
488};
489
478/* to define items, should talk with KAME guys first, for *BSD compatibility */
479
480#define IPV6_RTHDR_LOOSE 0 /* this hop need not be a neighbor. XXX old spec */
481#define IPV6_RTHDR_STRICT 1 /* this hop must be a neighbor. XXX old spec */
482#define IPV6_RTHDR_TYPE_0 0 /* IPv6 routing header type 0 */
483
484/*
485 * Defaults and limits for options

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

490/*
491 * Argument structure for IPV6_JOIN_GROUP and IPV6_LEAVE_GROUP.
492 */
493struct ipv6_mreq {
494 struct in6_addr ipv6mr_multiaddr;
495 unsigned int ipv6mr_interface;
496};
497
498#ifdef notyet
490/*
499/*
500 * Argument structure for IPV6_ADD_SOURCE_MEMBERSHIP,
501 * IPV6_DROP_SOURCE_MEMBERSHIP, IPV6_BLOCK_SOURCE, and IPV6_UNBLOCK_SOURCE.
502 */
503struct ipv6_mreq_source {
504 struct in6_addr ipv6mr_multiaddr;
505 struct in6_addr ipv6mr_sourceaddr;
506 uint32_t ipv6mr_interface;
507};
508#endif
509
510/*
491 * IPV6_PKTINFO: Packet information(RFC2292 sec 5)
492 */
493struct in6_pktinfo {
494 struct in6_addr ipi6_addr; /* src/dst IPv6 address */
495 unsigned int ipi6_ifindex; /* send/recv interface index */
496};
497
498/*

--- 172 unchanged lines hidden ---
511 * IPV6_PKTINFO: Packet information(RFC2292 sec 5)
512 */
513struct in6_pktinfo {
514 struct in6_addr ipi6_addr; /* src/dst IPv6 address */
515 unsigned int ipi6_ifindex; /* send/recv interface index */
516};
517
518/*

--- 172 unchanged lines hidden ---