HomeSort by relevance Sort by last modified time
    Searched refs:rta_p (Results 1 - 2 of 2) sorted by null

  /external/android-clat/
getaddr.c 46 struct rtattr *rta_p; local
51 rta_p = (struct rtattr *)IFA_RTA(ifa_p);
60 for (; RTA_OK(rta_p, rta_len); rta_p = RTA_NEXT(rta_p, rta_len)) {
61 switch(rta_p->rta_type) {
64 memcpy(&targ_p->ip.ip6, RTA_DATA(rta_p), rta_p->rta_len - sizeof(struct rtattr));
71 memcpy(&targ_p->ip.ip4, RTA_DATA(rta_p), rta_p->rta_len - sizeof(struct rtattr))
    [all...]
getroute.c 40 struct rtattr *rta_p; local
59 rta_p = (struct rtattr *)RTM_RTA(rt_p);
61 for(; RTA_OK(rta_p, rta_len); rta_p = RTA_NEXT(rta_p, rta_len)) {
62 switch(rta_p->rta_type) {
64 this_gateway = RTA_DATA(rta_p);
65 this_gateway_size = RTA_PAYLOAD(rta_p);
68 this_interface_id = *(int *)RTA_DATA(rta_p);

Completed in 48 milliseconds