RTM_ADD
case RTM_ADD:
} else if (mpath && rtm->rtm_type == RTM_ADD)
} else if (mpath && rtm->rtm_type == RTM_ADD)
configure_reject_route(&imsg_crr, RTM_ADD);
configure_routes(RTM_ADD, imsg);
type = RTM_ADD;
if (type == RTM_ADD)
return (vroute_doroute(env, flags, addrs, rdomain, RTM_ADD,
type == RTM_ADD ? "RTM_ADD" : type == RTM_DELETE ? "RTM_DELETE" :
if ((type == RTM_ADD && errno != EEXIST) ||
cmd = RTM_ADD;
configure_gateway(dfr, RTM_ADD);
rv = rtrequest(RTM_ADD, &info, 0, &rt, ifp->if_rdomain);
rtm_send(rt, RTM_ADD, rv, ifp->if_rdomain);
rv = rtrequest(RTM_ADD, &info, 0, &rt, ifp->if_rdomain);
rtm_send(rt, RTM_ADD, rv, ifp->if_rdomain);
case RTM_ADD:
case RTM_ADD:
error = rtrequest(RTM_ADD, &info, prio, &rt, rdomain);
rtm_send(rt, RTM_ADD, 0, rdomain);
rtm_send(rt, RTM_ADD, 0, rtableid);
error = rtrequest(RTM_ADD, &info, RTP_DEFAULT, &rt,
case RTM_ADD:
ifp->if_rtrequest(ifp, RTM_ADD, rt);
case RTM_ADD:
if (rtm->rtm_type == RTM_ADD) {
} else if (rtm->rtm_type != RTM_ADD)
case RTM_ADD:
error = rtrequest(RTM_ADD, info, prio, &rt, tableid);
case RTM_ADD:
error = rtrequest(RTM_ADD, &info, rt->rt_priority, &nrt,
rtm_send(rt, RTM_ADD, 0, rtableid);
error = rtrequest(RTM_ADD, &info, rt->rt_priority, &nrt,
rtm_send(rt, RTM_ADD, 0, rtableid);
error = rtrequest(RTM_ADD, &info, RTP_CONNECTED, NULL,
error = rtrequest(RTM_ADD, &info, RTP_CONNECTED, NULL,
error = rtrequest(RTM_ADD, &info, RTP_CONNECTED, &rt,
case RTM_ADD:
if (req == RTM_ADD) {
return (rtmsg(RTM_ADD));
case RTM_ADD:
if (send_rtmsg(RTM_ADD, kt, kf))
if (send_rtmsg(RTM_ADD, kt, kf))
hdr.rtm_type = RTM_ADD;
case RTM_ADD:
case RTM_ADD:
} else if (mpath && type == RTM_ADD)
} else if (mpath && type == RTM_ADD)
if (send_rtmsg(RTM_ADD, kt, kr_tofull(kr)))
if (send_rtmsg(RTM_ADD, kt, kr6_tofull(kr6)))
hdr.rtm_type = RTM_ADD;
hdr.rtm_type = RTM_ADD;
case RTM_ADD:
if ((rtm->rtm_type == RTM_ADD || rtm->rtm_type == RTM_GET) &&
int action = RTM_ADD;
send_rtmsg(kr_state.fd, RTM_ADD, &kn->r);
rm.rm_hdr.rtm_type = RTM_ADD;
hdr.rtm_type = RTM_ADD;
hdr.rtm_type = RTM_ADD;
case RTM_ADD:
rtfilter = ROUTE_FILTER(RTM_ADD) | ROUTE_FILTER(RTM_GET) |
int action = RTM_ADD;
send_rtmsg(kr_state.fd, RTM_ADD, &kn->r, AF_MPLS);
return (rtmsg(RTM_ADD));
case RTM_ADD:
ASSERT(type == RTM_ADD || type == RTM_DELETE);
if(type == RTM_ADD)
if (type == RTM_ADD && mtu > 0) {
if (type == RTM_ADD)
(type == RTM_ADD && errno == EEXIST)) {
return in_route0(RTM_ADD, dest, NULL, gate, mtu, ifname, 0);
return in_route0(RTM_ADD, dest, mask, gate, mtu, ifname, rtm_flags);
hdr.rtm_type = RTM_ADD;
case RTM_ADD:
case RTM_ADD:
if (action == RTM_ADD) {
if (action == RTM_ADD && kr) {
if (action == RTM_ADD)
if (action == RTM_ADD)
action = RTM_ADD;
int action = RTM_ADD;
send_rtmsg(kr_state.fd, RTM_ADD, &kn->r);
RTM_ADD, &kr->r) != 0)
hdr.rtm_type = RTM_ADD;
case RTM_ADD:
case RTM_ADD:
if (action == RTM_ADD) {
if (action == RTM_ADD && kr) {
if (action == RTM_ADD)
if (action == RTM_ADD)
action = RTM_ADD;
int action = RTM_ADD;
send_rtmsg(kr_state.fd, RTM_ADD, &kn->r);
RTM_ADD, &kr->r) != 0)
rtmsg.hdr.rtm_type = cmd == 's'? RTM_ADD: RTM_DELETE;
arpmsg.hdr.rtm_type = RTM_ADD;
rt = rtmsg(RTM_ADD);
case RTM_ADD:
hdr.rtm_type = HOST_ISUP(crt->up) ? RTM_ADD : RTM_DELETE;
if (hdr.rtm_type == RTM_ADD) {
if (rtm->rtm_type == RTM_ADD || rtm->rtm_type == RTM_CHANGE ||
case RTM_ADD:
if (action == RTM_ADD) {
int action = RTM_ADD;
send_rtmsg(kr_state.fd, RTM_ADD, &kr->r);
hdr.rtm_type = RTM_ADD;
case RTM_ADD:
case RTM_ADD:
RTTYPE("ADD", RTM_ADD);
rtm->rtm_type = RTM_ADD;