Lines Matching refs:ifa_flags

938 				ifa->ifa_flags;
948 /* Use local copy of ifa_flags to not interfere with filtering code */
949 unsigned int ifa_flags;
968 ifa_flags = get_ifa_flags(ifa, rta_tb[IFA_FLAGS]);
979 if ((filter.flags ^ ifa_flags) & filter.flagmask)
1089 if (ifa_flags & IFA_F_SECONDARY) {
1090 ifa_flags &= ~IFA_F_SECONDARY;
1096 if (ifa_flags & IFA_F_TENTATIVE) {
1097 ifa_flags &= ~IFA_F_TENTATIVE;
1100 if (ifa_flags & IFA_F_DEPRECATED) {
1101 ifa_flags &= ~IFA_F_DEPRECATED;
1105 if (ifa_flags & IFA_F_HOMEADDRESS) {
1106 ifa_flags &= ~IFA_F_HOMEADDRESS;
1109 if (ifa_flags & IFA_F_NODAD) {
1110 ifa_flags &= ~IFA_F_NODAD;
1113 if (ifa_flags & IFA_F_MANAGETEMPADDR) {
1114 ifa_flags &= ~IFA_F_MANAGETEMPADDR;
1117 if (ifa_flags & IFA_F_NOPREFIXROUTE) {
1118 ifa_flags &= ~IFA_F_NOPREFIXROUTE;
1121 if (ifa_flags & IFA_F_MCAUTOJOIN) {
1122 ifa_flags &= ~IFA_F_MCAUTOJOIN;
1125 if (!(ifa_flags & IFA_F_PERMANENT)) {
1128 ifa_flags &= ~IFA_F_PERMANENT;
1129 if (ifa_flags & IFA_F_DADFAILED) {
1130 ifa_flags &= ~IFA_F_DADFAILED;
1133 if (ifa_flags)
1134 fprintf(fp, "flags %02x ", ifa_flags);
1348 unsigned int ifa_flags;
1359 ifa_flags = get_ifa_flags(ifa, tb[IFA_FLAGS]);
1361 if ((filter.flags ^ ifa_flags) & filter.flagmask)
1781 unsigned int ifa_flags = 0;
1859 ifa_flags |= IFA_F_HOMEADDRESS;
1861 ifa_flags |= IFA_F_NODAD;
1863 ifa_flags |= IFA_F_MANAGETEMPADDR;
1865 ifa_flags |= IFA_F_NOPREFIXROUTE;
1867 ifa_flags |= IFA_F_MCAUTOJOIN;
1885 if (ifa_flags <= 0xff)
1886 req.ifa.ifa_flags = ifa_flags;
1888 addattr32(&req.n, sizeof(req), IFA_FLAGS, ifa_flags);
1958 if ((ifa_flags & IFA_F_MCAUTOJOIN) && !ipaddr_is_multicast(&lcl)) {