require '_h2ph_pre.ph';

unless(defined(&IPVERSION)) {
    sub IPVERSION () {	4;}
}
if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : 0)) {
}
if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&BIG_ENDIAN) ? &BIG_ENDIAN : 0)) {
}
unless(defined(&IP_RF)) {
    sub IP_RF () {	0x8000;}
}
unless(defined(&IP_DF)) {
    sub IP_DF () {	0x4000;}
}
unless(defined(&IP_MF)) {
    sub IP_MF () {	0x2000;}
}
unless(defined(&IP_OFFMASK)) {
    sub IP_OFFMASK () {	0x1fff;}
}
unless(defined(&IP_MAXPACKET)) {
    sub IP_MAXPACKET () {	65535;}
}
unless(defined(&IPTOS_LOWDELAY)) {
    sub IPTOS_LOWDELAY () {	0x10;}
}
unless(defined(&IPTOS_THROUGHPUT)) {
    sub IPTOS_THROUGHPUT () {	0x08;}
}
unless(defined(&IPTOS_RELIABILITY)) {
    sub IPTOS_RELIABILITY () {	0x04;}
}
if(1) {
    eval 'sub IPTOS_CE () {0x01;}' unless defined(&IPTOS_CE);
    eval 'sub IPTOS_ECT () {0x02;}' unless defined(&IPTOS_ECT);
}
unless(defined(&IPTOS_PREC_NETCONTROL)) {
    sub IPTOS_PREC_NETCONTROL () {	0xe0;}
}
unless(defined(&IPTOS_PREC_INTERNETCONTROL)) {
    sub IPTOS_PREC_INTERNETCONTROL () {	0xc0;}
}
unless(defined(&IPTOS_PREC_CRITIC_ECP)) {
    sub IPTOS_PREC_CRITIC_ECP () {	0xa0;}
}
unless(defined(&IPTOS_PREC_FLASHOVERRIDE)) {
    sub IPTOS_PREC_FLASHOVERRIDE () {	0x80;}
}
unless(defined(&IPTOS_PREC_FLASH)) {
    sub IPTOS_PREC_FLASH () {	0x60;}
}
unless(defined(&IPTOS_PREC_IMMEDIATE)) {
    sub IPTOS_PREC_IMMEDIATE () {	0x40;}
}
unless(defined(&IPTOS_PREC_PRIORITY)) {
    sub IPTOS_PREC_PRIORITY () {	0x20;}
}
unless(defined(&IPTOS_PREC_ROUTINE)) {
    sub IPTOS_PREC_ROUTINE () {	0x00;}
}
unless(defined(&IPOPT_COPIED)) {
    sub IPOPT_COPIED {
	local($o) = @_;
	eval q((($o)&0x80));
    }
}
unless(defined(&IPOPT_CLASS)) {
    sub IPOPT_CLASS {
	local($o) = @_;
	eval q((($o)&0x60));
    }
}
unless(defined(&IPOPT_NUMBER)) {
    sub IPOPT_NUMBER {
	local($o) = @_;
	eval q((($o)&0x1f));
    }
}
unless(defined(&IPOPT_CONTROL)) {
    sub IPOPT_CONTROL () {	0x00;}
}
unless(defined(&IPOPT_RESERVED1)) {
    sub IPOPT_RESERVED1 () {	0x20;}
}
unless(defined(&IPOPT_DEBMEAS)) {
    sub IPOPT_DEBMEAS () {	0x40;}
}
unless(defined(&IPOPT_RESERVED2)) {
    sub IPOPT_RESERVED2 () {	0x60;}
}
unless(defined(&IPOPT_EOL)) {
    sub IPOPT_EOL () {	0;}
}
unless(defined(&IPOPT_NOP)) {
    sub IPOPT_NOP () {	1;}
}
unless(defined(&IPOPT_RR)) {
    sub IPOPT_RR () {	7;}
}
unless(defined(&IPOPT_TS)) {
    sub IPOPT_TS () {	68;}
}
unless(defined(&IPOPT_SECURITY)) {
    sub IPOPT_SECURITY () {	130;}
}
unless(defined(&IPOPT_LSRR)) {
    sub IPOPT_LSRR () {	131;}
}
unless(defined(&IPOPT_SATID)) {
    sub IPOPT_SATID () {	136;}
}
unless(defined(&IPOPT_SSRR)) {
    sub IPOPT_SSRR () {	137;}
}
unless(defined(&IPOPT_OPTVAL)) {
    sub IPOPT_OPTVAL () {	0;}
}
unless(defined(&IPOPT_OLEN)) {
    sub IPOPT_OLEN () {	1;}
}
unless(defined(&IPOPT_OFFSET)) {
    sub IPOPT_OFFSET () {	2;}
}
unless(defined(&IPOPT_MINOFF)) {
    sub IPOPT_MINOFF () {	4;}
}
if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&LITTLE_ENDIAN) ? &LITTLE_ENDIAN : 0)) {
}
if((defined(&BYTE_ORDER) ? &BYTE_ORDER : 0) == (defined(&BIG_ENDIAN) ? &BIG_ENDIAN : 0)) {
}
unless(defined(&IPOPT_TS_TSONLY)) {
    sub IPOPT_TS_TSONLY () {	0;}
}
unless(defined(&IPOPT_TS_TSANDADDR)) {
    sub IPOPT_TS_TSANDADDR () {	1;}
}
unless(defined(&IPOPT_TS_PRESPEC)) {
    sub IPOPT_TS_PRESPEC () {	3;}
}
unless(defined(&IPOPT_SECUR_UNCLASS)) {
    sub IPOPT_SECUR_UNCLASS () {	0x0000;}
}
unless(defined(&IPOPT_SECUR_CONFID)) {
    sub IPOPT_SECUR_CONFID () {	0xf135;}
}
unless(defined(&IPOPT_SECUR_EFTO)) {
    sub IPOPT_SECUR_EFTO () {	0x789a;}
}
unless(defined(&IPOPT_SECUR_MMMM)) {
    sub IPOPT_SECUR_MMMM () {	0xbc4d;}
}
unless(defined(&IPOPT_SECUR_RESTR)) {
    sub IPOPT_SECUR_RESTR () {	0xaf13;}
}
unless(defined(&IPOPT_SECUR_SECRET)) {
    sub IPOPT_SECUR_SECRET () {	0xd788;}
}
unless(defined(&IPOPT_SECUR_TOPSECRET)) {
    sub IPOPT_SECUR_TOPSECRET () {	0x6bc5;}
}
unless(defined(&MAXTTL)) {
    sub MAXTTL () {	255;}
}
unless(defined(&IPDEFTTL)) {
    sub IPDEFTTL () {	64;}
}
unless(defined(&IPFRAGTTL)) {
    sub IPFRAGTTL () {	60;}
}
unless(defined(&IPTTLDEC)) {
    sub IPTTLDEC () {	1;}
}
unless(defined(&IP_MSS)) {
    sub IP_MSS () {	576;}
}
1;
