Home
last modified time | relevance | path

Searched refs:RTM_NEWADDR (Results 1 – 25 of 27) sorted by relevance

12

/external/avahi/avahi-autoipd/
Diface-bsd.c174 if (ifm->ifm_type == RTM_NEWADDR) { in iface_get_initial_state()
283 case RTM_NEWADDR: in rtm_dispatch()
382 assert(ifam->ifam_type == RTM_NEWADDR || in rtm_dispatch_newdeladdr()
386 ifam->ifam_type == RTM_NEWADDR ? "NEWADDR" : "DELADDR", in rtm_dispatch_newdeladdr()
418 ifam->ifam_type == RTM_NEWADDR ? "NEWADDR" : "DELADDR", in rtm_dispatch_newdeladdr()
432 if (ifam->ifam_type == RTM_NEWADDR && ap == NULL) { in rtm_dispatch_newdeladdr()
Diface-linux.c128 } else if (n->nlmsg_type == RTM_NEWADDR || n->nlmsg_type == RTM_DELADDR) { in process_nlmsg()
169 } if (n->nlmsg_type == RTM_NEWADDR && !i) { in process_nlmsg()
/external/libnl/include/linux/
Drtnetlink.h28 RTM_NEWADDR = 20, enumerator
29 #define RTM_NEWADDR RTM_NEWADDR macro
/external/kernel-headers/original/uapi/linux/
Drtnetlink.h36 RTM_NEWADDR = 20, enumerator
37 #define RTM_NEWADDR RTM_NEWADDR macro
/external/iproute2/include/linux/
Drtnetlink.h36 RTM_NEWADDR = 20, enumerator
37 #define RTM_NEWADDR RTM_NEWADDR macro
/external/iputils/ninfod/
Dni_ifaddrs.c406 case RTM_NEWADDR: in ni_ifaddrs()
441 case RTM_NEWADDR: in ni_ifaddrs()
486 if (nlh->nlmsg_type == RTM_NEWADDR && nlm_family != AF_PACKET) { in ni_ifaddrs()
/external/iproute2/ip/
Dipmaddr.c286 if (cmd == RTM_NEWADDR) in multiaddr_modify()
338 return multiaddr_modify(RTM_NEWADDR, argc-1, argv+1); in do_multiaddr()
Dipaddress.c954 if (n->nlmsg_type != RTM_NEWADDR && n->nlmsg_type != RTM_DELADDR) in print_addrinfo()
962 if (filter.flushb && n->nlmsg_type != RTM_NEWADDR) in print_addrinfo()
1180 if (n->nlmsg_type != RTM_NEWADDR) in print_selected_addrinfo()
1974 return ipaddr_modify(RTM_NEWADDR, NLM_F_CREATE|NLM_F_EXCL, argc-1, argv+1); in do_ipaddr()
1977 return ipaddr_modify(RTM_NEWADDR, NLM_F_REPLACE, argc-1, argv+1); in do_ipaddr()
1979 return ipaddr_modify(RTM_NEWADDR, NLM_F_CREATE|NLM_F_REPLACE, argc-1, argv+1); in do_ipaddr()
Dipmroute.c274 return mroute_modify(RTM_NEWADDR, argc-1, argv+1); in do_multiroute()
Dipmonitor.c93 if (n->nlmsg_type == RTM_NEWADDR || n->nlmsg_type == RTM_DELADDR) { in accept_msg()
/external/avahi/avahi-core/
Diface-linux.c176 } else if (n->nlmsg_type == RTM_NEWADDR || n->nlmsg_type == RTM_DELADDR) { in netlink_callback()
250 if (n->nlmsg_type == RTM_NEWADDR) { in netlink_callback()
Diface-pfroute.c211 if(rtm->rtm_type == RTM_NEWADDR) in rtm_addr()
252 case RTM_NEWADDR: in parse_rtmsg()
/external/android-clat/
Dsetif.c60 …msg = nlmsg_alloc_ifaddr(RTM_NEWADDR, NLM_F_ACK | NLM_F_REQUEST | NLM_F_CREATE | NLM_F_REPLACE, &i… in add_address()
/external/webrtc/webrtc/base/
Difaddrs-android.cc171 case RTM_NEWADDR: { in getifaddrs()
/external/dhcpcd-6.8.2/
Dif.c223 ipv4_handleifa(ctx, RTM_NEWADDR, ifs, ifa->ifa_name, in if_learnaddrs1()
241 ipv6_handleifa(ctx, RTM_NEWADDR, ifs, in if_learnaddrs1()
Dif-bsd.c1272 case RTM_NEWADDR: in if_managelink()
1287 if (rtm->rtm_type != RTM_NEWADDR) in if_managelink()
1302 if (rtm->rtm_type == RTM_NEWADDR) { in if_managelink()
1323 if (rtm->rtm_type == RTM_NEWADDR) { in if_managelink()
Darp.c413 if (cmd != RTM_NEWADDR || (state = D_STATE(ifp)) == NULL) in arp_handleifa()
Dif-linux.c591 if (nlm->nlmsg_type != RTM_DELADDR && nlm->nlmsg_type != RTM_NEWADDR) in link_addr()
1298 nlm.hdr.nlmsg_type = RTM_NEWADDR; in if_address()
1449 nlm.hdr.nlmsg_type = RTM_NEWADDR; in if_address6()
Dipv6.c595 ipv6_handleifa(ap->iface->ctx, RTM_NEWADDR, in ipv6_checkaddrflags()
964 case RTM_NEWADDR: in ipv6_handleifa()
1325 case RTM_NEWADDR: in ipv6_handleifa_addrs()
/external/dnsmasq/src/
Dnetlink.c186 else if (h->nlmsg_type == RTM_NEWADDR) in iface_enumerate()
/external/dnsmasq/contrib/wrt/
Ddhcp_release.c222 else if (h->nlmsg_type == RTM_NEWADDR) in find_interface()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c165 if (h->nlmsg_type != RTM_NEWADDR) in recvaddrs()
666 case RTM_NEWADDR: in update_myaddrs()
/external/libnl/lib/route/
Daddr.c655 return build_addr_msg(addr, RTM_NEWADDR, NLM_F_CREATE | flags, result); in rtnl_addr_build_add_request()
1031 { RTM_NEWADDR, NL_ACT_NEW, "new" },
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c1046 else if (RTM_NEWADDR <= pNLMsg->nlmsg_type && pNLMsg->nlmsg_type <= RTM_GETADDR) in PrintNetLinkMsg()
1100 else if (pNLMsg->nlmsg_type == RTM_DELADDR || pNLMsg->nlmsg_type == RTM_NEWADDR) in ProcessRoutingNotification()
1163 if (pRSMsg->ifam_type == RTM_NEWADDR || pRSMsg->ifam_type == RTM_DELADDR || in ProcessRoutingNotification()
/external/toybox/toys/pending/
Dip.c1053 ? RTM_NEWADDR: RTM_DELADDR; in ipaddrupdate()
1207 send_nlmesg(RTM_NEWADDR, 0, AF_UNSPEC, (void *)&req, req.nlm.nlmsg_len); in ipaddrupdate()
1400 if ((addr_ptr->nlmsg_type == RTM_NEWADDR)) in ipaddr_print()

12