Home
last modified time | relevance | path

Searched refs:nla (Results 1 – 25 of 36) sorted by relevance

12

/third_party/libnl/lib/
Dattr.c110 int nla_type(const struct nlattr *nla) in nla_type() argument
112 return nla->nla_type & NLA_TYPE_MASK; in nla_type()
121 void *nla_data(const struct nlattr *nla) in nla_data() argument
123 return (char *) nla + NLA_HDRLEN; in nla_data()
132 int nla_len(const struct nlattr *nla) in nla_len() argument
134 return nla->nla_len - NLA_HDRLEN; in nla_len()
149 int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument
151 return remaining >= (int) sizeof(*nla) && in nla_ok()
152 nla->nla_len >= sizeof(*nla) && in nla_ok()
153 nla->nla_len <= remaining; in nla_ok()
[all …]
Ddata.c85 struct nl_data *nl_data_alloc_attr(const struct nlattr *nla) in nl_data_alloc_attr() argument
87 return nl_data_alloc(nla_data(nla), nla_len(nla)); in nl_data_alloc_attr()
Dmsg.c880 struct nlattr *nla; in dump_attrs() local
882 nla_for_each_attr(nla, attrs, attrlen, rem) { in dump_attrs()
883 int padlen, alen = nla_len(nla); in dump_attrs()
887 if (nla->nla_type == 0) in dump_attrs()
890 fprintf(ofd, " [ATTR %02d%s] %d octets\n", nla_type(nla), in dump_attrs()
891 nla_is_nested(nla) ? " NESTED" : "", in dump_attrs()
894 if (nla_is_nested(nla)) in dump_attrs()
895 dump_attrs(ofd, nla_data(nla), alen, prefix+1); in dump_attrs()
897 dump_attr(ofd, nla, prefix); in dump_attrs()
904 dump_hex(ofd, (char *) nla_data(nla) + alen, in dump_attrs()
Dnl.c659 int nl_recv(struct nl_sock *sk, struct sockaddr_nl *nla, in nl_recv() argument
667 .msg_name = (void *) nla, in nl_recv()
675 if (!buf || !nla) in nl_recv()
838 struct sockaddr_nl nla = {0}; in recvmsgs() local
845 n = cb->cb_recv_ow(sk, &nla, &buf, &creds); in recvmsgs()
847 n = nl_recv(sk, &nla, &buf, &creds); in recvmsgs()
866 nlmsg_set_src(msg, &nla); in recvmsgs()
986 err = cb->cb_err(&nla, e, in recvmsgs()
1162 static int __pickup_answer_syserr(struct sockaddr_nl *nla, struct nlmsgerr *nlerr, void *arg) in __pickup_answer_syserr() argument
Daddr.c263 struct nl_addr *nl_addr_alloc_attr(const struct nlattr *nla, int family) in nl_addr_alloc_attr() argument
265 return nl_addr_build(family, nla_data(nla), nla_len(nla)); in nl_addr_alloc_attr()
/third_party/libnl/lib/netfilter/
Dqueue_msg.c257 struct nlattr nla; in nfnl_queue_msg_send_verdict_payload() local
268 nla.nla_type = NFQA_PAYLOAD; in nfnl_queue_msg_send_verdict_payload()
269 nla.nla_len = payload_len + sizeof(nla); in nfnl_queue_msg_send_verdict_payload()
270 nlmsg_hdr(nlmsg)->nlmsg_len += nla.nla_len; in nfnl_queue_msg_send_verdict_payload()
272 iov[1].iov_base = (void *) &nla; in nfnl_queue_msg_send_verdict_payload()
273 iov[1].iov_len = sizeof(nla); in nfnl_queue_msg_send_verdict_payload()
/third_party/libnl/lib/route/link/
Dvlan.c122 struct nlattr *nla; in vlan_parse() local
128 nla_for_each_nested(nla, tb[IFLA_VLAN_INGRESS_QOS], remaining) { in vlan_parse()
129 if (nla_len(nla) < sizeof(*map)) in vlan_parse()
132 map = nla_data(nla); in vlan_parse()
156 struct nlattr *nla; in vlan_parse() local
159 nla_for_each_nested(nla, tb[IFLA_VLAN_EGRESS_QOS], remaining) { in vlan_parse()
160 if (nla_len(nla) < sizeof(*map)) in vlan_parse()
172 nla_for_each_nested(nla, tb[IFLA_VLAN_EGRESS_QOS], remaining) { in vlan_parse()
173 map = nla_data(nla); in vlan_parse()
Dmacvlan.c91 struct nlattr *nla; in macvlan_parse() local
121 nla = nla_data(tb[IFLA_MACVLAN_MACADDR_DATA]); in macvlan_parse()
128 for (; nla_ok(nla, len); nla = nla_next(nla, &len)) { in macvlan_parse()
131 if (nla_type(nla) != IFLA_MACVLAN_MACADDR || in macvlan_parse()
132 nla_len(nla) < ETH_ALEN) in macvlan_parse()
134 mvi->mvi_macaddr[i] = nl_addr_alloc_attr(nla, AF_LLC); in macvlan_parse()
Dinet.c126 struct nlattr *nla; in inet_fill_af() local
129 if (!(nla = nla_nest_start(msg, IFLA_INET_CONF))) in inet_fill_af()
136 nla_nest_end(msg, nla); in inet_fill_af()
Dsriov.c535 struct nlattr *nla, *nla_list, *t[IFLA_VF_MAX+1], in rtnl_link_sriov_parse_vflist() local
546 for (nla = nla_data(tb[IFLA_VFINFO_LIST]); nla_ok(nla, len); in rtnl_link_sriov_parse_vflist()
547 nla = nla_next(nla, &len)) { in rtnl_link_sriov_parse_vflist()
548 err = nla_parse(t, IFLA_VF_MAX, nla_data(nla), nla_len(nla), in rtnl_link_sriov_parse_vflist()
/third_party/libnl/lib/genl/
Dctrl.c67 struct nlattr *nla; in parse_mcast_grps() local
73 nla_for_each_nested(nla, grp_attr, remaining) { in parse_mcast_grps()
78 err = nla_parse_nested(tb, CTRL_ATTR_MCAST_GRP_MAX, nla, in parse_mcast_grps()
151 struct nlattr *nla, *nla_ops; in ctrl_msg_parser() local
155 nla_for_each_nested(nla, nla_ops, remaining) { in ctrl_msg_parser()
159 err = nla_parse_nested(tb, CTRL_ATTR_OP_MAX, nla, in ctrl_msg_parser()
/third_party/libnl/lib/route/
Dact.c401 struct nlattr *nla[TCA_ACT_MAX_PRIO + 1]; in rtnl_act_parse() local
405 err = nla_parse(nla, TCA_ACT_MAX_PRIO, nla_data(tb), in rtnl_act_parse()
413 if (nla[i] == NULL) in rtnl_act_parse()
422 err = nla_parse(tb2, TCA_ACT_MAX, nla_data(nla[i]), in rtnl_act_parse()
423 nla_len(nla[i]), NULL); in rtnl_act_parse()
Dnh_encap_mpls.c52 static int mpls_encap_parse_msg(struct nlattr *nla, struct rtnl_nexthop *nh) in mpls_encap_parse_msg() argument
60 err = nla_parse_nested(tb, MPLS_IPTUNNEL_MAX, nla, mpls_encap_policy); in mpls_encap_parse_msg()
Droute_obj.c985 static struct nl_addr *rtnl_route_parse_via(struct nlattr *nla) in rtnl_route_parse_via() argument
987 int alen = nla_len(nla) - offsetof(struct rtvia, rtvia_addr); in rtnl_route_parse_via()
988 struct rtvia *via = nla_data(nla); in rtnl_route_parse_via()
996 struct nlattr *nla; in rtnl_route_put_via() local
999 nla = nla_reserve(msg, RTA_VIA, alen + sizeof(*via)); in rtnl_route_put_via()
1000 if (!nla) in rtnl_route_put_via()
1003 via = nla_data(nla); in rtnl_route_put_via()
/third_party/libnl/include/netlink/
Dattr.h330 #define nla_for_each_nested(pos, nla, rem) \ argument
331 for (pos = (struct nlattr *) nla_data(nla), rem = nla_len(nla); \
Dhandlers.h53 typedef int (*nl_recvmsg_err_cb_t)(struct sockaddr_nl *nla,
/third_party/libnl/include/netlink-private/route/
Dnexthop-encap.h8 int (*parse_msg)(struct nlattr *nla, struct rtnl_nexthop *rtnh);
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_macsec_linux.c535 struct nlattr *nla; in dump_callback() local
538 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_TXSA_LIST], rem) { in dump_callback()
541 err = nla_parse_nested(tb, MACSEC_SA_ATTR_MAX, nla, in dump_callback()
562 struct nlattr *nla; in dump_callback() local
565 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_RXSC_LIST], rem) { in dump_callback()
568 err = nla_parse_nested(tb, MACSEC_RXSC_ATTR_MAX, nla, in dump_callback()
579 nla_for_each_nested(nla, tb[MACSEC_RXSC_ATTR_SA_LIST], in dump_callback()
584 MACSEC_SA_ATTR_MAX, nla, in dump_callback()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_macsec_linux.c533 struct nlattr *nla; in dump_callback() local
536 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_TXSA_LIST], rem) { in dump_callback()
539 err = nla_parse_nested(tb, MACSEC_SA_ATTR_MAX, nla, in dump_callback()
560 struct nlattr *nla; in dump_callback() local
563 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_RXSC_LIST], rem) { in dump_callback()
566 err = nla_parse_nested(tb, MACSEC_RXSC_ATTR_MAX, nla, in dump_callback()
577 nla_for_each_nested(nla, tb[MACSEC_RXSC_ATTR_SA_LIST], in dump_callback()
582 MACSEC_SA_ATTR_MAX, nla, in dump_callback()
/third_party/flutter/skia/third_party/externals/icu/source/data/locales/
Dyo_BJ.txt189 "2"{"òtúùnla"}
Dyo.txt497 "2"{"òtúùnla"}
/third_party/skia/third_party/externals/icu/source/data/locales/
Dyo.txt522 "2"{"òtúùnla"}
/third_party/icu/icu4c/source/data/locales/
Dyo.txt522 "2"{"òtúùnla"}
/third_party/libnl/python/netlink/
Dcapi.i638 static int nl_recv_err_handler(struct sockaddr_nl *nla, struct nlmsgerr *err, in nl_recv_err_handler() argument
/third_party/libexif/po/
Dtr.po1385 msgstr "Dijital Yakınlaştırma"
1474 msgstr "Yakınlaştırma Kaynak Genişliği"
1478 msgstr "Yakınlaştırma Hedef Genişiliği"
3868 msgstr "Dijital Yakınlaştırma Oranı"
4941 msgstr "Yakınlaştırma Adım Sayısı"
4997 msgstr "Dış Flaş Yakınlaştırması"

12