/external/iproute2/tc/ |
m_action.c | 185 addattr_l(n, MAX_MSG, tca_id, NULL, 0); 224 addattr_l(n, MAX_MSG, ++prio, NULL, 0); 225 addattr_l(n, MAX_MSG, TCA_ACT_KIND, k, strlen(k) + 1); 406 addattr_l(&req.n, MAX_MSG, TCA_ACT_TAB, NULL, 0); 454 addattr_l(&req.n, MAX_MSG, ++prio, NULL, 0); 455 addattr_l(&req.n, MAX_MSG, TCA_ACT_KIND, k, strlen(k) + 1); 542 addattr_l(&req.n, MAX_MSG, TCA_ACT_TAB, NULL, 0); 562 addattr_l(&req.n, MAX_MSG, ++prio, NULL, 0); 563 addattr_l(&req.n, MAX_MSG, TCA_ACT_KIND, k, strlen(k) + 1);
|
f_rsvp.c | 192 addattr_l(n, 4096, TCA_OPTIONS, NULL, 0); 202 addattr_l(n, 4096, TCA_RSVP_DST, &addr.data, addr.bytelen); 214 addattr_l(n, 4096, TCA_RSVP_SRC, &addr.data, addr.bytelen); 236 addattr_l(n, 4096, TCA_RSVP_CLASSID, &handle, 4); 253 addattr_l(n, 4096, TCA_RSVP_CLASSID, &tid, 4); 283 addattr_l(n, 4096, TCA_RSVP_PINFO, &pinfo, sizeof(pinfo));
|
m_nat.c | 158 addattr_l(n, MAX_MSG, tca_id, NULL, 0); 159 addattr_l(n, MAX_MSG, TCA_NAT_PARMS, &sel, sizeof(sel));
|
f_cgroup.c | 44 addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0);
|
m_police.c | 297 addattr_l(n, MAX_MSG, tca_id, NULL, 0); 298 addattr_l(n, MAX_MSG, TCA_POLICE_TBF, &p, sizeof(p)); 300 addattr_l(n, MAX_MSG, TCA_POLICE_RATE, rtab, 1024); 302 addattr_l(n, MAX_MSG, TCA_POLICE_PEAKRATE, ptab, 1024);
|
q_prio.c | 91 addattr_l(n, 1024, TCA_PRIO_MQ, NULL, 0);
|
q_rr.c | 86 addattr_l(n, 1024, TCA_PRIO_MQ, NULL, 0);
|
q_sfq.c | 76 addattr_l(n, 1024, TCA_OPTIONS, &opt, sizeof(opt));
|
m_ematch.c | 187 addattr_l(n, MAX_MSG, index++, NULL, 0); 347 addattr_l(n, MAX_MSG, tca_id, NULL, 0); 348 addattr_l(n, MAX_MSG, TCA_EMATCH_TREE_HDR, &hdr, sizeof(hdr)); 351 addattr_l(n, MAX_MSG, TCA_EMATCH_TREE_LIST, NULL, 0);
|
m_mirred.c | 198 addattr_l(n, MAX_MSG, tca_id, NULL, 0); 199 addattr_l(n, MAX_MSG, TCA_MIRRED_PARMS, &p, sizeof (p));
|
m_ipt.c | 493 addattr_l(n, MAX_MSG, tca_id, NULL, 0); 509 addattr_l(n, MAX_MSG, TCA_IPT_TABLE, k, size); 510 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4); 511 addattr_l(n, MAX_MSG, TCA_IPT_INDEX, &index, 4); 513 addattr_l(n, MAX_MSG, TCA_IPT_TARG, m->t, m->t->u.target_size);
|
em_meta.c | 156 addattr_l(n, MAX_MSG, tlv, &t, sizeof(t)); 162 addattr_l(n, MAX_MSG, tlv, a->data, a->len); 406 addattr_l(n, MAX_MSG, TCA_EM_META_HDR, &meta_hdr, sizeof(meta_hdr));
|
f_u32.c | 686 addattr_l(n, MAX_MSG, TCA_U32_MARK, &mark, sizeof(mark)); 999 addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0); 1032 addattr_l(n, MAX_MSG, TCA_U32_CLASSID, &handle, 4); 1043 addattr_l(n, MAX_MSG, TCA_U32_DIVISOR, &divisor, 4); 1061 addattr_l(n, MAX_MSG, TCA_U32_LINK, &handle, 4); 1121 addattr_l(n, MAX_MSG, TCA_U32_INDEV, ind, strlen(ind) + 1); 1164 addattr_l(n, MAX_MSG, TCA_U32_HASH, &htid, 4); 1166 addattr_l(n, MAX_MSG, TCA_U32_SEL, &sel,
|
tc_class.c | 112 addattr_l(&req.n, sizeof(req), TCA_KIND, k, strlen(k)+1); 114 addattr_l(&req.n, sizeof(req), TCA_RATE, &est, sizeof(est));
|
tc_filter.c | 139 addattr_l(&req.n, sizeof(req), TCA_KIND, k, strlen(k)+1); 158 addattr_l(&req.n, sizeof(req), TCA_RATE, &est, sizeof(est));
|
/external/iproute2/ip/ |
iplink.c | 197 addattr_l(&req->n, sizeof(*req), IFLA_VF_MAC, &ivm, sizeof(ivm)); 218 addattr_l(&req->n, sizeof(*req), IFLA_VF_VLAN, &ivv, sizeof(ivv)); 226 addattr_l(&req->n, sizeof(*req), IFLA_VF_TX_RATE, &ivt, sizeof(ivt)); 276 addattr_l(&req->n, sizeof(*req), IFLA_ADDRESS, abuf, len); 283 addattr_l(&req->n, sizeof(*req), IFLA_BROADCAST, abuf, len); 292 addattr_l(&req->n, sizeof(*req), IFLA_TXQLEN, &qlen, 4); 299 addattr_l(&req->n, sizeof(*req), IFLA_MTU, &mtu, 4); 306 addattr_l(&req->n, sizeof(*req), IFLA_NET_NS_PID, &netns, 4); 382 addattr_l(&req->n, sizeof(*req), IFLA_IFALIAS, 430 addattr_l(&req.n, sizeof(req), IFLA_LINKINFO, NULL, 0) [all...] |
iprule.c | 258 addattr_l(&req.n, sizeof(req), FRA_SRC, &dst.data, dst.bytelen); 264 addattr_l(&req.n, sizeof(req), FRA_DST, &dst.data, dst.bytelen); 316 addattr_l(&req.n, sizeof(req), FRA_IFNAME, *argv, strlen(*argv)+1); 319 addattr_l(&req.n, sizeof(req), FRA_OIFNAME, *argv, strlen(*argv)+1);
|
xfrm_state.c | 316 addattr_l(&req.n, sizeof(req.buf), XFRMA_ENCAP, 337 addattr_l(&req.n, sizeof(req.buf), XFRMA_COADDR, 420 addattr_l(&req.n, sizeof(req.buf), type, 441 addattr_l(&req.n, sizeof(req.buf), XFRMA_REPLAY_VAL, 450 int r = addattr_l(&req.n, sizeof(req.buf), XFRMA_MARK, 640 int r = addattr_l(&req.n, sizeof(req.buf), XFRMA_MARK, 822 addattr_l(&req.n, sizeof(req.buf), XFRMA_SRCADDR, 830 int r = addattr_l(&req.n, sizeof(req.buf), XFRMA_MARK, 914 addattr_l(new_n, xb->size, XFRMA_SRCADDR, &xsinfo->saddr,
|
iplink_can.c | 180 addattr_l(n, 1024, IFLA_CAN_BITTIMING, &bt, sizeof(bt)); 182 addattr_l(n, 1024, IFLA_CAN_CTRLMODE, &cm, sizeof(cm));
|
ipaddress.c | 1023 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &peer.data, peer.bytelen); 1039 addattr_l(&req.n, sizeof(req), IFA_BROADCAST, &addr.data, addr.bytelen); 1050 addattr_l(&req.n, sizeof(req), IFA_ANYCAST, &addr.data, addr.bytelen); 1065 addattr_l(&req.n, sizeof(req), IFA_LABEL, l, strlen(l)+1); 1096 addattr_l(&req.n, sizeof(req), IFA_LOCAL, &lcl.data, lcl.bytelen); 1119 addattr_l(&req.n, sizeof(req), IFA_ADDRESS, &lcl.data, lcl.bytelen); 1140 addattr_l(&req.n, sizeof(req), IFA_BROADCAST, &brd.data, brd.bytelen); 1167 addattr_l(&req.n, sizeof(req), IFA_CACHEINFO, &cinfo,
|
xfrm_policy.c | 333 addattr_l(&req.n, sizeof(req), XFRMA_POLICY_TYPE, 338 addattr_l(&req.n, sizeof(req), XFRMA_TMPL, 343 int r = addattr_l(&req.n, sizeof(req.buf), XFRMA_MARK, 589 addattr_l(&req.n, sizeof(req), XFRMA_POLICY_TYPE, 606 int r = addattr_l(&req.n, sizeof(req.buf), XFRMA_MARK, 961 addattr_l(&req.n, sizeof(req), XFRMA_POLICY_TYPE,
|
ipntable.c | 102 addattr_l(&req.n, sizeof(req), NDTA_NAME, namep, len); 142 addattr_l(&req.n, sizeof(req), NDTA_GC_INTERVAL, 312 addattr_l(&req.n, sizeof(req), NDTA_PARMS, RTA_DATA(parms_rta),
|
/external/iproute2/genl/ |
ctrl.c | 68 addattr_l(nlh, 128, CTRL_ATTR_FAMILY_NAME, family, strlen(family) + 1); 320 addattr_l(nlh, 128, CTRL_ATTR_FAMILY_NAME, 330 addattr_l(nlh, 128, CTRL_ATTR_FAMILY_ID, &id, 2);
|
/external/iproute2/include/ |
libnetlink.h | 54 extern int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, int alen);
|
/external/iproute2/lib/ |
libnetlink.c | 544 int addattr_l(struct nlmsghdr *n, int maxlen, int type, const void *data, function 551 fprintf(stderr, "addattr_l ERROR: message exceeded bound of %d\n",maxlen); 579 addattr_l(n, maxlen, type, NULL, 0); 594 addattr_l(n, maxlen, type, data, len);
|