Home
last modified time | relevance | path

Searched refs:flgs (Results 1 – 5 of 5) sorted by relevance

/linux-2.4.37.9/net/8021q/
Dvlan.c576 int i, flgs; in vlan_device_event() local
603 flgs = vlandev->flags; in vlan_device_event()
604 if (!(flgs & IFF_UP)) in vlan_device_event()
607 dev_change_flags(vlandev, flgs & ~IFF_UP); in vlan_device_event()
618 flgs = vlandev->flags; in vlan_device_event()
619 if (flgs & IFF_UP) in vlan_device_event()
622 dev_change_flags(vlandev, flgs | IFF_UP); in vlan_device_event()
Dvlan_dev.c715 int flgs = VLAN_DEV_INFO(dev)->real_dev->flags; in vlan_dev_set_mac_address() local
721 flgs |= IFF_PROMISC; in vlan_dev_set_mac_address()
724 dev_change_flags(VLAN_DEV_INFO(dev)->real_dev, flgs); in vlan_dev_set_mac_address()
/linux-2.4.37.9/drivers/net/hamradio/
Dhdlcdrv.c365 int flgs = tenms_to_2flags(s, s->ch_params.tx_tail); in hdlcdrv_transmitter() local
366 if (flgs < 2) in hdlcdrv_transmitter()
367 flgs = 2; in hdlcdrv_transmitter()
369 s->hdlctx.numflags = flgs; in hdlcdrv_transmitter()
/linux-2.4.37.9/drivers/atm/
Deni.c1995 static int eni_change_qos(struct atm_vcc *vcc,struct atm_qos *qos,int flgs) in eni_change_qos() argument
2007 if ((flgs & ATM_MF_DEC_RSV) && rate && rate < tx->reserved) rsv = 1; in eni_change_qos()
2008 if ((flgs & ATM_MF_INC_RSV) && (!rate || rate > tx->reserved)) rsv = 1; in eni_change_qos()
2009 if ((flgs & ATM_MF_DEC_SHP) && rate && rate < tx->shaping) shp = 1; in eni_change_qos()
2010 if ((flgs & ATM_MF_INC_SHP) && (!rate || rate > tx->shaping)) shp = 1; in eni_change_qos()
2014 if (shp && !(flgs & ATM_MF_IMMED)) return 0; in eni_change_qos()
Dhorizon.c2696 static int hrz_change_qos (struct atm_vcc * atm_vcc, struct atm_qos *qos, int flgs) {