Lines Matching refs:bytelen
762 rta_addattr_l(rta, 4096, RTA_GATEWAY, &addr.data, addr.bytelen); in parse_one_nh()
763 rtnh->rtnh_len += sizeof(struct rtattr) + addr.bytelen; in parse_one_nh()
765 rta_addattr_l(rta, 4096, RTA_VIA, &addr.family, addr.bytelen+2); in parse_one_nh()
766 rtnh->rtnh_len += RTA_SPACE(addr.bytelen+2); in parse_one_nh()
804 addr.bytelen); in parse_one_nh()
805 rtnh->rtnh_len += sizeof(struct rtattr) + addr.bytelen; in parse_one_nh()
889 addattr_l(&req.n, sizeof(req), RTA_PREFSRC, &addr.data, addr.bytelen); in iproute_modify()
900 addattr_l(&req.n, sizeof(req), RTA_NEWDST, &addr.data, addr.bytelen); in iproute_modify()
921 &addr.data, addr.bytelen); in iproute_modify()
924 &addr.family, addr.bytelen+2); in iproute_modify()
932 if (addr.bytelen) in iproute_modify()
933 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen); in iproute_modify()
1242 if (dst.bytelen) in iproute_modify()
1243 addattr_l(&req.n, sizeof(req), RTA_DST, &dst.data, dst.bytelen); in iproute_modify()
1710 if (addr.bytelen) in iproute_get()
1711 addattr_l(&req.n, sizeof(req), RTA_SRC, &addr.data, addr.bytelen); in iproute_get()
1751 addattr_l(&req.n, sizeof(req), RTA_NEWDST, &addr.data, addr.bytelen); in iproute_get()
1763 if (addr.bytelen) in iproute_get()
1764 addattr_l(&req.n, sizeof(req), RTA_DST, &addr.data, addr.bytelen); in iproute_get()