Home
last modified time | relevance | path

Searched refs:RTM_ADD (Results 1 – 5 of 5) sorted by relevance

/external/dhcpcd-6.8.2/
Dif.h122 #ifndef RTM_ADD
123 #define RTM_ADD 0x1 /* Add Route */ macro
Dif-bsd.c587 if (cmd == RTM_ADD || cmd == RTM_CHANGE) in if_route()
591 if (cmd != RTM_ADD) in if_route()
631 if (cmd == RTM_ADD) in if_route()
638 if ((cmd == RTM_ADD || cmd == RTM_CHANGE) && in if_route()
661 if ((cmd == RTM_ADD || cmd == RTM_CHANGE) && in if_route()
714 ipv4_handlert(ifp->ctx, RTM_ADD, &rt); in if_initrt()
975 if (rtm.hdr.rtm_type != RTM_ADD) in if_route6()
990 if (cmd == RTM_ADD) in if_route6()
992 if (cmd == RTM_ADD && !(rtm.hdr.rtm_flags & RTF_REJECT)) in if_route6()
1008 if ((cmd == RTM_ADD || cmd == RTM_CHANGE) && in if_route6()
[all …]
Dif-linux.c537 cmd = RTM_ADD; in link_route()
1332 case RTM_ADD: in if_route()
1374 if ((cmd == RTM_ADD || cmd == RTM_CHANGE) && in if_route()
1397 ipv4_handlert(ctx, RTM_ADD, &rt); in _if_initrt()
1532 case RTM_ADD: in if_route6()
1565 if (cmd == RTM_ADD && !IN6_IS_ADDR_UNSPECIFIED(&rt->gate)) in if_route6()
1575 if (cmd == RTM_ADD && rt->mtu) { in if_route6()
1599 ipv6_handlert(ctx, RTM_ADD, &rt); in _if_initrt6()
Dipv4.c340 case RTM_ADD: in ipv4_handlert()
402 if (if_route(RTM_ADD, nrt) == 0) { in nc_route()
418 if (if_route(RTM_ADD, nrt) == 0) in nc_route()
Dipv6.c1805 case RTM_ADD: in ipv6_handlert()
1858 if (if_route6(RTM_ADD, nrt) == 0) { in nc_route()
1875 if (if_route6(RTM_ADD, nrt) == 0) in nc_route()