Lines Matching refs:flags
184 if (m->dev->flags & IFF_UP) { in teql_qdisc_init()
185 if ((m->dev->flags & IFF_POINTOPOINT && in teql_qdisc_init()
186 !(dev->flags & IFF_POINTOPOINT)) || in teql_qdisc_init()
187 (m->dev->flags & IFF_BROADCAST && in teql_qdisc_init()
188 !(dev->flags & IFF_BROADCAST)) || in teql_qdisc_init()
189 (m->dev->flags & IFF_MULTICAST && in teql_qdisc_init()
190 !(dev->flags & IFF_MULTICAST)) || in teql_qdisc_init()
194 if (!(dev->flags&IFF_POINTOPOINT)) in teql_qdisc_init()
195 m->dev->flags &= ~IFF_POINTOPOINT; in teql_qdisc_init()
196 if (!(dev->flags&IFF_BROADCAST)) in teql_qdisc_init()
197 m->dev->flags &= ~IFF_BROADCAST; in teql_qdisc_init()
198 if (!(dev->flags&IFF_MULTICAST)) in teql_qdisc_init()
199 m->dev->flags &= ~IFF_MULTICAST; in teql_qdisc_init()
209 m->dev->flags = (m->dev->flags&~FMASK)|(dev->flags&FMASK); in teql_qdisc_init()
358 unsigned int flags = IFF_NOARP | IFF_MULTICAST; in teql_master_open() local
363 flags = FMASK; in teql_master_open()
381 if (!(slave->flags&IFF_POINTOPOINT)) in teql_master_open()
382 flags &= ~IFF_POINTOPOINT; in teql_master_open()
383 if (!(slave->flags&IFF_BROADCAST)) in teql_master_open()
384 flags &= ~IFF_BROADCAST; in teql_master_open()
385 if (!(slave->flags&IFF_MULTICAST)) in teql_master_open()
386 flags &= ~IFF_MULTICAST; in teql_master_open()
390 m->dev->flags = (m->dev->flags&~FMASK) | flags; in teql_master_open()
459 dev->flags = IFF_NOARP; in teql_master_setup()