require '_h2ph_pre.ph';

if(defined(&_KERNEL)) {
    eval 'sub PRC_IFUP () {3;}' unless defined(&PRC_IFUP);
    eval 'sub PRC_LINKUP () {4;}' unless defined(&PRC_LINKUP);
    eval 'sub PRC_LINKDOWN () {5;}' unless defined(&PRC_LINKDOWN);
    eval 'sub PRC_LINKRESET () {6;}' unless defined(&PRC_LINKRESET);
    eval 'sub PRC_LINKDONTCOPY () {7;}' unless defined(&PRC_LINKDONTCOPY);
    unless(defined(&PRC_DISCONNECT_REQUEST)) {
	eval 'sub PRC_DISCONNECT_REQUEST () {10;}' unless defined(&PRC_DISCONNECT_REQUEST);
    }
}
unless(defined(&CCITTPROTO_HDLC)) {
    sub CCITTPROTO_HDLC () {	1;}
}
unless(defined(&CCITTPROTO_X25)) {
    sub CCITTPROTO_X25 () {	2;}
}
unless(defined(&IEEEPROTO_802LLC)) {
    sub IEEEPROTO_802LLC () {	3;}
}
unless(defined(&HDLCPROTO_LAP)) {
    sub HDLCPROTO_LAP () {	1;}
}
unless(defined(&HDLCPROTO_LAPB)) {
    sub HDLCPROTO_LAPB () {	2;}
}
unless(defined(&HDLCPROTO_UNSET)) {
    sub HDLCPROTO_UNSET () {	3;}
}
unless(defined(&HDLCPROTO_LAPD)) {
    sub HDLCPROTO_LAPD () {	4;}
}
unless(defined(&PK_ACCTFILE)) {
    sub PK_ACCTFILE () {	1;}
}
unless(defined(&PK_FACILITIES)) {
    sub PK_FACILITIES () {	2;}
}
unless(defined(&PK_RTATTACH)) {
    sub PK_RTATTACH () {	3;}
}
unless(defined(&PK_PRLISTEN)) {
    sub PK_PRLISTEN () {	4;}
}
unless(defined(&MAX_FACILITIES)) {
    sub MAX_FACILITIES () {	109;}
}
unless(defined(&XS_REVERSE_CHARGE)) {
    sub XS_REVERSE_CHARGE () {	0x01;}
}
unless(defined(&XS_HIPRIO)) {
    sub XS_HIPRIO () {	0x02;}
}
unless(defined(&X25_REVERSE_CHARGE)) {
    sub X25_REVERSE_CHARGE () {	0x01;}
}
unless(defined(&X25_DBIT)) {
    sub X25_DBIT () {	0x02;}
}
unless(defined(&X25_MQBIT)) {
    sub X25_MQBIT () {	0x04;}
}
unless(defined(&X25_OLDSOCKADDR)) {
    sub X25_OLDSOCKADDR () {	0x08;}
}
unless(defined(&X25_DG_CIRCUIT)) {
    sub X25_DG_CIRCUIT () {	0x10;}
}
unless(defined(&X25_DG_ROUTING)) {
    sub X25_DG_ROUTING () {	0x20;}
}
unless(defined(&X25_MBS_HOLD)) {
    sub X25_MBS_HOLD () {	0x40;}
}
unless(defined(&X25_PS128)) {
    sub X25_PS128 () {	7;}
}
unless(defined(&X25_PS256)) {
    sub X25_PS256 () {	8;}
}
unless(defined(&X25_PS512)) {
    sub X25_PS512 () {	9;}
}
unless(defined(&X25_1976)) {
    sub X25_1976 () {	0;}
}
unless(defined(&X25_1980)) {
    sub X25_1980 () {	1;}
}
unless(defined(&X25_1984)) {
    sub X25_1984 () {	2;}
}
unless(defined(&X25_DDN)) {
    sub X25_DDN () {	3;}
}
unless(defined(&X25_BASIC)) {
    sub X25_BASIC () {	4;}
}
if(defined(&IFNAMSIZ)) {
    eval 'sub SIOCSIFCONF_X25 () { &_IOW(ord(\'i\'), 12, \'struct ifreq_x25\');}' unless defined(&SIOCSIFCONF_X25);
    eval 'sub SIOCGIFCONF_X25 () { &_IOWR(ord(\'i\'),13, \'struct ifreq_x25\');}' unless defined(&SIOCGIFCONF_X25);
}
if(defined(&_KERNEL)) {
}
1;
