require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&RUM_RX_LIST_COUNT)) {
    sub RUM_RX_LIST_COUNT () {	1;}
}
unless(defined(&RUM_TX_LIST_COUNT)) {
    sub RUM_TX_LIST_COUNT () {	8;}
}
unless(defined(&RT2573_RX_RADIOTAP_PRESENT)) {
    sub RT2573_RX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_RATE) | (1<<  &IEEE80211_RADIOTAP_CHANNEL) | (1<<  &IEEE80211_RADIOTAP_ANTENNA) | (1<<  &IEEE80211_RADIOTAP_DB_ANTSIGNAL));}
}
unless(defined(&RT2573_TX_RADIOTAP_PRESENT)) {
    sub RT2573_TX_RADIOTAP_PRESENT () {	((1<<  &IEEE80211_RADIOTAP_FLAGS) | (1<<  &IEEE80211_RADIOTAP_RATE) | (1<<  &IEEE80211_RADIOTAP_CHANNEL) | (1<<  &IEEE80211_RADIOTAP_ANTENNA));}
}
if((defined(&NBPFILTER) ? &NBPFILTER : 0) > 0) {
    eval 'sub sc_rxtap () { ($sc_rxtapu->{th});}' unless defined(&sc_rxtap);
    eval 'sub sc_txtap () { ($sc_txtapu->{th});}' unless defined(&sc_txtap);
}
1;
