Home
last modified time | relevance | path

Searched refs:IFF_UP (Results 1 – 25 of 177) sorted by relevance

12345678

/linux-6.6.21/include/uapi/linux/
Dif.h85 IFF_UP = 1<<0, /* sysfs */ enumerator
112 #define IFF_UP IFF_UP macro
/linux-6.6.21/drivers/net/
Deql.c154 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/
Dpn_dev.c121 ((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/
Dbr_stp_timer.c36 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/
Dnetlink.c202 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/
Dipa_modem.c239 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/
Dvlan.c412 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()
Dvlan_dev.c265 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/
Dvport-gre.c58 err = dev_change_flags(dev, dev->flags | IFF_UP, NULL); in gre_tnl_create()
Dvport-geneve.c92 err = dev_change_flags(dev, dev->flags | IFF_UP, NULL); in geneve_tnl_create()
Dvport-vxlan.c121 err = dev_change_flags(dev, dev->flags | IFF_UP, NULL); in vxlan_tnl_create()
/linux-6.6.21/drivers/net/can/
Dvxcan.c95 if (peer->flags & IFF_UP) { in vxcan_open()
131 if (dev->flags & IFF_UP) in vxcan_change_mtu()
Dvcan.c136 if (dev->flags & IFF_UP) in vcan_change_mtu()
/linux-6.6.21/net/sched/
Dsch_mq.c182 if (dev->flags & IFF_UP) in mq_graft()
188 if (dev->flags & IFF_UP) in mq_graft()
/linux-6.6.21/drivers/net/wan/
Dhdlc_raw.c61 if (dev->flags & IFF_UP) in raw_ioctl()
Dhdlc_raw_eth.c77 if (dev->flags & IFF_UP) in raw_eth_ioctl()
/linux-6.6.21/net/rose/
Drose_dev.c64 if (dev->flags & IFF_UP) { in rose_set_mac_address()
Drose_route.c599 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/
Dnic.c416 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/
Dgro_cells.c19 if (unlikely(!(dev->flags & IFF_UP))) in gro_cells_receive()
Dlink_watch.c176 if (dev->flags & IFF_UP) { in linkwatch_do_dev()
/linux-6.6.21/net/ipv4/
Dip_tunnel.c99 !(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/
Dnr_dev.c106 if (dev->flags & IFF_UP) { in nr_set_mac_address()
/linux-6.6.21/drivers/net/vxlan/
Dvxlan_vnifilter.c560 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/
Dx25_route.c121 if (dev && (!(dev->flags & IFF_UP) || dev->type != ARPHRD_X25)) { in x25_dev_get()

12345678