Deleted Added
full compact
if_fwsubr.c (243882) if_fwsubr.c (249925)
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: head/sys/net/if_fwsubr.c 243882 2012-12-05 08:04:20Z glebius $
30 * $FreeBSD: head/sys/net/if_fwsubr.c 249925 2013-04-26 12:50:32Z glebius $
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>

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

70 0xffffffff,
71 0xff,
72 0xff,
73 0xffff,
74 0xffffffff
75};
76
77static int
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>

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

70 0xffffffff,
71 0xff,
72 0xff,
73 0xffff,
74 0xffffffff
75};
76
77static int
78firewire_output(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst,
78firewire_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst,
79 struct route *ro)
80{
81 struct fw_com *fc = IFP2FWC(ifp);
82 int error, type;
83 struct m_tag *mtag;
84 union fw_encap *enc;
85 struct fw_hwaddr *destfw;
86 uint8_t speed;

--- 766 unchanged lines hidden ---
79 struct route *ro)
80{
81 struct fw_com *fc = IFP2FWC(ifp);
82 int error, type;
83 struct m_tag *mtag;
84 union fw_encap *enc;
85 struct fw_hwaddr *destfw;
86 uint8_t speed;

--- 766 unchanged lines hidden ---