HomeSort by relevance Sort by last modified time
    Searched refs:addattr_l (Results 1 - 25 of 62) sorted by null

1 2 3

  /external/iproute2/ip/
link_veth.c 41 addattr_l(hdr, 1024, VETH_INFO_PEER, NULL, 0);
54 addattr_l(hdr, 1024, IFLA_IFNAME, name, len);
iplink_vlan.c 51 addattr_l(n, 1024, attrtype, NULL, 0);
66 addattr_l(n, 1024, IFLA_VLAN_QOS_MAPPING, &m, sizeof(m));
87 addattr_l(n, 1024, IFLA_VLAN_ID, &id, 2);
139 addattr_l(n, 1024, IFLA_VLAN_FLAGS, &flags, sizeof(flags));
link_gre.c 256 addattr_l(n, 1024, IFLA_GRE_IFLAGS, &iflags, 2);
257 addattr_l(n, 1024, IFLA_GRE_OFLAGS, &oflags, 2);
258 addattr_l(n, 1024, IFLA_GRE_LOCAL, &saddr, 4);
259 addattr_l(n, 1024, IFLA_GRE_REMOTE, &daddr, 4);
260 addattr_l(n, 1024, IFLA_GRE_PMTUDISC, &pmtudisc, 1);
263 addattr_l(n, 1024, IFLA_GRE_TTL, &ttl, 1);
264 addattr_l(n, 1024, IFLA_GRE_TOS, &tos, 1);
iplink.c 212 addattr_l(&req->n, sizeof(*req), IFLA_VF_MAC, &ivm, sizeof(ivm));
233 addattr_l(&req->n, sizeof(*req), IFLA_VF_VLAN, &ivv, sizeof(ivv));
241 addattr_l(&req->n, sizeof(*req), IFLA_VF_TX_RATE, &ivt, sizeof(ivt));
253 addattr_l(&req->n, sizeof(*req), IFLA_VF_SPOOFCHK, &ivs, sizeof(ivs));
304 addattr_l(&req->n, sizeof(*req), IFLA_ADDRESS, abuf, len);
311 addattr_l(&req->n, sizeof(*req), IFLA_BROADCAST, abuf, len);
320 addattr_l(&req->n, sizeof(*req), IFLA_TXQLEN, &qlen, 4);
327 addattr_l(&req->n, sizeof(*req), IFLA_MTU, &mtu, 4);
333 addattr_l(&req->n, sizeof(*req), IFLA_NET_NS_FD, &netns, 4);
335 addattr_l(&req->n, sizeof(*req), IFLA_NET_NS_PID, &netns, 4)
    [all...]
  /external/iproute2/tc/
