Home
last modified time | relevance | path

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

12

/external/iproute2/ip/
Diplink_vrf.c153 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len); in ipvrf_get_table()
214 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len); in name_is_vrf()
Dipaddrlabel.c71 parse_rtattr(tb, IFAL_MAX, IFAL_RTA(ifal), len); in print_addrlabel()
197 parse_rtattr(tb, IFAL_MAX, RTM_RTA(r), len); in flush_addrlabel()
Dxfrm_monitor.c61 parse_rtattr(tb, XFRMA_MAX, XFRMACQ_RTA(xacq), len); in xfrm_acquire_print()
153 parse_rtattr(tb, XFRMA_MAX, NLMSG_DATA(n), len); in xfrm_policy_flush_print()
202 parse_rtattr(tb, XFRMA_MAX, XFRMREP_RTA(xrep), len); in xfrm_report_print()
Dipprefix.c72 parse_rtattr(tb, RTA_MAX, RTM_RTA(prefix), len); in print_prefix()
Diptoken.c71 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len); in print_token()
Dipnetconf.c78 parse_rtattr(tb, NETCONFA_MAX, netconf_rta(ncm), in print_netconf()
Dipila.c110 parse_rtattr(tb, ILA_ATTR_MAX, (void *) ghdr + GENL_HDRLEN, len); in print_ila_mapping()
Dipseg6.c75 parse_rtattr(attrs, SEG6_ATTR_MAX, (void *)ghdr + GENL_HDRLEN, len); in process_msg()
Dipntable.c364 parse_rtattr(tb, NDTA_MAX, NDTA_RTA(ndtm), in print_ntable()
374 parse_rtattr(tpb, NDTPA_MAX, RTA_DATA(tb[NDTA_PARMS]), in print_ntable()
Dlink_vti.c88 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(&req.i), len); in vti_parse_opt()
Dipnetns.c128 parse_rtattr(tb, NETNSA_MAX, NETNS_RTA(rthdr), len); in get_netnsid_from_name()
284 parse_rtattr(tb, NETNSA_MAX, NETNS_RTA(rthdr), len); in print_nsid()
Diplink_bridge.c681 parse_rtattr(brtb, LINK_XSTATS_TYPE_MAX, RTA_DATA(attr), in bridge_print_stats_attr()
776 parse_rtattr(tb, IFLA_STATS_MAX, IFLA_STATS_RTA(ifsm), len); in bridge_print_xstats()
Dlink_vti6.c83 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(&req.i), len); in vti6_parse_opt()
Diproute.c342 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in print_route()
569 parse_rtattr(mxrta, RTAX_MAX, RTA_DATA(tb[RTA_METRICS]), in print_route()
646 parse_rtattr(tb, RTA_MAX, RTNH_DATA(nh), nh->rtnh_len - sizeof(*nh)); in print_route()
1365 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in save_route()
1826 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in iproute_get()
1875 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in restore_handler()
Dipmroute.c85 parse_rtattr(tb, RTA_MAX, RTM_RTA(r), len); in print_mroute()
Dipaddress.c915 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), in print_link_stats()
948 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len); in print_linkinfo_brief()
1074 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len); in print_linkinfo()
1499 parse_rtattr(rta_tb, IFA_MAX, IFA_RTA(ifa), in print_addrinfo()
1891 parse_rtattr(tb, IFA_MAX, IFA_RTA(ifa), IFA_PAYLOAD(n)); in ipaddr_filter()
2290 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len); in ipaddr_get_vf_rate()
/external/iproute2/bridge/
Dvlan.c211 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifm), len); in print_vlan()
268 parse_rtattr(brtb, LINK_XSTATS_TYPE_MAX, RTA_DATA(attr), in print_vlan_stats_attr()
300 parse_rtattr(tb, IFLA_STATS_MAX, IFLA_STATS_RTA(ifsm), len); in print_vlan_stats()
Dmdb.c51 parse_rtattr(tb, MDBA_ROUTER_PATTR_MAX, MDB_RTR_RTA(RTA_DATA(pattr)), in __print_router_port_stats()
214 parse_rtattr(etb, MDBA_MDB_EATTR_MAX, MDB_RTA(RTA_DATA(i)), in br_print_mdb_entry()
243 parse_rtattr(tb, MDBA_MAX, MDBA_RTA(r), n->nlmsg_len - NLMSG_LENGTH(sizeof(*r))); in print_mdb()
/external/iproute2/lib/
Dlibgenl.c38 parse_rtattr(tb, CTRL_ATTR_MAX, attrs, len); in genl_parse_getfamily()
Dll_map.c106 parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), IFLA_PAYLOAD(n)); in ll_remember_index()
/external/iproute2/include/
Dlibnetlink.h131 int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len);
147 (parse_rtattr((tb), (max), RTA_DATA(rta), RTA_PAYLOAD(rta)))
/external/iproute2/genl/
Dctrl.c95 parse_rtattr(tb, CTRL_ATTR_MAX, attrs, len); in genl_ctrl_resolve_family()
209 parse_rtattr(tb, CTRL_ATTR_MAX, attrs, len); in print_ctrl()
/external/iproute2/tc/
Dq_dsmark.c131 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt)); in dsmark_print_opt()
Dtc_class.c249 parse_rtattr(tb, TCA_MAX, (struct rtattr *)cls->data, in graph_cls_show()
331 parse_rtattr(tb, TCA_MAX, TCA_RTA(t), len); in print_class()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c117 static int parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) in parse_rtattr() function
182 parse_rtattr(rta_tb, IFA_MAX, IFA_RTA(m), h->nlmsg_len - NLMSG_LENGTH(sizeof(*m))); in recvaddrs()

12