OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:RTA_DATA
(Results
1 - 25
of
214
) sorted by null
1
2
3
4
5
6
7
8
9
/external/iproute2/ip/
link_vti.c
100
ikey = *(__u32 *)
RTA_DATA
(vtiinfo[IFLA_VTI_IKEY]);
103
okey = *(__u32 *)
RTA_DATA
(vtiinfo[IFLA_VTI_OKEY]);
106
saddr = *(__u32 *)
RTA_DATA
(vtiinfo[IFLA_VTI_LOCAL]);
109
daddr = *(__u32 *)
RTA_DATA
(vtiinfo[IFLA_VTI_REMOTE]);
112
link = *(__u8 *)
RTA_DATA
(vtiinfo[IFLA_VTI_LINK]);
210
unsigned addr = *(__u32 *)
RTA_DATA
(tb[IFLA_VTI_REMOTE]);
219
unsigned addr = *(__u32 *)
RTA_DATA
(tb[IFLA_VTI_LOCAL]);
227
if (tb[IFLA_VTI_LINK] && *(__u32 *)
RTA_DATA
(tb[IFLA_VTI_LINK])) {
228
unsigned link = *(__u32 *)
RTA_DATA
(tb[IFLA_VTI_LINK]);
238
inet_ntop(AF_INET,
RTA_DATA
(tb[IFLA_VTI_IKEY]), s2, sizeof(s2))
[
all
...]
link_vti6.c
102
memcpy(&saddr,
RTA_DATA
(vtiinfo[IFLA_VTI_LOCAL]), sizeof(saddr));
105
memcpy(&daddr,
RTA_DATA
(vtiinfo[IFLA_VTI_REMOTE]), sizeof(daddr));
209
memcpy(&daddr,
RTA_DATA
(tb[IFLA_VTI_REMOTE]), sizeof(daddr));
217
memcpy(&saddr,
RTA_DATA
(tb[IFLA_VTI_LOCAL]), sizeof(saddr));
224
if (tb[IFLA_VTI_LINK] && *(__u32 *)
RTA_DATA
(tb[IFLA_VTI_LINK])) {
225
unsigned link = *(__u32 *)
RTA_DATA
(tb[IFLA_VTI_LINK]);
235
inet_ntop(AF_INET,
RTA_DATA
(tb[IFLA_VTI_IKEY]), s2, sizeof(s2));
240
inet_ntop(AF_INET,
RTA_DATA
(tb[IFLA_VTI_OKEY]), s2, sizeof(s2));
ipnetconf.c
84
int *ifindex = (int *)
RTA_DATA
(tb[NETCONFA_IFINDEX]);
101
*(int *)
RTA_DATA
(tb[NETCONFA_FORWARDING])?"on":"off");
103
int rp_filter = *(int *)
RTA_DATA
(tb[NETCONFA_RP_FILTER]);
116
*(int *)
RTA_DATA
(tb[NETCONFA_MC_FORWARDING]));
120
*(int *)
RTA_DATA
(tb[NETCONFA_PROXY_NEIGH])?"on":"off");
iplink_can.c
263
struct can_ctrlmode *cm =
RTA_DATA
(tb[IFLA_CAN_CTRLMODE]);
270
int *state =
RTA_DATA
(tb[IFLA_CAN_STATE]);
278
RTA_DATA
(tb[IFLA_CAN_BERR_COUNTER]);
284
__u32 *restart_ms =
RTA_DATA
(tb[IFLA_CAN_RESTART_MS]);
290
struct can_bittiming *bt =
RTA_DATA
(tb[IFLA_CAN_BITTIMING]);
303
RTA_DATA
(tb[IFLA_CAN_BITTIMING_CONST]);
315
RTA_DATA
(tb[IFLA_CAN_DATA_BITTIMING]);
329
RTA_DATA
(tb[IFLA_CAN_DATA_BITTIMING_CONST]);
340
struct can_clock *clock =
RTA_DATA
(tb[IFLA_CAN_CLOCK]);
353
stats =
RTA_DATA
(xstats)
[
all
...]
ipmroute.c
93
iif = *(int*)
RTA_DATA
(tb[RTA_IIF]);
105
memcpy(&dst.data,
RTA_DATA
(tb[RTA_DST]), RTA_PAYLOAD(tb[RTA_DST]));
115
memcpy(&src.data,
RTA_DATA
(tb[RTA_SRC]), RTA_PAYLOAD(tb[RTA_SRC]));
129
RTA_DATA
(tb[RTA_SRC]),
137
RTA_DATA
(tb[RTA_DST]),
149
struct rtnexthop *nh =
RTA_DATA
(tb[RTA_MULTIPATH]);
174
struct rta_mfc_stats *mfcs =
RTA_DATA
(tb[RTA_MFC_STATS]);
ipprefix.c
80
pfx = (struct in6_addr *)
RTA_DATA
(tb[PREFIX_ADDRESS]);
99
pc = (struct prefix_cacheinfo *)
RTA_DATA
(tb[PREFIX_CACHEINFO]);
ipaddress.c
175
qlen = *(int *)
RTA_DATA
(tb[IFLA_TXQLEN]);
218
return
RTA_DATA
(linkinfo[IFLA_INFO_KIND]);
234
kind =
RTA_DATA
(linkinfo[IFLA_INFO_KIND]);
257
slave_kind =
RTA_DATA
(linkinfo[IFLA_INFO_SLAVE_KIND]);
329
vf_mac =
RTA_DATA
(vf[IFLA_VF_MAC]);
330
vf_vlan =
RTA_DATA
(vf[IFLA_VF_VLAN]);
331
vf_tx_rate =
RTA_DATA
(vf[IFLA_VF_TX_RATE]);
342
vf_spoofchk =
RTA_DATA
(vf[IFLA_VF_SPOOFCHK]);
354
vf_linkstate =
RTA_DATA
(vf[IFLA_VF_LINK_STATE]);
369
struct ifla_vf_rate *vf_rate =
RTA_DATA
(vf[IFLA_VF_RATE])
[
all
...]
iproute_lwtunnel.c
68
RTA_DATA
(tb[MPLS_IPTUNNEL_DST]),
86
RTA_DATA
(tb[LWTUNNEL_IP_SRC]),
93
RTA_DATA
(tb[LWTUNNEL_IP_DST]),
112
addr64_n2a(*(__u64 *)
RTA_DATA
(tb[ILA_ATTR_LOCATOR]),
132
RTA_DATA
(tb[LWTUNNEL_IP6_SRC]),
139
RTA_DATA
(tb[LWTUNNEL_IP6_DST]),
link_gre6.c
132
memcpy(&laddr,
RTA_DATA
(greinfo[IFLA_GRE_LOCAL]), sizeof(laddr));
135
memcpy(&raddr,
RTA_DATA
(greinfo[IFLA_GRE_REMOTE]), sizeof(raddr));
321
memcpy(&addr,
RTA_DATA
(tb[IFLA_GRE_REMOTE]), sizeof(addr));
331
memcpy(&addr,
RTA_DATA
(tb[IFLA_GRE_LOCAL]), sizeof(addr));
375
inet_ntop(AF_INET,
RTA_DATA
(tb[IFLA_GRE_IKEY]), s2, sizeof(s2));
380
inet_ntop(AF_INET,
RTA_DATA
(tb[IFLA_GRE_OKEY]), s2, sizeof(s2));
/external/iproute2/include/
libnetlink.h
119
(parse_rtattr((tb), (max),
RTA_DATA
(rta), RTA_PAYLOAD(rta)))
122
(parse_rtattr_one(type,
RTA_DATA
(rta), RTA_PAYLOAD(rta)))
125
({ data = RTA_PAYLOAD(rta) >= len ?
RTA_DATA
(rta) : NULL; \
130
return *(__u8 *)
RTA_DATA
(rta);
134
return *(__u16 *)
RTA_DATA
(rta);
138
return *(__u32 *)
RTA_DATA
(rta);
143
memcpy(&tmp,
RTA_DATA
(rta), sizeof(__u64));
148
return (const char *)
RTA_DATA
(rta);
/external/iproute2/tc/
m_skbedit.c
179
p =
RTA_DATA
(tb[TCA_SKBEDIT_PARMS]);
184
queue_mapping =
RTA_DATA
(tb[TCA_SKBEDIT_QUEUE_MAPPING]);
188
priority =
RTA_DATA
(tb[TCA_SKBEDIT_PRIORITY]);
192
mark =
RTA_DATA
(tb[TCA_SKBEDIT_MARK]);
200
struct tcf_t *tm =
RTA_DATA
(tb[TCA_SKBEDIT_TM]);
m_simple.c
174
sel =
RTA_DATA
(tb[TCA_DEF_PARMS]);
181
simpdata =
RTA_DATA
(tb[TCA_DEF_DATA]);
189
struct tcf_t *tm =
RTA_DATA
(tb[TCA_DEF_TM]);
q_multiq.c
72
qopt =
RTA_DATA
(opt);
f_tcindex.c
161
shift = *(int *)
RTA_DATA
(tb[TCA_TCINDEX_SHIFT]);
170
fall_through = *(int *)
RTA_DATA
(tb[TCA_TCINDEX_FALL_THROUGH]);
176
RTA_DATA
(tb[TCA_TCINDEX_CLASSID]), b1));
m_gact.c
227
p =
RTA_DATA
(tb[TCA_GACT_PARMS]);
232
pp =
RTA_DATA
(tb[TCA_GACT_PROB]);
243
struct tcf_t *tm =
RTA_DATA
(tb[TCA_GACT_TM]);
m_connmark.c
145
ci =
RTA_DATA
(tb[TCA_CONNMARK_PARMS]);
153
struct tcf_t *tm =
RTA_DATA
(tb[TCA_CONNMARK_TM]);
q_hfsc.c
115
qopt =
RTA_DATA
(opt);
132
st =
RTA_DATA
(xstats);
252
rsc =
RTA_DATA
(tb[TCA_HFSC_RSC]);
258
fsc =
RTA_DATA
(tb[TCA_HFSC_FSC]);
264
usc =
RTA_DATA
(tb[TCA_HFSC_USC]);
q_netem.c
557
memcpy(&qopt,
RTA_DATA
(opt), sizeof(qopt));
561
parse_rtattr(tb, TCA_NETEM_MAX,
RTA_DATA
(opt) + sizeof(qopt),
567
cor =
RTA_DATA
(tb[TCA_NETEM_CORR]);
572
reorder =
RTA_DATA
(tb[TCA_NETEM_REORDER]);
577
corrupt =
RTA_DATA
(tb[TCA_NETEM_CORRUPT]);
584
gimodel =
RTA_DATA
(lb[NETEM_LOSS_GI]);
586
gemodel =
RTA_DATA
(lb[NETEM_LOSS_GE]);
591
rate =
RTA_DATA
(tb[TCA_NETEM_RATE]);
596
ecn =
RTA_DATA
(tb[TCA_NETEM_ECN]);
/external/iproute2/bridge/
mdb.c
43
for (i =
RTA_DATA
(attr); RTA_OK(i, rem); i = RTA_NEXT(i, rem)) {
44
port_ifindex =
RTA_DATA
(i);
80
for (i =
RTA_DATA
(attr); RTA_OK(i, rem); i = RTA_NEXT(i, rem)) {
81
e =
RTA_DATA
(i);
114
for (i =
RTA_DATA
(tb[MDBA_MDB]); RTA_OK(i, rem); i = RTA_NEXT(i, rem))
128
i =
RTA_DATA
(tb[MDBA_ROUTER]);
129
port_ifindex =
RTA_DATA
(i);
/external/iproute2/genl/
ctrl.c
145
__u32 *id =
RTA_DATA
(tb[CTRL_ATTR_OP_ID]);
150
__u32 *fl =
RTA_DATA
(tb[CTRL_ATTR_OP_FLAGS]);
166
__u32 *id =
RTA_DATA
(tb[CTRL_ATTR_MCAST_GRP_ID]);
170
char *name =
RTA_DATA
(tb[CTRL_ATTR_MCAST_GRP_NAME]);
217
char *name =
RTA_DATA
(tb[CTRL_ATTR_FAMILY_NAME]);
221
__u16 *id =
RTA_DATA
(tb[CTRL_ATTR_FAMILY_ID]);
225
__u32 *v =
RTA_DATA
(tb[CTRL_ATTR_VERSION]);
230
__u32 *h =
RTA_DATA
(tb[CTRL_ATTR_HDRSIZE]);
234
__u32 *ma =
RTA_DATA
(tb[CTRL_ATTR_MAXATTR]);
/bionic/libc/bionic/
ifaddrs.cpp
177
new_addr->SetAddress(AF_PACKET,
RTA_DATA
(rta), RTA_PAYLOAD(rta));
182
new_addr->SetBroadcastAddress(AF_PACKET,
RTA_DATA
(rta), RTA_PAYLOAD(rta));
187
memcpy(new_addr->name,
RTA_DATA
(rta), RTA_PAYLOAD(rta));
219
new_addr->SetAddress(msg->ifa_family,
RTA_DATA
(rta), RTA_PAYLOAD(rta));
224
new_addr->SetBroadcastAddress(msg->ifa_family,
RTA_DATA
(rta), RTA_PAYLOAD(rta));
228
new_addr->SetLocalAddress(msg->ifa_family,
RTA_DATA
(rta), RTA_PAYLOAD(rta));
/external/strace/tests/
test_nlattr.h
49
memcpy(
RTA_DATA
(nla), src, n);
118
RTA_DATA
(NLMSG_ATTR(nlh, (hdrlen_))))); \
168
RTA_DATA
(NLMSG_ATTR(nlh, (hdrlen_))) \
/external/strace/tests-m32/
test_nlattr.h
49
memcpy(
RTA_DATA
(nla), src, n);
118
RTA_DATA
(NLMSG_ATTR(nlh, (hdrlen_))))); \
168
RTA_DATA
(NLMSG_ATTR(nlh, (hdrlen_))) \
/external/strace/tests-mx32/
test_nlattr.h
49
memcpy(
RTA_DATA
(nla), src, n);
118
RTA_DATA
(NLMSG_ATTR(nlh, (hdrlen_))))); \
168
RTA_DATA
(NLMSG_ATTR(nlh, (hdrlen_))) \
/external/android-clat/
getaddr.c
65
memcpy(&targ_p->ip.ip6,
RTA_DATA
(rta_p), rta_p->rta_len - sizeof(struct rtattr));
72
memcpy(&targ_p->ip.ip4,
RTA_DATA
(rta_p), rta_p->rta_len - sizeof(struct rtattr));
Completed in 229 milliseconds
1
2
3
4
5
6
7
8
9