Deleted Added
full compact
if_fwsubr.c (332159) if_fwsubr.c (369819)
1/*-
2 * Copyright (c) 2004 Doug Rabson
3 * Copyright (c) 1982, 1989, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
1/*-
2 * Copyright (c) 2004 Doug Rabson
3 * Copyright (c) 1982, 1989, 1993
4 * The Regents of the University of California. All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

22 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
29 *
30 * $FreeBSD: stable/11/sys/net/if_fwsubr.c 332159 2018-04-06 23:31:47Z brooks $
30 * $FreeBSD: stable/11/sys/net/if_fwsubr.c 369819 2021-05-17 10:01:37Z avatar $
31 */
32
33#include "opt_inet.h"
34#include "opt_inet6.h"
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/kernel.h>

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

627#endif
628
629 default:
630 m_freem(m);
631 return;
632 }
633
634 M_SETFIB(m, ifp->if_fib);
31 */
32
33#include "opt_inet.h"
34#include "opt_inet6.h"
35
36#include <sys/param.h>
37#include <sys/systm.h>
38#include <sys/kernel.h>

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

627#endif
628
629 default:
630 m_freem(m);
631 return;
632 }
633
634 M_SETFIB(m, ifp->if_fib);
635 CURVNET_SET_QUIET(ifp->if_vnet);
635 netisr_dispatch(isr, m);
636 netisr_dispatch(isr, m);
637 CURVNET_RESTORE();
636}
637
638int
639firewire_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
640{
641 struct ifaddr *ifa = (struct ifaddr *) data;
642 struct ifreq *ifr = (struct ifreq *) data;
643 int error = 0;

--- 208 unchanged lines hidden ---
638}
639
640int
641firewire_ioctl(struct ifnet *ifp, u_long command, caddr_t data)
642{
643 struct ifaddr *ifa = (struct ifaddr *) data;
644 struct ifreq *ifr = (struct ifreq *) data;
645 int error = 0;

--- 208 unchanged lines hidden ---