/linux/include/uapi/linux/ |
H A D | if.h | 85 IFF_UP = 1<<0, /* sysfs */ enumerator 112 #define IFF_UP IFF_UP macro
|
/linux/drivers/net/ |
H A 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/drivers/net/can/dev/ |
H A D | netlink.c | 204 if (dev->flags & IFF_UP) in can_changelink() 249 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/net/bridge/ |
H A 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/drivers/net/ipa/ |
H A D | ipa_modem.c | 255 if (!(netdev->flags & IFF_UP)) in ipa_modem_suspend() 290 if (!(netdev->flags & IFF_UP)) in ipa_modem_resume() 377 if (netdev->flags & IFF_UP) in ipa_modem_stop()
|
/linux/net/8021q/ |
H A D | vlan.c | 413 if (!(flgs & IFF_UP)) in vlan_device_event() 442 if (!(flgs & IFF_UP)) in vlan_device_event() 464 if (flgs & IFF_UP) in vlan_device_event() 469 dev_change_flags(vlandev, flgs | IFF_UP, in vlan_device_event()
|
H A 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() 554 dev->flags = real_dev->flags & ~(IFF_UP | IFF_PROMISC | IFF_ALLMULTI | in vlan_dev_init()
|
/linux/drivers/net/can/ |
H A D | vxcan.c | 95 if (peer->flags & IFF_UP) { in vxcan_open() 131 if (dev->flags & IFF_UP) in vxcan_change_mtu()
|
H A D | vcan.c | 136 if (dev->flags & IFF_UP) in vcan_change_mtu()
|
/linux/net/openvswitch/ |
H A D | vport-gre.c | 58 err = dev_change_flags(dev, dev->flags | IFF_UP, NULL); in gre_tnl_create()
|
H A D | vport-geneve.c | 92 err = dev_change_flags(dev, dev->flags | IFF_UP, NULL); in geneve_tnl_create()
|
H A D | vport-vxlan.c | 121 err = dev_change_flags(dev, dev->flags | IFF_UP, NULL); in vxlan_tnl_create()
|
/linux/net/sched/ |
H A D | sch_mq.c | 182 if (dev->flags & IFF_UP) in mq_graft() 188 if (dev->flags & IFF_UP) in mq_graft()
|
/linux/net/core/ |
H A D | dev.h | 133 dev->flags |= IFF_UP; in netif_set_up() 135 dev->flags &= ~IFF_UP; in netif_set_up()
|
H A D | gro_cells.c | 20 if (unlikely(!(dev->flags & IFF_UP))) in gro_cells_receive()
|
/linux/drivers/net/wan/ |
H A D | hdlc_raw.c | 61 if (dev->flags & IFF_UP) in raw_ioctl()
|
H A D | hdlc_raw_eth.c | 77 if (dev->flags & IFF_UP) in raw_eth_ioctl()
|
/linux/net/rose/ |
H A D | rose_dev.c | 64 if (dev->flags & IFF_UP) { in rose_set_mac_address()
|
H A 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/net/ipv4/ |
H A D | ip_tunnel.c | 96 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 110 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 130 if (!(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 147 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 160 if (t && t->dev->flags & IFF_UP) in ip_tunnel_lookup() 164 if (ndev && ndev->flags & IFF_UP) in ip_tunnel_lookup()
|
/linux/net/netrom/ |
H A D | nr_dev.c | 106 if (dev->flags & IFF_UP) { in nr_set_mac_address()
|
/linux/drivers/net/vxlan/ |
H A D | vxlan_vnifilter.c | 565 if (vxlan->dev->flags & IFF_UP) { in vxlan_vni_update_group() 639 if (vxlan->dev->flags & IFF_UP) { in vxlan_vni_delete_group() 760 if (vxlan->dev->flags & IFF_UP) in vxlan_vni_add() 809 if (vxlan->dev->flags & IFF_UP) in vxlan_vni_del()
|
/linux/tools/testing/selftests/net/ |
H A D | psock_fanout.c | 79 if (state_up != !!(ifreq.ifr_flags & IFF_UP)) { in loopback_set_up_down() 80 ifreq.ifr_flags ^= IFF_UP; in loopback_set_up_down()
|
/linux/tools/testing/selftests/net/tcp_ao/lib/ |
H A D | netlink.c | 324 req.info.ifi_flags = IFF_UP; in __link_set_up() 325 req.info.ifi_change = IFF_UP; in __link_set_up()
|
/linux/net/x25/ |
H A D | x25_route.c | 121 if (dev && (!(dev->flags & IFF_UP) || dev->type != ARPHRD_X25)) { in x25_dev_get()
|