require '_h2ph_pre.ph';

unless(defined(&_LINUX_IF_VLAN_H_)) {
    eval 'sub _LINUX_IF_VLAN_H_ () {1;}' unless defined(&_LINUX_IF_VLAN_H_);
    eval("sub ADD_VLAN_CMD () { 0; }") unless defined(&ADD_VLAN_CMD);
    eval("sub DEL_VLAN_CMD () { 1; }") unless defined(&DEL_VLAN_CMD);
    eval("sub SET_VLAN_INGRESS_PRIORITY_CMD () { 2; }") unless defined(&SET_VLAN_INGRESS_PRIORITY_CMD);
    eval("sub SET_VLAN_EGRESS_PRIORITY_CMD () { 3; }") unless defined(&SET_VLAN_EGRESS_PRIORITY_CMD);
    eval("sub GET_VLAN_INGRESS_PRIORITY_CMD () { 4; }") unless defined(&GET_VLAN_INGRESS_PRIORITY_CMD);
    eval("sub GET_VLAN_EGRESS_PRIORITY_CMD () { 5; }") unless defined(&GET_VLAN_EGRESS_PRIORITY_CMD);
    eval("sub SET_VLAN_NAME_TYPE_CMD () { 6; }") unless defined(&SET_VLAN_NAME_TYPE_CMD);
    eval("sub SET_VLAN_FLAG_CMD () { 7; }") unless defined(&SET_VLAN_FLAG_CMD);
    eval("sub VLAN_NAME_TYPE_PLUS_VID () { 0; }") unless defined(&VLAN_NAME_TYPE_PLUS_VID);
    eval("sub VLAN_NAME_TYPE_RAW_PLUS_VID () { 1; }") unless defined(&VLAN_NAME_TYPE_RAW_PLUS_VID);
    eval("sub VLAN_NAME_TYPE_PLUS_VID_NO_PAD () { 2; }") unless defined(&VLAN_NAME_TYPE_PLUS_VID_NO_PAD);
    eval("sub VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD () { 3; }") unless defined(&VLAN_NAME_TYPE_RAW_PLUS_VID_NO_PAD);
    eval("sub VLAN_NAME_TYPE_HIGHEST () { 4; }") unless defined(&VLAN_NAME_TYPE_HIGHEST);
}
1;
