44arp.c (24583) | 44arp.c (31183) |
---|---|
1/* 2 * Based upon 4.4BSD's /usr/sbin/arp 3 */ 4#include <unistd.h> 5#include <string.h> 6#include <stdlib.h> 7#include <sys/param.h> 8#include <sys/file.h> --- 8 unchanged lines hidden (view full) --- 17#include <arpa/inet.h> 18#include <netdb.h> 19#include <errno.h> 20#include <nlist.h> 21#include <stdio.h> 22#include <netinet/in.h> 23#include <netinet/ip_var.h> 24#include <netinet/tcp.h> | 1/* 2 * Based upon 4.4BSD's /usr/sbin/arp 3 */ 4#include <unistd.h> 5#include <string.h> 6#include <stdlib.h> 7#include <sys/param.h> 8#include <sys/file.h> --- 8 unchanged lines hidden (view full) --- 17#include <arpa/inet.h> 18#include <netdb.h> 19#include <errno.h> 20#include <nlist.h> 21#include <stdio.h> 22#include <netinet/in.h> 23#include <netinet/ip_var.h> 24#include <netinet/tcp.h> |
25#if __FreeBSD_version >= 300000 26# include <net/if_var.h> 27#endif |
|
25#include "ipsend.h" 26 27 28/* 29 * lookup host and return 30 * its IP address in address 31 * (4 bytes) 32 */ --- 68 unchanged lines hidden --- | 28#include "ipsend.h" 29 30 31/* 32 * lookup host and return 33 * its IP address in address 34 * (4 bytes) 35 */ --- 68 unchanged lines hidden --- |