ipsend.c (344833) | ipsend.c (363769) |
---|---|
1/* $FreeBSD: stable/11/contrib/ipfilter/ipsend/ipsend.c 344833 2019-03-06 02:37:25Z cy $ */ | 1/* $FreeBSD: stable/11/contrib/ipfilter/ipsend/ipsend.c 363769 2020-08-02 04:25:36Z cy $ */ |
2/* 3 * ipsend.c (C) 1995-1998 Darren Reed 4 * 5 * See the IPFILTER.LICENCE file for details on licencing. 6 */ 7#if !defined(lint) 8static const char sccsid[] = "@(#)ipsend.c 1.5 12/10/95 (C)1995 Darren Reed"; 9static const char rcsid[] = "@(#)$Id$"; --- 18 unchanged lines hidden (view full) --- 28 29 30extern char *optarg; 31extern int optind; 32extern void iplang __P((FILE *)); 33 34char options[68]; 35int opts; | 2/* 3 * ipsend.c (C) 1995-1998 Darren Reed 4 * 5 * See the IPFILTER.LICENCE file for details on licencing. 6 */ 7#if !defined(lint) 8static const char sccsid[] = "@(#)ipsend.c 1.5 12/10/95 (C)1995 Darren Reed"; 9static const char rcsid[] = "@(#)$Id$"; --- 18 unchanged lines hidden (view full) --- 28 29 30extern char *optarg; 31extern int optind; 32extern void iplang __P((FILE *)); 33 34char options[68]; 35int opts; |
36# ifdef ultrix 37char default_device[] = "ln0"; 38# else 39# ifdef __bsdi__ 40char default_device[] = "ef0"; 41# else | |
42char default_device[] = "le0"; | 36char default_device[] = "le0"; |
43# endif /* __bsdi__ */ 44# endif /* ultrix */ | |
45 46 47static void usage __P((char *)); 48static void do_icmp __P((ip_t *, char *)); 49void udpcksum(ip_t *, struct udphdr *, int); 50int main __P((int, char **)); 51 52 --- 372 unchanged lines hidden --- | 37 38 39static void usage __P((char *)); 40static void do_icmp __P((ip_t *, char *)); 41void udpcksum(ip_t *, struct udphdr *, int); 42int main __P((int, char **)); 43 44 --- 372 unchanged lines hidden --- |