require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_NETIPSEC_KEYSOCK_H_)) {
    eval 'sub _NETIPSEC_KEYSOCK_H_ () {1;}' unless defined(&_NETIPSEC_KEYSOCK_H_);
    eval 'sub PFKEY_STAT_OUT_TOTAL () {0;}' unless defined(&PFKEY_STAT_OUT_TOTAL);
    eval 'sub PFKEY_STAT_OUT_BYTES () {1;}' unless defined(&PFKEY_STAT_OUT_BYTES);
    eval 'sub PFKEY_STAT_OUT_MSGTYPE () {2;}' unless defined(&PFKEY_STAT_OUT_MSGTYPE);
    eval 'sub PFKEY_STAT_OUT_INVLEN () {258;}' unless defined(&PFKEY_STAT_OUT_INVLEN);
    eval 'sub PFKEY_STAT_OUT_INVVER () {259;}' unless defined(&PFKEY_STAT_OUT_INVVER);
    eval 'sub PFKEY_STAT_OUT_INVMSGTYPE () {260;}' unless defined(&PFKEY_STAT_OUT_INVMSGTYPE);
    eval 'sub PFKEY_STAT_OUT_TOOSHORT () {261;}' unless defined(&PFKEY_STAT_OUT_TOOSHORT);
    eval 'sub PFKEY_STAT_OUT_NOMEM () {262;}' unless defined(&PFKEY_STAT_OUT_NOMEM);
    eval 'sub PFKEY_STAT_OUT_DUPEXT () {263;}' unless defined(&PFKEY_STAT_OUT_DUPEXT);
    eval 'sub PFKEY_STAT_OUT_INVEXTTYPE () {264;}' unless defined(&PFKEY_STAT_OUT_INVEXTTYPE);
    eval 'sub PFKEY_STAT_OUT_INVSATYPE () {265;}' unless defined(&PFKEY_STAT_OUT_INVSATYPE);
    eval 'sub PFKEY_STAT_OUT_INVADDR () {266;}' unless defined(&PFKEY_STAT_OUT_INVADDR);
    eval 'sub PFKEY_STAT_IN_TOTAL () {267;}' unless defined(&PFKEY_STAT_IN_TOTAL);
    eval 'sub PFKEY_STAT_IN_BYTES () {268;}' unless defined(&PFKEY_STAT_IN_BYTES);
    eval 'sub PFKEY_STAT_IN_MSGTYPE () {269;}' unless defined(&PFKEY_STAT_IN_MSGTYPE);
    eval 'sub PFKEY_STAT_IN_MSGTARGET () {525;}' unless defined(&PFKEY_STAT_IN_MSGTARGET);
    eval 'sub PFKEY_STAT_IN_NOMEM () {528;}' unless defined(&PFKEY_STAT_IN_NOMEM);
    eval 'sub PFKEY_STAT_SOCKERR () {529;}' unless defined(&PFKEY_STAT_SOCKERR);
    eval 'sub PFKEY_NSTATS () {530;}' unless defined(&PFKEY_NSTATS);
    eval 'sub KEY_SENDUP_ONE () {0;}' unless defined(&KEY_SENDUP_ONE);
    eval 'sub KEY_SENDUP_ALL () {1;}' unless defined(&KEY_SENDUP_ALL);
    eval 'sub KEY_SENDUP_REGISTERED () {2;}' unless defined(&KEY_SENDUP_REGISTERED);
    if(defined(&_KERNEL)) {
	require 'net/raw_cb.ph';
    }
}
1;
