iplang_y.y (302408) | iplang_y.y (363769) |
---|---|
1/* $FreeBSD: stable/11/contrib/ipfilter/iplang/iplang_y.y 255332 2013-09-06 23:11:19Z cy $ */ | 1/* $FreeBSD: stable/11/contrib/ipfilter/iplang/iplang_y.y 363769 2020-08-02 04:25:36Z cy $ */ |
2 3%{ 4/* 5 * Copyright (C) 2012 by Darren Reed. 6 * 7 * See the IPFILTER.LICENCE file for details on licencing. 8 * 9 * Id: iplang_y.y,v 2.9.2.4 2006/03/17 12:11:29 darrenr Exp $ | 2 3%{ 4/* 5 * Copyright (C) 2012 by Darren Reed. 6 * 7 * See the IPFILTER.LICENCE file for details on licencing. 8 * 9 * Id: iplang_y.y,v 2.9.2.4 2006/03/17 12:11:29 darrenr Exp $ |
10 * $FreeBSD: stable/11/contrib/ipfilter/iplang/iplang_y.y 255332 2013-09-06 23:11:19Z cy $ | 10 * $FreeBSD: stable/11/contrib/ipfilter/iplang/iplang_y.y 363769 2020-08-02 04:25:36Z cy $ |
11 */ 12 13#include <stdio.h> 14#include <string.h> 15#include <fcntl.h> 16#if !defined(__SVR4) && !defined(__svr4__) 17# include <strings.h> 18#else --- 21 unchanged lines hidden (view full) --- 40#include <arpa/inet.h> 41#include <resolv.h> 42#include <ctype.h> 43#include "ipsend.h" 44#include "ip_compat.h" 45#include "ipf.h" 46#include "iplang.h" 47 | 11 */ 12 13#include <stdio.h> 14#include <string.h> 15#include <fcntl.h> 16#if !defined(__SVR4) && !defined(__svr4__) 17# include <strings.h> 18#else --- 21 unchanged lines hidden (view full) --- 40#include <arpa/inet.h> 41#include <resolv.h> 42#include <ctype.h> 43#include "ipsend.h" 44#include "ip_compat.h" 45#include "ipf.h" 46#include "iplang.h" 47 |
48#if !defined(__NetBSD__) && (!defined(__FreeBSD_version) && \ 49 __FreeBSD_version < 400020) && (!SOLARIS || SOLARIS2 < 10) 50extern struct ether_addr *ether_aton __P((char *)); 51#endif 52 | |
53extern int opts; 54extern struct ipopt_names ionames[]; 55extern int state, state, lineNum, token; 56extern int yylineno; 57extern char yytext[]; 58extern FILE *yyin; 59int yylex __P((void)); 60#define YYDEBUG 1 | 48extern int opts; 49extern struct ipopt_names ionames[]; 50extern int state, state, lineNum, token; 51extern int yylineno; 52extern char yytext[]; 53extern FILE *yyin; 54int yylex __P((void)); 55#define YYDEBUG 1 |
61#if !defined(ultrix) && !defined(hpux) | |
62int yydebug = 1; | 56int yydebug = 1; |
63#else 64extern int yydebug; 65#endif | |
66 67iface_t *iflist = NULL, **iftail = &iflist; 68iface_t *cifp = NULL; 69arp_t *arplist = NULL, **arptail = &arplist, *carp = NULL; 70struct in_addr defrouter; 71send_t sending; 72char *sclass = NULL; 73u_short c_chksum __P((u_short *, u_int, u_long)); --- 1785 unchanged lines hidden --- | 57 58iface_t *iflist = NULL, **iftail = &iflist; 59iface_t *cifp = NULL; 60arp_t *arplist = NULL, **arptail = &arplist, *carp = NULL; 61struct in_addr defrouter; 62send_t sending; 63char *sclass = NULL; 64u_short c_chksum __P((u_short *, u_int, u_long)); --- 1785 unchanged lines hidden --- |