Searched refs:RTM_ADD (Results 1 - 11 of 11) sorted by relevance

/darwin-on-arm/xnu/bsd/net/
H A Drtsock.c459 case RTM_ADD:
491 error = rtrequest_scoped_locked(RTM_ADD, info.rti_info[RTAX_DST], info.rti_info[RTAX_GATEWAY],
661 rt->rt_ifa->ifa_rtrequest(RTM_ADD, rt, info.rti_info[RTAX_GATEWAY]);
943 ifa_rtrequest(RTM_ADD, rt, Gate);
959 ifa_rtrequest(RTM_ADD, rt, Gate);
1281 if ((cmd == RTM_ADD && pass == 1) ||
1284 int ncmd = cmd == RTM_ADD ? RTM_NEWADDR : RTM_DELADDR;
1314 if ((cmd == RTM_ADD && pass == 2) ||
H A Droute.h306 #define RTM_ADD 0x1 /* Add Route */ macro
H A Droute.c174 * CREATE an entry with reference count set to 0 as part of RTM_ADD/RESOLVE.
1328 error = rtrequest_scoped_locked(RTM_ADD, dst,
1589 * rtrequest(RTM_ADD). Once such a route is created and marked with the
1594 * specify the destination address and scope value for RTM_ADD/RTM_DELETE.
1856 case RTM_ADD:
2043 if (req == RTM_ADD &&
2948 if (cmd == RTM_ADD && error == 0 && (rt = nrt)) {
3006 ifa_rtrequest(RTM_ADD, rt, SA(0));
H A Dif.c1194 if (cmd != RTM_ADD || ((ifa = rt->rt_ifa) == 0) ||
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6.c266 cmd == RTM_ADD ? "ADD" : "DELETE",
280 if (cmd == RTM_ADD && nrt && ifa != nrt->rt_ifa) {
296 /* the cmd must be RTM_ADD here */
329 in6_ifloop_request(RTM_ADD, ifa);
1844 error = rtrequest_scoped(RTM_ADD,
1920 error = rtrequest_scoped(RTM_ADD,
2604 if ((error = rtinit(&(ia->ia_ifa), (int)RTM_ADD,
H A Dnd6_rtr.c793 err = rtrequest_scoped(RTM_ADD, (struct sockaddr *)&def,
799 nd6_rtmsg(RTM_ADD, newrt); /* tell user process */
3494 error = rtrequest_scoped(RTM_ADD, (struct sockaddr *)&prefix,
3505 nd6_rtmsg(RTM_ADD, rt);
H A Dnd6.c150 * of RTM_ADD/RTM_RESOLVE/RTM_DELETE in nd6_rtrequest().
1406 if ((e = rtrequest_scoped_locked(RTM_ADD,
1847 case RTM_ADD:
1907 /* Don't complain in case of RTM_ADD */
1939 if (req == RTM_ADD) {
/darwin-on-arm/xnu/bsd/kern/
H A Dnetboot.c578 return (route_cmd(RTM_ADD, zeroes, router, zeroes, flags, IFSCOPE_NONE));
/darwin-on-arm/xnu/bsd/netinet/
H A Din.c793 rtinit_locked(&(ia->ia_ifa), (int)RTM_ADD,
1707 if ((error = rtinit_locked(&(ia->ia_ifa), (int)RTM_ADD, flags)) == 0) {
H A Draw_ip.c771 err = rtinit(&ia->ia_ifa, RTM_ADD, flags);
H A Din_arp.c146 * of RTM_ADD/RTM_RESOLVE/RTM_DELETE in arp_rtrequest().
601 case RTM_ADD:

Completed in 68 milliseconds