1/* $FreeBSD: stable/11/contrib/ipfilter/ipsend/arp.c 344833 2019-03-06 02:37:25Z cy $ */
| 1/* $FreeBSD: stable/11/contrib/ipfilter/ipsend/arp.c 363769 2020-08-02 04:25:36Z cy $ */
|
2 3/* 4 * arp.c (C) 1995-1998 Darren Reed 5 * 6 * See the IPFILTER.LICENCE file for details on licencing. 7 */ 8#if !defined(lint) 9static const char sccsid[] = "@(#)arp.c 1.4 1/11/96 (C)1995 Darren Reed"; 10static const char rcsid[] = "@(#)$Id$"; 11#endif 12#include <sys/types.h> 13#include <sys/socket.h>
| 2 3/* 4 * arp.c (C) 1995-1998 Darren Reed 5 * 6 * See the IPFILTER.LICENCE file for details on licencing. 7 */ 8#if !defined(lint) 9static const char sccsid[] = "@(#)arp.c 1.4 1/11/96 (C)1995 Darren Reed"; 10static const char rcsid[] = "@(#)$Id$"; 11#endif 12#include <sys/types.h> 13#include <sys/socket.h>
|
14#if !defined(ultrix) && !defined(hpux) && !defined(__hpux) && !defined(__osf__) && !defined(_AIX51)
| |
15# include <sys/sockio.h>
| 14# include <sys/sockio.h>
|
16#endif
| |
17#include <sys/ioctl.h> 18#include <netinet/in_systm.h> 19#include <netinet/in.h> 20#include <net/if.h> 21#include <netinet/if_ether.h>
| 15#include <sys/ioctl.h> 16#include <netinet/in_systm.h> 17#include <netinet/in.h> 18#include <net/if.h> 19#include <netinet/if_ether.h>
|
22#ifndef ultrix
| |
23# include <net/if_arp.h>
| 20# include <net/if_arp.h>
|
24#endif
| |
25#include <netinet/in.h> 26#include <netinet/ip.h> 27#include <netinet/ip_var.h> 28#include <netinet/tcp.h> 29#include <stdio.h> 30#include <errno.h> 31#include <netdb.h> 32#include "ipsend.h"
--- 107 unchanged lines hidden --- | 21#include <netinet/in.h> 22#include <netinet/ip.h> 23#include <netinet/ip_var.h> 24#include <netinet/tcp.h> 25#include <stdio.h> 26#include <errno.h> 27#include <netdb.h> 28#include "ipsend.h"
--- 107 unchanged lines hidden --- |