Lines Matching refs:RTA_DATA
423 memcpy(&rt->dest.s_addr, RTA_DATA(rta), in if_copyrt()
427 memcpy(&rt->gate.s_addr, RTA_DATA(rta), in if_copyrt()
431 memcpy(&prefsrc.s_addr, RTA_DATA(rta), in if_copyrt()
436 *(unsigned int *)RTA_DATA(rta)); in if_copyrt()
439 rt->metric = *(unsigned int *)RTA_DATA(rta); in if_copyrt()
488 memcpy(&rt->dest.s6_addr, RTA_DATA(rta), in if_copyrt6()
492 memcpy(&rt->gate.s6_addr, RTA_DATA(rta), in if_copyrt6()
497 *(unsigned int *)RTA_DATA(rta)); in if_copyrt6()
500 rt->metric = *(unsigned int *)RTA_DATA(rta); in if_copyrt6()
617 memcpy(&dest.s_addr, RTA_DATA(rta), in link_addr()
622 memcpy(&addr.s_addr, RTA_DATA(rta), in link_addr()
638 memcpy(&addr6.s6_addr, RTA_DATA(rta), in link_addr()
720 memcpy(&addr6.s6_addr, RTA_DATA(rta), in link_neigh()
779 strlcpy(ifn, RTA_DATA(rta), sizeof(ifn)); in link_netlink()
821 dhcpcd_handlehwaddr(ctx, ifn, RTA_DATA(hwaddr), l); in link_netlink()
891 memcpy(RTA_DATA(rta), data, alen); in add_attr_l()
912 memcpy(RTA_DATA(rta), &data, sizeof(data)); in add_attr_32()
1514 memcpy(RTA_DATA(subrta), &data, sizeof(data)); in rta_add_attr_32()
1583 RTA_DATA(metrics), (unsigned short)RTA_PAYLOAD(metrics)); in if_route6()