require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_ALTQ_ALTQ_AFMAP_H_)) {
    eval 'sub _ALTQ_ALTQ_AFMAP_H_ () {1;}' unless defined(&_ALTQ_ALTQ_AFMAP_H_);
    require 'sys/queue.ph';
    require 'altq/altq.ph';
    if(defined(&SIN6_LEN)) {
    }
    eval 'sub af_flowinfo () { ($af_fiu->{afu_fi});}' unless defined(&af_flowinfo);
    eval 'sub af_flowinfo4 () { ($af_fiu->{afu_fi4});}' unless defined(&af_flowinfo4);
    eval 'sub af_flowinfo6 () { ($af_fiu->{afu_fi6});}' unless defined(&af_flowinfo6);
    eval 'sub AFM_ADDFMAP () { &_IOWR(ord(\'F\'), 30, \'struct atm_flowmap\');}' unless defined(&AFM_ADDFMAP);
    eval 'sub AFM_DELFMAP () { &_IOWR(ord(\'F\'), 31, \'struct atm_flowmap\');}' unless defined(&AFM_DELFMAP);
    eval 'sub AFM_CLEANFMAP () { &_IOWR(ord(\'F\'), 32, \'struct atm_flowmap\');}' unless defined(&AFM_CLEANFMAP);
    eval 'sub AFM_GETFMAP () { &_IOWR(ord(\'F\'), 33, \'struct atm_flowmap\');}' unless defined(&AFM_GETFMAP);
    if(defined(&_KERNEL)) {
	if(defined(&SIN6_LEN)) {
	}
	eval 'sub afm_flowinfo () { ($afm_fiu->{afmu_fi});}' unless defined(&afm_flowinfo);
	eval 'sub afm_flowinfo4 () { ($afm_fiu->{afmu_fi4});}' unless defined(&afm_flowinfo4);
	eval 'sub afm_flowinfo6 () { ($afm_fiu->{afmu_fi6});}' unless defined(&afm_flowinfo6);
    }
}
1;
