Deleted Added
full compact
if_gif.h (53541) if_gif.h (54263)
1/*
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * 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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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 *
1/*
2 * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
3 * 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

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

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
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 * $FreeBSD: head/sys/net/if_gif.h 53541 1999-11-22 02:45:11Z shin $
29 * $FreeBSD: head/sys/net/if_gif.h 54263 1999-12-07 17:39:16Z shin $
30 */
31
32/*
33 * if_gif.h
34 */
35
36#ifndef _NET_IF_GIF_H_
37#define _NET_IF_GIF_H_
38
30 */
31
32/*
33 * if_gif.h
34 */
35
36#ifndef _NET_IF_GIF_H_
37#define _NET_IF_GIF_H_
38
39#include <netinet/in.h>
40/* xxx sigh, why route have struct route instead of pointer? */
41
42struct gif_softc {
43 struct ifnet gif_if; /* common area */
44 struct sockaddr *gif_psrc; /* Physical src addr */
45 struct sockaddr *gif_pdst; /* Physical dst addr */
46 union {
47 struct route gifscr_ro; /* xxx */
48 struct route_in6 gifscr_ro6; /* xxx */
49 } gifsc_gifscr;

--- 22 unchanged lines hidden ---
39struct gif_softc {
40 struct ifnet gif_if; /* common area */
41 struct sockaddr *gif_psrc; /* Physical src addr */
42 struct sockaddr *gif_pdst; /* Physical dst addr */
43 union {
44 struct route gifscr_ro; /* xxx */
45 struct route_in6 gifscr_ro6; /* xxx */
46 } gifsc_gifscr;

--- 22 unchanged lines hidden ---