traceroute6.c (169144) | traceroute6.c (171135) |
---|---|
1/* $KAME: traceroute6.c,v 1.68 2004/01/25 11:16:12 suz Exp $ */ 2 3/* 4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 62 unchanged lines hidden (view full) --- 71 The Regents of the University of California. All rights reserved.\n"; 72#endif /* not lint */ 73 74#ifndef lint 75#if 0 76static char sccsid[] = "@(#)traceroute.c 8.1 (Berkeley) 6/6/93"; 77#endif 78static const char rcsid[] = | 1/* $KAME: traceroute6.c,v 1.68 2004/01/25 11:16:12 suz Exp $ */ 2 3/* 4 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 62 unchanged lines hidden (view full) --- 71 The Regents of the University of California. All rights reserved.\n"; 72#endif /* not lint */ 73 74#ifndef lint 75#if 0 76static char sccsid[] = "@(#)traceroute.c 8.1 (Berkeley) 6/6/93"; 77#endif 78static const char rcsid[] = |
79 "$FreeBSD: head/usr.sbin/traceroute6/traceroute6.c 169144 2007-04-30 19:08:13Z maxim $"; | 79 "$FreeBSD: head/usr.sbin/traceroute6/traceroute6.c 171135 2007-07-01 12:08:08Z gnn $"; |
80#endif /* not lint */ 81 82/* 83 * traceroute host - trace the route ip packets follow going to "host". 84 * 85 * Attempt to trace the route an ip packet would follow to some 86 * internet host. We find out intermediate hops by launching probe 87 * packets with a small ttl (time to live) then listening for an --- 186 unchanged lines hidden (view full) --- 274#include <unistd.h> 275 276#include <netinet/ip6.h> 277#include <netinet/icmp6.h> 278#include <netinet/udp.h> 279 280#ifdef IPSEC 281#include <net/route.h> | 80#endif /* not lint */ 81 82/* 83 * traceroute host - trace the route ip packets follow going to "host". 84 * 85 * Attempt to trace the route an ip packet would follow to some 86 * internet host. We find out intermediate hops by launching probe 87 * packets with a small ttl (time to live) then listening for an --- 186 unchanged lines hidden (view full) --- 274#include <unistd.h> 275 276#include <netinet/ip6.h> 277#include <netinet/icmp6.h> 278#include <netinet/udp.h> 279 280#ifdef IPSEC 281#include <net/route.h> |
282#include <netinet6/ipsec.h> | 282#include <netipsec/ipsec.h> |
283#endif 284 285#define DUMMY_PORT 10010 286 287#define MAXPACKET 65535 /* max ip packet size */ 288 289#ifndef HAVE_GETIPNODEBYNAME 290#define getipnodebyname(x, y, z, u) gethostbyname2((x), (y)) --- 1083 unchanged lines hidden --- | 283#endif 284 285#define DUMMY_PORT 10010 286 287#define MAXPACKET 65535 /* max ip packet size */ 288 289#ifndef HAVE_GETIPNODEBYNAME 290#define getipnodebyname(x, y, z, u) gethostbyname2((x), (y)) --- 1083 unchanged lines hidden --- |