Lines Matching refs:network
142 void network_adjust_bridge_vlan(Network *network) { in network_adjust_bridge_vlan() argument
143 assert(network); in network_adjust_bridge_vlan()
145 if (!network->use_br_vlan) in network_adjust_bridge_vlan()
149 if (network->pvid) in network_adjust_bridge_vlan()
150 set_bit(network->pvid, network->br_vid_bitmap); in network_adjust_bridge_vlan()
165 Network *network = userdata; in config_parse_brvlan_pvid() local
173 network->pvid = pvid; in config_parse_brvlan_pvid()
174 network->use_br_vlan = true; in config_parse_brvlan_pvid()
191 Network *network = userdata; in config_parse_brvlan_vlan() local
208 set_bit(vid, network->br_vid_bitmap); in config_parse_brvlan_vlan()
210 network->use_br_vlan = true; in config_parse_brvlan_vlan()
226 Network *network = userdata; in config_parse_brvlan_untagged() local
243 set_bit(vid, network->br_vid_bitmap); in config_parse_brvlan_untagged()
244 set_bit(vid, network->br_untagged_bitmap); in config_parse_brvlan_untagged()
247 network->use_br_vlan = true; in config_parse_brvlan_untagged()