if_faith.c (139823) | if_faith.c (142352) |
---|---|
1/* $KAME: if_faith.c,v 1.23 2001/12/17 13:55:29 sumikawa Exp $ */ 2 3/*- 4 * Copyright (c) 1982, 1986, 1993 5 * The Regents of the University of California. 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 --- 14 unchanged lines hidden (view full) --- 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * | 1/* $KAME: if_faith.c,v 1.23 2001/12/17 13:55:29 sumikawa Exp $ */ 2 3/*- 4 * Copyright (c) 1982, 1986, 1993 5 * The Regents of the University of California. 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 --- 14 unchanged lines hidden (view full) --- 23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 * |
31 * $FreeBSD: head/sys/net/if_faith.c 139823 2005-01-07 01:45:51Z imp $ | 31 * $FreeBSD: head/sys/net/if_faith.c 142352 2005-02-24 01:34:01Z sam $ |
32 */ 33/* 34 * derived from 35 * @(#)if_loop.c 8.1 (Berkeley) 6/10/93 36 * Id: if_loop.c,v 1.22 1996/06/19 16:24:10 wollman Exp 37 */ 38 39/* --- 230 unchanged lines hidden (view full) --- 270/* ARGSUSED */ 271static void 272faithrtrequest(cmd, rt, info) 273 int cmd; 274 struct rtentry *rt; 275 struct rt_addrinfo *info; 276{ 277 RT_LOCK_ASSERT(rt); | 32 */ 33/* 34 * derived from 35 * @(#)if_loop.c 8.1 (Berkeley) 6/10/93 36 * Id: if_loop.c,v 1.22 1996/06/19 16:24:10 wollman Exp 37 */ 38 39/* --- 230 unchanged lines hidden (view full) --- 270/* ARGSUSED */ 271static void 272faithrtrequest(cmd, rt, info) 273 int cmd; 274 struct rtentry *rt; 275 struct rt_addrinfo *info; 276{ 277 RT_LOCK_ASSERT(rt); |
278 if (rt) 279 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; | 278 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu; |
280} 281 282/* 283 * Process an ioctl request. 284 */ 285/* ARGSUSED */ 286static int 287faithioctl(ifp, cmd, data) --- 87 unchanged lines hidden --- | 279} 280 281/* 282 * Process an ioctl request. 283 */ 284/* ARGSUSED */ 285static int 286faithioctl(ifp, cmd, data) --- 87 unchanged lines hidden --- |