178064Sume/*	$KAME: rrenumd.h,v 1.2 2000/07/03 02:54:09 itojun Exp $	*/
262638Skris
355505Sshin/*
455505Sshin * Copyright (C) 1998 WIDE Project.
555505Sshin * All rights reserved.
655505Sshin *
755505Sshin * Redistribution and use in source and binary forms, with or without
855505Sshin * modification, are permitted provided that the following conditions
955505Sshin * are met:
1055505Sshin * 1. Redistributions of source code must retain the above copyright
1155505Sshin *    notice, this list of conditions and the following disclaimer.
1255505Sshin * 2. Redistributions in binary form must reproduce the above copyright
1355505Sshin *    notice, this list of conditions and the following disclaimer in the
1455505Sshin *    documentation and/or other materials provided with the distribution.
1555505Sshin * 3. All advertising materials mentioning features or use of this software
1655505Sshin *    must display the following acknowledgement:
1755505Sshin *    This product includes software developed by WIDE Project and
1855505Sshin *    its contributors.
1955505Sshin * 4. Neither the name of the project nor the names of its contributors
2055505Sshin *    may be used to endorse or promote products derived from this software
2155505Sshin *    without specific prior written permission.
2255505Sshin *
2355505Sshin * THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
2455505Sshin * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2555505Sshin * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2655505Sshin * ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
2755505Sshin * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2855505Sshin * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2955505Sshin * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
3055505Sshin * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
3155505Sshin * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
3255505Sshin * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
3355505Sshin * SUCH DAMAGE.
3455505Sshin *
3555505Sshin * $FreeBSD: releng/11.0/usr.sbin/rrenumd/rrenumd.h 78064 2001-06-11 12:39:29Z ume $
3655505Sshin */
3755505Sshin
3855505Sshinstruct dst_list {
3962638Skris	struct dst_list *	dl_next;
4062638Skris	struct sockaddr *	dl_dst;
4155505Sshin};
4255505Sshin
4362638Skrisextern struct dst_list *dl_head;
4455505Sshin
4555505Sshinstruct payload_list {
4662638Skris	struct payload_list *	pl_next;
4762638Skris	struct iovec		pl_sndiov;
4862638Skris	struct icmp6_router_renum
4962638Skris				pl_irr;
5062638Skris	struct rr_pco_match	pl_rpm;
5155505Sshin	/* currently, support only 1 rr_pco_use field per packet */
5262638Skris	struct rr_pco_use	pl_rpu;
5355505Sshin};
5455505Sshin
5562638Skrisextern struct payload_list *pl_head;
5662638Skrisextern u_int retry;
5762638Skrisextern int with_v4dest, with_v6dest;
5855505Sshin
5962638Skris#define DEF_VLTIME 2592000
6062638Skris#define DEF_PLTIME 604800
61