Deleted Added
full compact
if_loop.c (257176) if_loop.c (262763)
1/*-
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. 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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)if_loop.c 8.2 (Berkeley) 1/9/95
1/*-
2 * Copyright (c) 1982, 1986, 1993
3 * The Regents of the University of California. 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

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

22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)if_loop.c 8.2 (Berkeley) 1/9/95
30 * $FreeBSD: head/sys/net/if_loop.c 257176 2013-10-26 17:58:36Z glebius $
30 * $FreeBSD: head/sys/net/if_loop.c 262763 2014-03-05 01:17:47Z glebius $
31 */
32
33/*
34 * Loopback interface driver for protocol testing and timing.
35 */
36
37#include "opt_atalk.h"
38#include "opt_inet.h"

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

390}
391
392/* ARGSUSED */
393static void
394lortrequest(int cmd, struct rtentry *rt, struct rt_addrinfo *info)
395{
396
397 RT_LOCK_ASSERT(rt);
31 */
32
33/*
34 * Loopback interface driver for protocol testing and timing.
35 */
36
37#include "opt_atalk.h"
38#include "opt_inet.h"

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

390}
391
392/* ARGSUSED */
393static void
394lortrequest(int cmd, struct rtentry *rt, struct rt_addrinfo *info)
395{
396
397 RT_LOCK_ASSERT(rt);
398 rt->rt_rmx.rmx_mtu = rt->rt_ifp->if_mtu;
398 rt->rt_mtu = rt->rt_ifp->if_mtu;
399}
400
401/*
402 * Process an ioctl request.
403 */
404/* ARGSUSED */
405int
406loioctl(struct ifnet *ifp, u_long cmd, caddr_t data)

--- 82 unchanged lines hidden ---
399}
400
401/*
402 * Process an ioctl request.
403 */
404/* ARGSUSED */
405int
406loioctl(struct ifnet *ifp, u_long cmd, caddr_t data)

--- 82 unchanged lines hidden ---