Home
last modified time | relevance | path

Searched refs:parse_rtattr (Results 1 – 25 of 26) sorted by relevance

12

/external/iproute2/include/
Dlibnetlink.h63 extern int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len);
68 (parse_rtattr((tb), (max), RTA_DATA(rta), RTA_PAYLOAD(rta)))
/external/iproute2/ip/
Dxfrm_monitor.c60 parse_rtattr(tb, XFRMA_MAX, XFRMACQ_RTA(xacq), len); in xfrm_acquire_print()
151 parse_rtattr(tb, XFRMA_MAX, NLMSG_DATA(n), len); in xfrm_policy_flush_print()
200 parse_rtattr(tb, XFRMA_MAX, XFRMREP_RTA(xrep), len); in xfrm_report_print()
Dipaddrlabel.c73 parse_rtattr(tb, IFAL_MAX, IFAL_RTA(ifal), len); in print_addrlabel()
210 parse_rtattr(tb, IFAL_MAX, RTM_RTA(r), len); in flush_addrlabel()
Dipprefix.c70 parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len); in print_prefix()
Diprule.c64 parse_rtattr(tb, FRA_MAX, RTM_RTA(r), len); in print_rule()
376 parse_rtattr(tb, FRA_MAX, RTM_RTA(r), len); in flush_rule()
Dxfrm_policy.c468 parse_rtattr(tb, XFRMA_MAX, rta, len); in xfrm_policy_print()
673 parse_rtattr(tb, XFRMA_MAX, XFRMP_RTA(xpinfo), len); in xfrm_policy_keep()
856 parse_rtattr(tb, XFRMA_SPD_MAX, rta, len); in print_spdinfo()
Dipntable.c375 parse_rtattr(tb, NDTA_MAX, NDTA_RTA(ndtm), in print_ntable()
385 parse_rtattr(tpb, NDTPA_MAX, RTA_DATA(tb[NDTA_PARMS]), in print_ntable()
Diproute.c157 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in print_route()
474 parse_rtattr(mxrta, RTAX_MAX, RTA_DATA(tb[RTA_METRICS]), in print_route()
544 parse_rtattr(tb, RTA_MAX, RTNH_DATA(nh), nh->rtnh_len - sizeof(*nh)); in print_route()
1403 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in iproute_get()
Dlink_gre.c87 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(&req.i), len); in gre_parse_opt()
Dipaddress.c241 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len); in print_linkinfo()
471 parse_rtattr(rta_tb, IFA_MAX, IFA_RTA(ifa), n->nlmsg_len - NLMSG_LENGTH(sizeof(*ifa))); in print_addrinfo()
912 parse_rtattr(tb, IFA_MAX, IFA_RTA(ifa), IFA_PAYLOAD(n)); in ipaddr_list_or_flush()
Dipneigh.c216 parse_rtattr(tb, NDA_MAX, NDA_RTA(r), n->nlmsg_len - NLMSG_LENGTH(sizeof(*r))); in print_neigh()
Dxfrm_state.c752 parse_rtattr(tb, XFRMA_MAX, rta, len); in xfrm_state_print()
1044 parse_rtattr(tb, XFRMA_SAD_MAX, rta, len); in print_sadinfo()
/external/iproute2/genl/
Dctrl.c100 parse_rtattr(tb, CTRL_ATTR_MAX, attrs, len); in genl_ctrl_resolve_family()
213 parse_rtattr(tb, CTRL_ATTR_MAX, attrs, len); in print_ctrl()
/external/iproute2/tc/
Dq_dsmark.c138 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt)); in dsmark_print_opt()
Dq_netem.c324 parse_rtattr(tb, TCA_NETEM_MAX, RTA_DATA(opt) + sizeof(qopt), in netem_print_opt()
Dtc_class.c177 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len); in print_class()
Dtc_qdisc.c222 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len); in print_qdisc()
Dtc_filter.c206 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len); in print_filter()
Dem_meta.c507 if (parse_rtattr(tb, TCA_EM_META_MAX, data, data_len) < 0) in meta_print_eopt()
Dm_action.c347 parse_rtattr(tb, TCAA_MAX, TA_RTA(t), len); in print_action()
/external/iproute2/lib/
Dll_map.c56 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), IFLA_PAYLOAD(n)); in ll_remember_index()
Dlibnetlink.c643 int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) in parse_rtattr() function
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c113 static int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) in parse_rtattr() function
178 parse_rtattr(rta_tb, IFA_MAX, IFA_RTA(m), h->nlmsg_len - NLMSG_LENGTH(sizeof(*m))); in recvaddrs()
/external/iproute2/misc/
Difstat.c99 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len); in get_nlmsg()
Darpd.c331 parse_rtattr(tb, NDA_MAX, NDA_RTA(ndm), len); in do_one_request()

12