OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rta_tb
(Results
1 - 2
of
2
) sorted by null
/external/iproute2/ip/
ipaddress.c
513
struct rtattr *
rta_tb
[IFA_MAX+1];
local
528
parse_rtattr(
rta_tb
, IFA_MAX, IFA_RTA(ifa), n->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa)));
530
if (!
rta_tb
[IFA_LOCAL])
531
rta_tb
[IFA_LOCAL] =
rta_tb
[IFA_ADDRESS];
532
if (!
rta_tb
[IFA_ADDRESS])
533
rta_tb
[IFA_ADDRESS] =
rta_tb
[IFA_LOCAL];
544
if (
rta_tb
[IFA_LABEL])
545
label = RTA_DATA(
rta_tb
[IFA_LABEL])
[
all
...]
/external/ipsec-tools/src/racoon/
grabmyaddr.c
129
struct rtattr *
rta_tb
[IFA_MAX+1];
local
177
memset(
rta_tb
, 0, sizeof(
rta_tb
));
178
parse_rtattr(
rta_tb
, IFA_MAX, IFA_RTA(m), h->nlmsg_len - NLMSG_LENGTH(sizeof(*m)));
180
if (
rta_tb
[IFA_LOCAL] == NULL)
181
rta_tb
[IFA_LOCAL] =
rta_tb
[IFA_ADDRESS];
182
if (
rta_tb
[IFA_LOCAL] == NULL)
195
memcpy(&sin->sin_addr, RTA_DATA(
rta_tb
[IFA_LOCAL]), 4);
198
memcpy(&sin->sin6_addr, RTA_DATA(
rta_tb
[IFA_LOCAL]), 16)
[
all
...]
Completed in 303 milliseconds