require '_h2ph_pre.ph';

unless(defined(&_NET_IF_VLAN_VAR_H_)) {
    eval 'sub _NET_IF_VLAN_VAR_H_ () {1;}' unless defined(&_NET_IF_VLAN_VAR_H_);
    if(defined(&_KERNEL)) {
	eval 'sub ifv_if () { ($ifv_ac->{ac_if});}' unless defined(&ifv_if);
	eval 'sub ifv_tag () { ($ifv_mib->{ifvm_tag});}' unless defined(&ifv_tag);
    }
    eval 'sub EVL_VLANOFTAG {
        local($tag) = @_;
	    eval q((($tag) & 4095));
    }' unless defined(&EVL_VLANOFTAG);
    eval 'sub EVL_PRIOFTAG {
        local($tag) = @_;
	    eval q(((($tag) >> 13) & 7));
    }' unless defined(&EVL_PRIOFTAG);
    eval 'sub EVL_ENCAPLEN () {4;}' unless defined(&EVL_ENCAPLEN);
    eval 'sub IFT_8021_VLAN () { &IFT_PROPVIRTUAL;}' unless defined(&IFT_8021_VLAN);
    eval 'sub VLANCTL_PROTO () {1;}' unless defined(&VLANCTL_PROTO);
    eval 'sub VLANCTL_MAX () {2;}' unless defined(&VLANCTL_MAX);
    eval 'sub SIOCSETVLAN () { &SIOCSIFGENERIC;}' unless defined(&SIOCSETVLAN);
    eval 'sub SIOCGETVLAN () { &SIOCGIFGENERIC;}' unless defined(&SIOCGETVLAN);
    if(defined(&_KERNEL)) {
    }
}
1;
