Deleted Added
full compact
ipx.c (90868) ipx.c (92917)
1/*
2 * Copyright (c) 1999, Boris Popov
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

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

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
1/*
2 * Copyright (c) 1999, Boris Popov
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

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

26 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 * SUCH DAMAGE.
31 */
32
33#include <sys/cdefs.h>
34__FBSDID("$FreeBSD: head/lib/libncp/ipx.c 90868 2002-02-18 20:35:27Z mike $");
34__FBSDID("$FreeBSD: head/lib/libncp/ipx.c 92917 2002-03-21 23:54:04Z obrien $");
35
36#include <sys/param.h>
37#include <sys/ioctl.h>
38#include <sys/socket.h>
39#include <sys/sysctl.h>
40#include <sys/time.h>
41
42#include <arpa/inet.h>

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

182}
183
184
185void ipx_assign_node(IPXNode *dest, IPXNode *src) {
186 memcpy(dest, src, IPX_NODE_LEN);
187}
188
189
35
36#include <sys/param.h>
37#include <sys/ioctl.h>
38#include <sys/socket.h>
39#include <sys/sysctl.h>
40#include <sys/time.h>
41
42#include <arpa/inet.h>

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

182}
183
184
185void ipx_assign_node(IPXNode *dest, IPXNode *src) {
186 memcpy(dest, src, IPX_NODE_LEN);
187}
188
189
190static void rt_xaddrs __P((caddr_t, caddr_t, struct rt_addrinfo *));
190static void rt_xaddrs(caddr_t, caddr_t, struct rt_addrinfo *);
191static int if_ipxscan __P((int addrcount, struct sockaddr_dl *sdl, struct if_msghdr *ifm,
192 struct ifa_msghdr *ifam,struct ipx_addr *addr));
193
194/*
195 * Find an IPX interface.
196 * ifname specifies interface name, if NULL search for all interfaces
197 * if ifname[0]='0', also all interfaces, but return its name
198 * addr on input preferred net address can be specified or 0 for any,

--- 156 unchanged lines hidden ---
191static int if_ipxscan __P((int addrcount, struct sockaddr_dl *sdl, struct if_msghdr *ifm,
192 struct ifa_msghdr *ifam,struct ipx_addr *addr));
193
194/*
195 * Find an IPX interface.
196 * ifname specifies interface name, if NULL search for all interfaces
197 * if ifname[0]='0', also all interfaces, but return its name
198 * addr on input preferred net address can be specified or 0 for any,

--- 156 unchanged lines hidden ---