require '_h2ph_pre.ph';

unless(defined(&_LINUX_IF_BRIDGE_H)) {
    eval 'sub _LINUX_IF_BRIDGE_H () {1;}' unless defined(&_LINUX_IF_BRIDGE_H);
    require 'linux/types.ph';
    eval 'sub BRCTL_VERSION () {1;}' unless defined(&BRCTL_VERSION);
    eval 'sub BRCTL_GET_VERSION () {0;}' unless defined(&BRCTL_GET_VERSION);
    eval 'sub BRCTL_GET_BRIDGES () {1;}' unless defined(&BRCTL_GET_BRIDGES);
    eval 'sub BRCTL_ADD_BRIDGE () {2;}' unless defined(&BRCTL_ADD_BRIDGE);
    eval 'sub BRCTL_DEL_BRIDGE () {3;}' unless defined(&BRCTL_DEL_BRIDGE);
    eval 'sub BRCTL_ADD_IF () {4;}' unless defined(&BRCTL_ADD_IF);
    eval 'sub BRCTL_DEL_IF () {5;}' unless defined(&BRCTL_DEL_IF);
    eval 'sub BRCTL_GET_BRIDGE_INFO () {6;}' unless defined(&BRCTL_GET_BRIDGE_INFO);
    eval 'sub BRCTL_GET_PORT_LIST () {7;}' unless defined(&BRCTL_GET_PORT_LIST);
    eval 'sub BRCTL_SET_BRIDGE_FORWARD_DELAY () {8;}' unless defined(&BRCTL_SET_BRIDGE_FORWARD_DELAY);
    eval 'sub BRCTL_SET_BRIDGE_HELLO_TIME () {9;}' unless defined(&BRCTL_SET_BRIDGE_HELLO_TIME);
    eval 'sub BRCTL_SET_BRIDGE_MAX_AGE () {10;}' unless defined(&BRCTL_SET_BRIDGE_MAX_AGE);
    eval 'sub BRCTL_SET_AGEING_TIME () {11;}' unless defined(&BRCTL_SET_AGEING_TIME);
    eval 'sub BRCTL_SET_GC_INTERVAL () {12;}' unless defined(&BRCTL_SET_GC_INTERVAL);
    eval 'sub BRCTL_GET_PORT_INFO () {13;}' unless defined(&BRCTL_GET_PORT_INFO);
    eval 'sub BRCTL_SET_BRIDGE_STP_STATE () {14;}' unless defined(&BRCTL_SET_BRIDGE_STP_STATE);
    eval 'sub BRCTL_SET_BRIDGE_PRIORITY () {15;}' unless defined(&BRCTL_SET_BRIDGE_PRIORITY);
    eval 'sub BRCTL_SET_PORT_PRIORITY () {16;}' unless defined(&BRCTL_SET_PORT_PRIORITY);
    eval 'sub BRCTL_SET_PATH_COST () {17;}' unless defined(&BRCTL_SET_PATH_COST);
    eval 'sub BRCTL_GET_FDB_ENTRIES () {18;}' unless defined(&BRCTL_GET_FDB_ENTRIES);
    eval 'sub BR_STATE_DISABLED () {0;}' unless defined(&BR_STATE_DISABLED);
    eval 'sub BR_STATE_LISTENING () {1;}' unless defined(&BR_STATE_LISTENING);
    eval 'sub BR_STATE_LEARNING () {2;}' unless defined(&BR_STATE_LEARNING);
    eval 'sub BR_STATE_FORWARDING () {3;}' unless defined(&BR_STATE_FORWARDING);
    eval 'sub BR_STATE_BLOCKING () {4;}' unless defined(&BR_STATE_BLOCKING);
}
1;
