Deleted Added
full compact
ipx_if.h (11947) ipx_if.h (11991)
1/*
2 * Copyright (c) 1995, Mike Mitchell
3 * Copyright (c) 1984, 1985, 1986, 1987, 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:

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

26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
1/*
2 * Copyright (c) 1995, Mike Mitchell
3 * Copyright (c) 1984, 1985, 1986, 1987, 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:

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

26 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
32 * SUCH DAMAGE.
33 *
34 * @(#)ipx_if.h
34 * @(#)$Id$
35 */
36
37#ifndef _NETIPX_IPX_IF_H_
38#define _NETIPX_IPX_IF_H_
39
40/*
41 * Interface address. One of these structures
42 * is allocated for each interface with an internet address.

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

64/*
65 * Given a pointer to an ipx_ifaddr (ifaddr),
66 * return a pointer to the addr as a sockadd_ipx.
67 */
68
69#define IA_SIPX(ia) (&(((struct ipx_ifaddr *)(ia))->ia_addr))
70
71/* This is not the right place for this but where is? */
35 */
36
37#ifndef _NETIPX_IPX_IF_H_
38#define _NETIPX_IPX_IF_H_
39
40/*
41 * Interface address. One of these structures
42 * is allocated for each interface with an internet address.

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

64/*
65 * Given a pointer to an ipx_ifaddr (ifaddr),
66 * return a pointer to the addr as a sockadd_ipx.
67 */
68
69#define IA_SIPX(ia) (&(((struct ipx_ifaddr *)(ia))->ia_addr))
70
71/* This is not the right place for this but where is? */
72#define ETHERTYPE_IPX 0x8137
73
72
73#define ETHERTYPE_IPX_8022 0x00e0 /* Ethernet_802.2 */
74#define ETHERTYPE_IPX_8023 0x0000 /* Ethernet_802.3 */
75#define ETHERTYPE_IPX_II 0x8137 /* Ethernet_II */
76#define ETHERTYPE_IPX_SNAP 0x8137 /* Ethernet_SNAP */
77
78#define ETHERTYPE_IPX 0x8137 /* Only Ethernet_II Available */
79
74#ifdef IPXIP
75struct ipxip_req {
76 struct sockaddr rq_ipx; /* must be ipx format destination */
77 struct sockaddr rq_ip; /* must be ip format gateway */
78 short rq_flags;
79};
80#endif
81

--- 16 unchanged lines hidden ---
80#ifdef IPXIP
81struct ipxip_req {
82 struct sockaddr rq_ipx; /* must be ipx format destination */
83 struct sockaddr rq_ip; /* must be ip format gateway */
84 short rq_flags;
85};
86#endif
87

--- 16 unchanged lines hidden ---