/linux-6.6.21/include/uapi/linux/ |
D | if.h | 85 IFF_UP = 1<<0, /* sysfs */ enumerator 112 #define IFF_UP IFF_UP macro
|
/linux-6.6.21/drivers/net/ |
D | eql.c | 154 if ((slave->dev->flags & IFF_UP) == IFF_UP) { in eql_timer() 321 if ((slave->dev->flags & IFF_UP) == IFF_UP) { in __eql_schedule_slaves() 425 if ((master_dev->flags & IFF_UP) == IFF_UP) { in eql_enslave()
|
/linux-6.6.21/net/phonet/ |
D | pn_dev.c | 121 ((pnd->netdev->flags & IFF_UP)) == IFF_UP) in phonet_device_get() 216 ((pnd->netdev->flags & IFF_UP)) != IFF_UP) in phonet_address_lookup()
|
/linux-6.6.21/net/bridge/ |
D | br_stp_timer.c | 36 if (br->dev->flags & IFF_UP) { in br_hello_timer_expired() 109 if (!br_is_root_bridge(br) && (br->dev->flags & IFF_UP)) { in br_tcn_timer_expired()
|
/linux-6.6.21/drivers/net/can/dev/ |
D | netlink.c | 202 if (dev->flags & IFF_UP) in can_changelink() 246 if (dev->flags & IFF_UP) in can_changelink() 289 if (dev->flags & IFF_UP) in can_changelink() 296 if (!(dev->flags & IFF_UP)) in can_changelink() 307 if (dev->flags & IFF_UP) in can_changelink()
|
/linux-6.6.21/drivers/net/ipa/ |
D | ipa_modem.c | 239 if (!(netdev->flags & IFF_UP)) in ipa_modem_suspend() 274 if (!(netdev->flags & IFF_UP)) in ipa_modem_resume() 355 if (netdev->flags & IFF_UP) in ipa_modem_stop()
|
/linux-6.6.21/net/8021q/ |
D | vlan.c | 412 if (!(flgs & IFF_UP)) in vlan_device_event() 441 if (!(flgs & IFF_UP)) in vlan_device_event() 463 if (flgs & IFF_UP) in vlan_device_event() 468 dev_change_flags(vlandev, flgs | IFF_UP, in vlan_device_event()
|
D | vlan_dev.c | 265 if (!(real_dev->flags & IFF_UP) && in vlan_dev_open() 340 if (!(dev->flags & IFF_UP)) in vlan_dev_set_mac_address() 493 if (dev->flags & IFF_UP) { in vlan_dev_change_rx_flags() 576 dev->flags = real_dev->flags & ~(IFF_UP | IFF_PROMISC | IFF_ALLMULTI | in vlan_dev_init()
|
/linux-6.6.21/net/openvswitch/ |
D | vport-gre.c | 58 err = dev_change_flags(dev, dev->flags | IFF_UP, NULL); in gre_tnl_create()
|
D | vport-geneve.c | 92 err = dev_change_flags(dev, dev->flags | IFF_UP, NULL); in geneve_tnl_create()
|
D | vport-vxlan.c | 121 err = dev_change_flags(dev, dev->flags | IFF_UP, NULL); in vxlan_tnl_create()
|
/linux-6.6.21/drivers/net/can/ |
D | vxcan.c | 95 if (peer->flags & IFF_UP) { in vxcan_open() 131 if (dev->flags & IFF_UP) in vxcan_change_mtu()
|
D | vcan.c | 136 if (dev->flags & IFF_UP) in vcan_change_mtu()
|
/linux-6.6.21/net/sched/ |
D | sch_mq.c | 182 if (dev->flags & IFF_UP) in mq_graft() 188 if (dev->flags & IFF_UP) in mq_graft()
|
/linux-6.6.21/drivers/net/wan/ |
D | hdlc_raw.c | 61 if (dev->flags & IFF_UP) in raw_ioctl()
|
D | hdlc_raw_eth.c | 77 if (dev->flags & IFF_UP) in raw_eth_ioctl()
|
/linux-6.6.21/net/rose/ |
D | rose_dev.c | 64 if (dev->flags & IFF_UP) { in rose_set_mac_address()
|
D | rose_route.c | 599 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_AX25) in rose_ax25_dev_find() 614 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ROSE) in rose_dev_first() 634 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ROSE && in rose_dev_get() 652 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ROSE && in rose_dev_exists()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | nic.c | 416 if (!(efx->net_dev->flags & IFF_UP) || !efx->rx_nodesc_drops_prev_state) in efx_nic_fix_nodesc_drop_stat() 420 efx->rx_nodesc_drops_prev_state = !!(efx->net_dev->flags & IFF_UP); in efx_nic_fix_nodesc_drop_stat()
|
/linux-6.6.21/net/core/ |
D | gro_cells.c | 19 if (unlikely(!(dev->flags & IFF_UP))) in gro_cells_receive()
|
D | link_watch.c | 176 if (dev->flags & IFF_UP) { in linkwatch_do_dev()
|
/linux-6.6.21/net/ipv4/ |
D | ip_tunnel.c | 99 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 114 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 134 if (!(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 150 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 163 if (t && t->dev->flags & IFF_UP) in ip_tunnel_lookup() 167 if (ndev && ndev->flags & IFF_UP) in ip_tunnel_lookup()
|
/linux-6.6.21/net/netrom/ |
D | nr_dev.c | 106 if (dev->flags & IFF_UP) { in nr_set_mac_address()
|
/linux-6.6.21/drivers/net/vxlan/ |
D | vxlan_vnifilter.c | 560 if (vxlan->dev->flags & IFF_UP) { in vxlan_vni_update_group() 634 if (vxlan->dev->flags & IFF_UP) { in vxlan_vni_delete_group() 755 if (vxlan->dev->flags & IFF_UP) in vxlan_vni_add() 804 if (vxlan->dev->flags & IFF_UP) in vxlan_vni_del()
|
/linux-6.6.21/net/x25/ |
D | x25_route.c | 121 if (dev && (!(dev->flags & IFF_UP) || dev->type != ARPHRD_X25)) { in x25_dev_get()
|