mroute6.c (75552) | mroute6.c (78064) |
---|---|
1/* 2 * Copyright (C) 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 --- 50 unchanged lines hidden (view full) --- 59 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 60 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 61 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 62 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 63 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 64 * SUCH DAMAGE. 65 * 66 * @(#)mroute.c 8.2 (Berkeley) 4/28/95 | 1/* 2 * Copyright (C) 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 --- 50 unchanged lines hidden (view full) --- 59 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 60 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 61 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 62 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 63 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 64 * SUCH DAMAGE. 65 * 66 * @(#)mroute.c 8.2 (Berkeley) 4/28/95 |
67 * $FreeBSD: head/usr.bin/netstat/mroute6.c 75552 2001-04-16 21:14:13Z jesper $ | 67 * $FreeBSD: head/usr.bin/netstat/mroute6.c 78064 2001-06-11 12:39:29Z ume $ |
68 */ 69 70#ifdef INET6 71#include <sys/param.h> 72#include <sys/queue.h> 73#include <sys/socket.h> 74#include <sys/socketvar.h> 75#include <sys/protosw.h> 76 77#include <net/if.h> 78#include <net/if_var.h> | 68 */ 69 70#ifdef INET6 71#include <sys/param.h> 72#include <sys/queue.h> 73#include <sys/socket.h> 74#include <sys/socketvar.h> 75#include <sys/protosw.h> 76 77#include <net/if.h> 78#include <net/if_var.h> |
79#include <net/route.h> |
|
79 80#include <netinet/in.h> 81 82#include <stdio.h> 83 84#define KERNEL 1 85#include <netinet6/ip6_mroute.h> 86#undef KERNEL --- 165 unchanged lines hidden --- | 80 81#include <netinet/in.h> 82 83#include <stdio.h> 84 85#define KERNEL 1 86#include <netinet6/ip6_mroute.h> 87#undef KERNEL --- 165 unchanged lines hidden --- |