| /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()
|
| H A D | loopback.c | 287 blackhole_netdev->flags |= IFF_UP | IFF_RUNNING; in blackhole_netdev_init()
|
| /linux/net/bridge/ |
| H A D | br_stp_timer.c | 36 if (br->dev->flags & IFF_UP) { in br_hello_timer_expired() 111 if (!br_is_root_bridge(br) && (br->dev->flags & IFF_UP)) { in br_tcn_timer_expired()
|
| /linux/net/8021q/ |
| H A D | vlan.c | 438 if (!(flgs & IFF_UP)) in vlan_device_event() 467 if (!(flgs & IFF_UP)) in vlan_device_event() 489 if (flgs & IFF_UP) in vlan_device_event() 494 dev_change_flags(vlandev, flgs | IFF_UP, in vlan_device_event()
|
| /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()
|
| H A D | vport-internal_dev.c | 190 if (unlikely(!(netdev->flags & IFF_UP))) { in internal_dev_recv()
|
| /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/tools/testing/selftests/net/ |
| H A D | ipv6_fragmentation.c | 65 ifr.ifr_flags = ifr.ifr_flags | IFF_UP; in setup()
|
| 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/drivers/net/can/dev/ |
| H A D | netlink.c | 316 if (dev->flags & IFF_UP) in can_ctrlmode_changelink() 462 if (dev->flags & IFF_UP) in can_dbt_changelink() 609 if (dev->flags & IFF_UP) in can_changelink() 657 if (dev->flags & IFF_UP) in can_changelink() 670 if (!(dev->flags & IFF_UP)) in can_changelink()
|
| /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 | 598 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_AX25) in rose_ax25_dev_find() 613 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ROSE) in rose_dev_first() 633 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ROSE && in rose_dev_get() 651 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_ROSE && in rose_dev_exists()
|
| /linux/net/ipv4/ |
| H A D | ip_tunnel.c | 97 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 111 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 131 if (!(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 148 !(t->dev->flags & IFF_UP)) in ip_tunnel_lookup() 161 if (t && t->dev->flags & IFF_UP) in ip_tunnel_lookup() 165 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()
|
| H A D | nr_route.c | 560 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_AX25) in nr_ax25_dev_get() 576 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_NETROM) in nr_dev_first() 595 if ((dev->flags & IFF_UP) && dev->type == ARPHRD_NETROM && in nr_dev_get()
|
| /linux/net/core/ |
| H A D | gro_cells.c | 22 if (unlikely(!(dev->flags & IFF_UP))) in gro_cells_receive()
|
| /linux/drivers/net/vxlan/ |
| H A D | vxlan_vnifilter.c | 558 if (vxlan->dev->flags & IFF_UP) { in vxlan_vni_update_group() 635 if (vxlan->dev->flags & IFF_UP) { in vxlan_vni_delete_group() 756 if (vxlan->dev->flags & IFF_UP) in vxlan_vni_add() 805 if (vxlan->dev->flags & IFF_UP) in vxlan_vni_del()
|
| /linux/net/x25/ |
| H A D | x25_route.c | 121 if (dev && (!(dev->flags & IFF_UP) || dev->type != ARPHRD_X25)) { in x25_dev_get()
|
| /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/drivers/net/ethernet/mellanox/mlxsw/ |
| H A D | spectrum_span.c | 381 if (vid || !(edev->flags & IFF_UP)) in mlxsw_sp_span_entry_tunnel_parms_common() 387 if (!(edev->flags & IFF_UP)) in mlxsw_sp_span_entry_tunnel_parms_common() 461 if (!(to_dev->flags & IFF_UP) || in mlxsw_sp_span_entry_gretap4_parms() 566 if (!(to_dev->flags & IFF_UP) || in mlxsw_sp_span_entry_gretap6_parms() 639 if (!(to_dev->flags & IFF_UP)) in mlxsw_sp_span_entry_vlan_parms()
|