Home | History | Annotate | Download | only in ip

Lines Matching defs:rta

628 int parse_one_nh(struct rtattr *rta, struct rtnexthop *rtnh, int *argcp, char ***argvp)
636 rta_addattr32(rta, 4096, RTA_GATEWAY, get_addr32(*argv));
657 rta_addattr32(rta, 4096, RTA_FLOW, realm);
670 struct rtattr *rta = (void*)buf;
673 rta->rta_type = RTA_MULTIPATH;
674 rta->rta_len = RTA_LENGTH(0);
675 rtnh = RTA_DATA(rta);
688 rta->rta_len += rtnh->rtnh_len;
689 parse_one_nh(rta, rtnh, &argc, &argv);
693 if (rta->rta_len > RTA_LENGTH(0))
694 addattr_l(n, 1024, RTA_MULTIPATH, RTA_DATA(rta), RTA_PAYLOAD(rta));