Home
last modified time | relevance | path

Searched refs:ifa_flags (Results 1 – 8 of 8) sorted by relevance

/linux-3.4.99/net/ipv4/
Ddevinet.c332 if (!(ifa1->ifa_flags & IFA_F_SECONDARY)) { in __inet_del_ifa()
336 if (!(ifa->ifa_flags & IFA_F_SECONDARY) && in __inet_del_ifa()
340 if (!(ifa->ifa_flags & IFA_F_SECONDARY) || in __inet_del_ifa()
401 promote->ifa_flags &= ~IFA_F_SECONDARY; in __inet_del_ifa()
436 ifa->ifa_flags &= ~IFA_F_SECONDARY; in __inet_insert_ifa()
441 if (!(ifa1->ifa_flags & IFA_F_SECONDARY) && in __inet_insert_ifa()
454 ifa->ifa_flags |= IFA_F_SECONDARY; in __inet_insert_ifa()
458 if (!(ifa->ifa_flags & IFA_F_SECONDARY)) { in __inet_insert_ifa()
624 ifa->ifa_flags = ifm->ifa_flags; in rtm_to_ifaddr()
1265 ifm->ifa_flags = ifa->ifa_flags|IFA_F_PERMANENT; in inet_fill_ifaddr()
Dfib_frontend.c694 if (ifa->ifa_flags & IFA_F_SECONDARY) { in fib_add_ifaddr()
711 if (!ipv4_is_zeronet(prefix) && !(ifa->ifa_flags & IFA_F_SECONDARY) && in fib_add_ifaddr()
748 if (ifa->ifa_flags & IFA_F_SECONDARY) { in fib_del_ifaddr()
784 if (ifa1->ifa_flags & IFA_F_SECONDARY) { in fib_del_ifaddr()
/linux-3.4.99/include/linux/
Dif_addr.h10 __u8 ifa_flags; /* Flags */ member
Dinetdevice.h157 unsigned char ifa_flags; member
200 for (ifa = (in_dev)->ifa_list; ifa && !(ifa->ifa_flags&IFA_F_SECONDARY); ifa = ifa->ifa_next)
/linux-3.4.99/net/decnet/
Ddn_dev.c656 ifa->ifa_flags = ifm->ifa_flags; in dn_nl_newaddr()
693 ifm->ifa_flags = ifa->ifa_flags | IFA_F_PERMANENT; in dn_nl_fill_ifaddr()
1048 if (!(ifa->ifa_flags & IFA_F_SECONDARY)) in dn_dev_timer_func()
1174 ifa->ifa_flags = 0; in dn_dev_up()
/linux-3.4.99/include/net/
Ddn_dev.h12 __u8 ifa_flags; member
/linux-3.4.99/net/ipv6/
Daddrconf.c2188 unsigned int plen, __u8 ifa_flags, __u32 prefered_lft, in inet6_addr_add() argument
2226 ifa_flags |= IFA_F_PERMANENT; in inet6_addr_add()
2232 ifa_flags |= IFA_F_DEPRECATED; in inet6_addr_add()
2236 ifp = ipv6_add_addr(idev, pfx, plen, scope, ifa_flags); in inet6_addr_add()
3456 static int inet6_addr_modify(struct inet6_ifaddr *ifp, u8 ifa_flags, in inet6_addr_modify() argument
3474 ifa_flags |= IFA_F_PERMANENT; in inet6_addr_modify()
3480 ifa_flags |= IFA_F_DEPRECATED; in inet6_addr_modify()
3485 …(ifp->flags & ~(IFA_F_DEPRECATED | IFA_F_PERMANENT | IFA_F_NODAD | IFA_F_HOMEADDRESS)) | ifa_flags; in inet6_addr_modify()
3511 u8 ifa_flags; in inet6_rtm_newaddr() local
3539 ifa_flags = ifm->ifa_flags & (IFA_F_NODAD | IFA_F_HOMEADDRESS); in inet6_rtm_newaddr()
[all …]
/linux-3.4.99/net/phonet/
Dpn_netlink.c116 ifm->ifa_flags = IFA_F_PERMANENT; in fill_addr()