Searched refs:ifflags (Results 1 – 3 of 3) sorted by relevance
166 ifflags = struct.unpack("16xH14x", result)[0]167 if ifflags & 0x1: # IFF_UP
573 static int check_ifflags(unsigned int ifflags, int fatal) in check_ifflags() argument575 if (!(ifflags & IFF_UP)) { in check_ifflags()583 if (ifflags & (IFF_NOARP | IFF_LOOPBACK)) { in check_ifflags()
131 ifflags = struct.unpack("16xH14x",get_if(i,SIOCGIFFLAGS))[0]132 if ifflags & IFF_UP: