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
124
) sorted by null
1
2
3
4
5
/external/iproute2/ip/
iplink_can.c
202
struct can_ctrlmode *cm =
RTA_DATA
(tb[IFLA_CAN_CTRLMODE]);
209
int *state =
RTA_DATA
(tb[IFLA_CAN_STATE]);
217
RTA_DATA
(tb[IFLA_CAN_BERR_COUNTER]);
223
__u32 *restart_ms =
RTA_DATA
(tb[IFLA_CAN_RESTART_MS]);
229
struct can_bittiming *bt =
RTA_DATA
(tb[IFLA_CAN_BITTIMING]);
242
RTA_DATA
(tb[IFLA_CAN_BITTIMING_CONST]);
253
struct can_clock *clock =
RTA_DATA
(tb[IFLA_CAN_CLOCK]);
266
stats =
RTA_DATA
(xstats);
ipprefix.c
78
pfx = (struct in6_addr *)
RTA_DATA
(tb[PREFIX_ADDRESS]);
95
pc = (struct prefix_cacheinfo *)
RTA_DATA
(tb[PREFIX_CACHEINFO]);
ipaddress.c
149
qlen = *(int *)
RTA_DATA
(tb[IFLA_TXQLEN]);
195
kind =
RTA_DATA
(linkinfo[IFLA_INFO_KIND]);
237
vf_mac =
RTA_DATA
(vf[IFLA_VF_MAC]);
238
vf_vlan =
RTA_DATA
(vf[IFLA_VF_VLAN]);
239
vf_tx_rate =
RTA_DATA
(vf[IFLA_VF_TX_RATE]);
250
vf_spoofchk =
RTA_DATA
(vf[IFLA_VF_SPOOFCHK]);
387
fnmatch(filter.label,
RTA_DATA
(tb[IFLA_IFNAME]), 0))
391
int group = *(int*)
RTA_DATA
(tb[IFLA_GROUP]);
404
int iflink = *(int*)
RTA_DATA
(tb[IFLA_LINK]);
418
fprintf(fp, "mtu %u ", *(int*)
RTA_DATA
(tb[IFLA_MTU]))
[
all
...]
iplink_vlan.c
153
for (i =
RTA_DATA
(attr); RTA_OK(i, rem); i = RTA_NEXT(i, rem)) {
154
m =
RTA_DATA
(i);
191
flags =
RTA_DATA
(tb[IFLA_VLAN_FLAGS]);
iproute.c
191
memcpy(&dst.data,
RTA_DATA
(tb[RTA_DST]), (r->rtm_dst_len+7)/8);
196
memcpy(&src.data,
RTA_DATA
(tb[RTA_SRC]), (r->rtm_src_len+7)/8);
202
memcpy(&via.data,
RTA_DATA
(tb[RTA_GATEWAY]), host_len/8);
208
memcpy(&prefsrc.data,
RTA_DATA
(tb[RTA_PREFSRC]), host_len/8);
237
iif = *(int*)
RTA_DATA
(tb[RTA_IIF]);
244
oif = *(int*)
RTA_DATA
(tb[RTA_OIF]);
251
mark = *(int *)
RTA_DATA
(tb[RTA_MARK]);
260
*(int*)
RTA_DATA
(tb[RTA_PRIORITY]) == -1)
339
RTA_DATA
(tb[RTA_DST]),
346
RTA_DATA
(tb[RTA_DST])
[
all
...]
iprule.c
79
fprintf(fp, "%u:\t", *(unsigned*)
RTA_DATA
(tb[FRA_PRIORITY]));
90
RTA_DATA
(tb[FRA_SRC]),
97
RTA_DATA
(tb[FRA_SRC]),
111
RTA_DATA
(tb[FRA_DST]),
118
RTA_DATA
(tb[FRA_DST]),
176
RTA_DATA
(tb[RTA_GATEWAY]),
/external/iproute2/include/
libnetlink.h
68
(parse_rtattr((tb), (max),
RTA_DATA
(rta), RTA_PAYLOAD(rta)))
71
({ data = RTA_PAYLOAD(rta) >= len ?
RTA_DATA
(rta) : NULL; \
76
return *(__u8 *)
RTA_DATA
(rta);
80
return *(__u16 *)
RTA_DATA
(rta);
84
return *(__u32 *)
RTA_DATA
(rta);
89
memcpy(&tmp,
RTA_DATA
(rta), sizeof(__u64));
94
return (const char *)
RTA_DATA
(rta);
/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]);
216
char *name =
RTA_DATA
(tb[CTRL_ATTR_FAMILY_NAME]);
220
__u16 *id =
RTA_DATA
(tb[CTRL_ATTR_FAMILY_ID]);
224
__u32 *v =
RTA_DATA
(tb[CTRL_ATTR_VERSION]);
229
__u32 *h =
RTA_DATA
(tb[CTRL_ATTR_HDRSIZE]);
233
__u32 *ma =
RTA_DATA
(tb[CTRL_ATTR_MAXATTR]);
/external/iproute2/tc/
m_skbedit.c
182
queue_mapping =
RTA_DATA
(tb[TCA_SKBEDIT_QUEUE_MAPPING]);
186
priority =
RTA_DATA
(tb[TCA_SKBEDIT_PRIORITY]);
190
mark =
RTA_DATA
(tb[TCA_SKBEDIT_MARK]);
196
struct tcf_t *tm =
RTA_DATA
(tb[TCA_SKBEDIT_TM]);
q_multiq.c
73
qopt =
RTA_DATA
(opt);
f_tcindex.c
153
shift = *(int *)
RTA_DATA
(tb[TCA_TCINDEX_SHIFT]);
162
fall_through = *(int *)
RTA_DATA
(tb[TCA_TCINDEX_FALL_THROUGH]);
168
RTA_DATA
(tb[TCA_TCINDEX_CLASSID]), b1));
m_gact.c
226
p =
RTA_DATA
(tb[TCA_GACT_PARMS]);
231
pp =
RTA_DATA
(tb[TCA_GACT_PROB]);
242
struct tcf_t *tm =
RTA_DATA
(tb[TCA_GACT_TM]);
q_netem.c
515
memcpy(&qopt,
RTA_DATA
(opt), sizeof(qopt));
519
parse_rtattr(tb, TCA_NETEM_MAX,
RTA_DATA
(opt) + sizeof(qopt),
525
cor =
RTA_DATA
(tb[TCA_NETEM_CORR]);
530
reorder =
RTA_DATA
(tb[TCA_NETEM_REORDER]);
535
corrupt =
RTA_DATA
(tb[TCA_NETEM_CORRUPT]);
542
gemodel =
RTA_DATA
(lb[NETEM_LOSS_GI]);
544
gemodel =
RTA_DATA
(lb[NETEM_LOSS_GE]);
549
rate =
RTA_DATA
(tb[TCA_NETEM_RATE]);
q_fifo.c
70
qopt =
RTA_DATA
(opt);
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]);
m_csum.c
202
sel =
RTA_DATA
(tb[TCA_CSUM_PARMS]);
233
struct tcf_t *tm =
RTA_DATA
(tb[TCA_CSUM_TM]);
m_nat.c
186
sel =
RTA_DATA
(tb[TCA_NAT_PARMS]);
200
struct tcf_t *tm =
RTA_DATA
(tb[TCA_NAT_TM]);
q_sfb.c
155
qopt =
RTA_DATA
(tb[TCA_SFB_PARMS]);
183
st =
RTA_DATA
(xstats);
tc_stab.c
128
memcpy(&s,
RTA_DATA
(tb[TCA_STAB_BASE]),
148
__u16 *data =
RTA_DATA
(tb[TCA_STAB_DATA]);
/external/android-clat/
getaddr.c
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));
getroute.c
64
this_gateway =
RTA_DATA
(rta_p);
68
this_interface_id = *(int *)
RTA_DATA
(rta_p);
/external/dhcpcd/
if-linux.c
262
memcpy(&rt.dest.s_addr,
RTA_DATA
(rta),
266
memcpy(&rt.gate.s_addr,
RTA_DATA
(rta),
270
idx = *(int *)
RTA_DATA
(rta);
275
metric = *(int *)
RTA_DATA
(rta);
324
memcpy(&dest.s_addr,
RTA_DATA
(rta),
329
memcpy(&addr.s_addr,
RTA_DATA
(rta),
376
strlcpy(ifn,
RTA_DATA
(rta), sizeof(ifn));
452
memcpy(
RTA_DATA
(rta), data, alen);
472
memcpy(
RTA_DATA
(rta), &data, sizeof(data));
/external/iproute2/lib/
ll_map.c
87
memcpy(im->addr,
RTA_DATA
(tb[IFLA_ADDRESS]), alen);
92
strcpy(im->name,
RTA_DATA
(tb[IFLA_IFNAME]));
/external/wpa_supplicant_8/src/drivers/
netlink.c
172
*((char *)
RTA_DATA
(rta)) = linkmode;
182
*((char *)
RTA_DATA
(rta)) = operstate;
/external/chromium/net/base/
network_change_notifier_netlink_linux.cc
49
reinterpret_cast<struct ifa_cacheinfo*>(
RTA_DATA
(route_attribute));
Completed in 669 milliseconds
1
2
3
4
5