f_tcindex.c 43 addattr_l(n,4096,TCA_OPTIONS,NULL,0);
54 addattr_l(n,4096,TCA_TCINDEX_HASH,&hash,sizeof(hash));
65 addattr_l(n,4096,TCA_TCINDEX_MASK,&mask,sizeof(mask));
76 addattr_l(n,4096,TCA_TCINDEX_SHIFT,&shift,
82 addattr_l(n,4096,TCA_TCINDEX_FALL_THROUGH,&value,
88 addattr_l(n,4096,TCA_TCINDEX_FALL_THROUGH,&value,
99 addattr_l(n, 4096, TCA_TCINDEX_CLASSID, &handle, 4);
q_dsmark.c 72 addattr_l(n,1024,TCA_OPTIONS,NULL,0);
73 addattr_l(n,1024,TCA_DSMARK_INDICES,&ind,sizeof(ind));
77 addattr_l(n,1024,TCA_DSMARK_DEFAULT_INDEX,&tmp,sizeof(tmp));
79 if (set_tc_index) addattr_l(n,1024,TCA_DSMARK_SET_TC_INDEX,NULL,0);
99 addattr_l(n,1024,TCA_OPTIONS,NULL,0);
108 addattr_l(n,1024,TCA_DSMARK_MASK,&tmp,1);
117 addattr_l(n,1024,TCA_DSMARK_VALUE,&tmp,1);
f_route.c 58 addattr_l(n, 4096, TCA_OPTIONS, NULL, 0);
68 addattr_l(n, 4096, TCA_ROUTE4_TO, &id, 4);
78 addattr_l(n, 4096, TCA_ROUTE4_FROM, &id, 4);
89 addattr_l(n, 4096, TCA_ROUTE4_IIF, &id, 4);
100 addattr_l(n, 4096, TCA_ROUTE4_CLASSID, &handle, 4);
m_skbedit.c 143 addattr_l(n, MAX_MSG, tca_id, NULL, 0);
144 addattr_l(n, MAX_MSG, TCA_SKBEDIT_PARMS, &sel, sizeof(sel));
146 addattr_l(n, MAX_MSG, TCA_SKBEDIT_QUEUE_MAPPING,
149 addattr_l(n, MAX_MSG, TCA_SKBEDIT_PRIORITY,
152 addattr_l(n, MAX_MSG, TCA_SKBEDIT_MARK,
q_ingress.c 52 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
q_multiq.c 60 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
q_drr.c 59 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
68 addattr_l(n, 1024, TCA_DRR_QUANTUM, &tmp, sizeof(tmp));
f_fw.c 65 addattr_l(n, 4096, TCA_OPTIONS, NULL, 0);
79 addattr_l(n, 4096, TCA_FW_CLASSID, &handle, 4);
104 addattr_l(n, MAX_MSG, TCA_FW_INDEV, d, strlen(d) + 1);
m_gact.c 191 addattr_l(n, MAX_MSG, tca_id, NULL, 0);
192 addattr_l(n, MAX_MSG, TCA_GACT_PARMS, &p, sizeof (p));
195 addattr_l(n, MAX_MSG, TCA_GACT_PROB, &pp, sizeof (pp));
q_htb.c 95 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
96 addattr_l(n, 2024, TCA_HTB_INIT, &opt, NLMSG_ALIGN(sizeof(opt)));
233 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
234 addattr_l(n, 2024, TCA_HTB_PARMS, &opt, sizeof(opt));
235 addattr_l(n, 3024, TCA_HTB_RTAB, rtab, 1024);
236 addattr_l(n, 4024, TCA_HTB_CTAB, ctab, 1024);
f_basic.c 60 addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0);
78 addattr_l(n, MAX_MSG, TCA_BASIC_CLASSID, &handle, 4);
q_netem.c 446 if (addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt)) < 0)
450 addattr_l(n, 1024, TCA_NETEM_CORR, &cor, sizeof(cor)) < 0)
454 addattr_l(n, 1024, TCA_NETEM_REORDER, &reorder, sizeof(reorder)) < 0)
458 addattr_l(n, 1024, TCA_NETEM_CORRUPT, &corrupt, sizeof(corrupt)) < 0)
466 if (addattr_l(n, 1024, NETEM_LOSS_GI,
470 if (addattr_l(n, 1024, NETEM_LOSS_GE,
482 addattr_l(n, 1024, TCA_NETEM_RATE, &rate, sizeof(rate)) < 0)
486 if (addattr_l(n, MAX_DIST * sizeof(dist_data[0]),
q_atm.c 181 addattr_l(n,1024,TCA_OPTIONS,NULL,0);
182 addattr_l(n,1024,TCA_ATM_FD,&s,sizeof(s));
183 if (excess) addattr_l(n,1024,TCA_ATM_EXCESS,&excess,sizeof(excess));
184 if (hdr_len != -1) addattr_l(n,1024,TCA_ATM_HDR,hdr,hdr_len);
q_choke.c 158 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
159 addattr_l(n, 1024, TCA_CHOKE_PARMS, &opt, sizeof(opt));
160 addattr_l(n, 1024, TCA_CHOKE_STAB, sbuf, 256);
162 addattr_l(n, 1024, TCA_CHOKE_MAX_P, &max_P, sizeof(max_P));
q_fifo.c 57 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
q_red.c 148 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
149 addattr_l(n, 1024, TCA_RED_PARMS, &opt, sizeof(opt));
150 addattr_l(n, 1024, TCA_RED_STAB, sbuf, 256);
152 addattr_l(n, 1024, TCA_RED_MAX_P, &max_P, sizeof(max_P));
q_tbf.c 209 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
210 addattr_l(n, 2024, TCA_TBF_PARMS, &opt, sizeof(opt));
211 addattr_l(n, 3024, TCA_TBF_RTAB, rtab, 1024);
213 addattr_l(n, 4096, TCA_TBF_PTAB, ptab, 1024);
q_cbq.c 167 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
168 addattr_l(n, 1024, TCA_CBQ_RATE, &r, sizeof(r));
169 addattr_l(n, 1024, TCA_CBQ_LSSOPT, &lss, sizeof(lss));
170 addattr_l(n, 3024, TCA_CBQ_RTAB, rtab, 1024);
413 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
416 addattr_l(n, 1024, TCA_CBQ_LSSOPT, &lss, sizeof(lss));
419 addattr_l(n, 1024, TCA_CBQ_WRROPT, &wrr, sizeof(wrr));
421 addattr_l(n, 1024, TCA_CBQ_FOPT, &fopt, sizeof(fopt));
423 addattr_l(n, 1024, TCA_CBQ_RATE, &r, sizeof(r));
424 addattr_l(n, 3024, TCA_CBQ_RTAB, rtab, 1024)
    [all...]
m_xt.c 225 addattr_l(n, MAX_MSG, tca_id, NULL, 0);
241 addattr_l(n, MAX_MSG, TCA_IPT_TABLE, k, size);
242 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4);
243 addattr_l(n, MAX_MSG, TCA_IPT_INDEX, &index, 4);
245 addattr_l(n, MAX_MSG, TCA_IPT_TARG, m->t, m->t->u.target_size);
m_xt_old.c 311 addattr_l(n, MAX_MSG, tca_id, NULL, 0);
327 addattr_l(n, MAX_MSG, TCA_IPT_TABLE, k, size);
328 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4);
329 addattr_l(n, MAX_MSG, TCA_IPT_INDEX, &index, 4);
331 addattr_l(n, MAX_MSG, TCA_IPT_TARG, m->t, m->t->u.target_size);
q_gred.c 110 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
111 addattr_l(n, 1024, TCA_GRED_DPS, &opt, sizeof(struct tc_gred_sopt));
253 addattr_l(n, 1024, TCA_OPTIONS, NULL, 0);
254 addattr_l(n, 1024, TCA_GRED_PARMS, &opt, sizeof(opt));
255 addattr_l(n, 1024, TCA_GRED_STAB, sbuf, 256);

Completed in 178 milliseconds

1 2 3