arp.c (3afe5ccb7512f2632ee714e310b46470f2e4d6fa) | arp.c (972a1bcf5db5ee4c5520a1d29d3c81e81bdec84f) |
---|---|
1/* 2 * sys-bsd.c - System-dependent procedures for setting up 3 * PPP interfaces on bsd-4.4-ish systems (including 386BSD, NetBSD, etc.) 4 * 5 * Copyright (c) 1989 Carnegie Mellon University. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms are permitted 9 * provided that the above copyright notice and this paragraph are 10 * duplicated in all such forms and that any documentation, 11 * advertising materials, and other materials related to such 12 * distribution and use acknowledge that the software was developed 13 * by Carnegie Mellon University. The name of the 14 * University may not be used to endorse or promote products derived 15 * from this software without specific prior written permission. 16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 * | 1/* 2 * sys-bsd.c - System-dependent procedures for setting up 3 * PPP interfaces on bsd-4.4-ish systems (including 386BSD, NetBSD, etc.) 4 * 5 * Copyright (c) 1989 Carnegie Mellon University. 6 * All rights reserved. 7 * 8 * Redistribution and use in source and binary forms are permitted 9 * provided that the above copyright notice and this paragraph are 10 * duplicated in all such forms and that any documentation, 11 * advertising materials, and other materials related to such 12 * distribution and use acknowledge that the software was developed 13 * by Carnegie Mellon University. The name of the 14 * University may not be used to endorse or promote products derived 15 * from this software without specific prior written permission. 16 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 17 * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 18 * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 19 * |
20 * $Id: arp.c,v 1.30 1998/08/26 17:39:36 brian Exp $ | 20 * $Id: arp.c,v 1.31 1998/10/26 19:07:38 brian Exp $ |
21 * 22 */ 23 24/* 25 * TODO: 26 */ 27 | 21 * 22 */ 23 24/* 25 * TODO: 26 */ 27 |
28#include <sys/types.h> | 28#include <sys/param.h> |
29#include <sys/socket.h> 30#include <net/if.h> 31#include <net/route.h> 32#include <net/if_dl.h> 33#include <netinet/in.h> 34#include <netinet/if_ether.h> 35#include <arpa/inet.h> 36#include <netinet/in_systm.h> --- 20 unchanged lines hidden (view full) --- 57#include "hdlc.h" 58#include "ipcp.h" 59#include "filter.h" 60#include "descriptor.h" 61#include "lcp.h" 62#include "ccp.h" 63#include "link.h" 64#include "mp.h" | 29#include <sys/socket.h> 30#include <net/if.h> 31#include <net/route.h> 32#include <net/if_dl.h> 33#include <netinet/in.h> 34#include <netinet/if_ether.h> 35#include <arpa/inet.h> 36#include <netinet/in_systm.h> --- 20 unchanged lines hidden (view full) --- 57#include "hdlc.h" 58#include "ipcp.h" 59#include "filter.h" 60#include "descriptor.h" 61#include "lcp.h" 62#include "ccp.h" 63#include "link.h" 64#include "mp.h" |
65#ifndef NORADIUS 66#include "radius.h" 67#endif |
|
65#include "bundle.h" 66#include "arp.h" 67 68/* 69 * SET_SA_FAMILY - set the sa_family field of a struct sockaddr, 70 * if it exists. 71 */ 72#define SET_SA_FAMILY(addr, family) \ --- 248 unchanged lines hidden --- | 68#include "bundle.h" 69#include "arp.h" 70 71/* 72 * SET_SA_FAMILY - set the sa_family field of a struct sockaddr, 73 * if it exists. 74 */ 75#define SET_SA_FAMILY(addr, family) \ --- 248 unchanged lines hidden --- |