Searched refs:RTA_PAYLOAD (Results 26 - 50 of 58) sorted by relevance

123

/external/iproute2/tc/
H A Dem_meta.c446 if (RTA_PAYLOAD(rta) < sizeof(__u32)) {
455 print_binary(fd, RTA_DATA(rta), RTA_PAYLOAD(rta));
484 if (RTA_PAYLOAD(rta) < sizeof(__u32))
515 if (RTA_PAYLOAD(tb[TCA_EM_META_HDR]) < sizeof(*meta_hdr)) {
H A Dq_gred.c283 RTA_PAYLOAD(tb[TCA_GRED_MAX_P]) >= sizeof(__u32) * MAX_DPs)
287 if (RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) {
H A Dm_ematch.c378 dlen = RTA_PAYLOAD(tb[i]) - sizeof(*hdr);
485 if (RTA_PAYLOAD(tb[TCA_EMATCH_TREE_HDR]) < sizeof(*hdr)) {
H A Dq_tbf.c236 if (RTA_PAYLOAD(tb[TCA_TBF_PARMS]) < sizeof(*qopt))
H A Dm_action.c72 if (opt && RTA_PAYLOAD(opt))
74 (unsigned) RTA_PAYLOAD(opt));
H A Dm_police.c339 if (RTA_PAYLOAD(tb[TCA_POLICE_TBF]) < sizeof(*p)) {
H A Df_u32.c1194 if (RTA_PAYLOAD(tb[TCA_U32_SEL]) < sizeof(*sel))
1224 if (RTA_PAYLOAD(tb[TCA_U32_PCNT]) < sizeof(*pf)) {
1238 if (RTA_PAYLOAD(tb[TCA_U32_MARK]) < sizeof(*mark)) {
H A Df_rsvp.c330 if (RTA_PAYLOAD(tb[TCA_RSVP_PINFO]) < sizeof(*pinfo))
/external/iproute2/include/
H A Dlibnetlink.h68 (parse_rtattr((tb), (max), RTA_DATA(rta), RTA_PAYLOAD(rta)))
71 ({ data = RTA_PAYLOAD(rta) >= len ? RTA_DATA(rta) : NULL; \
/external/iproute2/ip/
H A Dipaddrlabel.c80 RTA_PAYLOAD(tb[IFAL_ADDRESS]),
89 if (tb[IFAL_LABEL] && RTA_PAYLOAD(tb[IFAL_LABEL]) == sizeof(int32_t)) {
H A Dipaddress.c442 RTA_PAYLOAD(tb[IFLA_ADDRESS]),
452 RTA_PAYLOAD(tb[IFLA_BROADCAST]),
474 int rem = RTA_PAYLOAD(vflist);
556 memcpy(&dst.data, RTA_DATA(rta_tb[IFA_LOCAL]), RTA_PAYLOAD(rta_tb[IFA_LOCAL]));
600 RTA_PAYLOAD(rta_tb[IFA_LOCAL]),
610 RTA_PAYLOAD(rta_tb[IFA_ADDRESS]),
620 RTA_PAYLOAD(rta_tb[IFA_BROADCAST]),
627 RTA_PAYLOAD(rta_tb[IFA_ANYCAST]),
987 memcpy(&dst.data, RTA_DATA(tb[IFA_LOCAL]), RTA_PAYLOAD(tb[IFA_LOCAL]));
H A Dipneigh.c224 memcpy(&dst.data, RTA_DATA(tb[NDA_DST]), RTA_PAYLOAD(tb[NDA_DST]));
255 RTA_PAYLOAD(tb[NDA_DST]),
264 RTA_PAYLOAD(tb[NDA_LLADDR]),
H A Diproute.c338 RTA_PAYLOAD(tb[RTA_DST]),
345 RTA_PAYLOAD(tb[RTA_DST]),
358 RTA_PAYLOAD(tb[RTA_SRC]),
365 RTA_PAYLOAD(tb[RTA_SRC]),
381 RTA_PAYLOAD(tb[RTA_GATEWAY]),
402 RTA_PAYLOAD(tb[RTA_PREFSRC]),
522 RTA_PAYLOAD(tb[RTA_METRICS]));
571 len = RTA_PAYLOAD(tb[RTA_MULTIPATH]);
590 RTA_PAYLOAD(tb[RTA_GATEWAY]),
697 addattr_l(n, 1024, RTA_MULTIPATH, RTA_DATA(rta), RTA_PAYLOAD(rt
[all...]
H A Dxfrm_policy.c514 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) {
538 if (RTA_PAYLOAD(tb[XFRMA_POLICY]) < sizeof(*xpinfo)) {
740 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt)) {
924 if (RTA_PAYLOAD(tb[XFRMA_SPD_INFO]) < sizeof(*si)) {
947 if (RTA_PAYLOAD(tb[XFRMA_SPD_HINFO]) < sizeof(*sh)) {
H A Diplink_can.c265 if (xstats && RTA_PAYLOAD(xstats) == sizeof(*stats)) {
H A Dipntable.c313 RTA_PAYLOAD(parms_rta));
386 RTA_PAYLOAD(tb[NDTA_PARMS]));
H A Dxfrm_monitor.c158 if (RTA_PAYLOAD(tb[XFRMA_POLICY_TYPE]) < sizeof(*upt))
/external/iproute2/lib/
H A Dll_map.c84 im->alen = alen = RTA_PAYLOAD(tb[IFLA_ADDRESS]);
H A Dlibnetlink.c683 if (RTA_PAYLOAD(rta) < len)
685 if (RTA_PAYLOAD(rta) >= RTA_ALIGN(len) + sizeof(struct rtattr)) {
/external/chromium_org/net/base/
H A Daddress_tracker_linux.cc54 DCHECK_GE(RTA_PAYLOAD(attr), address_length);
58 DCHECK_GE(RTA_PAYLOAD(attr), address_length);
/external/chromium_org/third_party/libjingle/source/talk/base/
H A Difaddrs-android.cc201 RTA_PAYLOAD(rta)) != 0) {
/external/chromium_org/third_party/webrtc/base/
H A Difaddrs-android.cc188 RTA_PAYLOAD(rta)) != 0) {
/external/iproute2/include/linux/
H A Drtnetlink.h154 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0)) macro
/external/libnl/include/linux/
H A Drtnetlink.h142 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0)) macro
/external/iputils/ninfod/
H A Dni_ifaddrs.c438 size_t rtapayload = RTA_PAYLOAD(rta);

Completed in 405 milliseconds

123