Home
last modified time | relevance | path

Searched refs:nest (Results 1 – 25 of 30) sorted by relevance

12

/net/sched/
Dact_api.c78 struct nlattr *nest; in tcf_dump_walker() local
94 nest = nla_nest_start(skb, a->order); in tcf_dump_walker()
95 if (nest == NULL) in tcf_dump_walker()
100 nlmsg_trim(skb, nest); in tcf_dump_walker()
103 nla_nest_end(skb, nest); in tcf_dump_walker()
116 nla_nest_cancel(skb, nest); in tcf_dump_walker()
124 struct nlattr *nest; in tcf_del_walker() local
127 nest = nla_nest_start(skb, a->order); in tcf_del_walker()
128 if (nest == NULL) in tcf_del_walker()
145 nla_nest_end(skb, nest); in tcf_del_walker()
[all …]
Dsch_ingress.c98 struct nlattr *nest; in ingress_dump() local
100 nest = nla_nest_start(skb, TCA_OPTIONS); in ingress_dump()
101 if (nest == NULL) in ingress_dump()
103 nla_nest_end(skb, nest); in ingress_dump()
107 nla_nest_cancel(skb, nest); in ingress_dump()
Dcls_basic.c251 struct nlattr *nest; in basic_dump() local
258 nest = nla_nest_start(skb, TCA_OPTIONS); in basic_dump()
259 if (nest == NULL) in basic_dump()
270 nla_nest_end(skb, nest); in basic_dump()
278 nla_nest_cancel(skb, nest); in basic_dump()
Dact_police.c72 struct nlattr *nest; in tcf_act_police_walker() local
87 nest = nla_nest_start(skb, a->order); in tcf_act_police_walker()
88 if (nest == NULL) in tcf_act_police_walker()
96 nla_nest_cancel(skb, nest); in tcf_act_police_walker()
99 nla_nest_end(skb, nest); in tcf_act_police_walker()
110 nla_nest_cancel(skb, nest); in tcf_act_police_walker()
Dcls_cgroup.c269 struct nlattr *nest; in cls_cgroup_dump() local
273 nest = nla_nest_start(skb, TCA_OPTIONS); in cls_cgroup_dump()
274 if (nest == NULL) in cls_cgroup_dump()
281 nla_nest_end(skb, nest); in cls_cgroup_dump()
Dsch_tbf.c344 struct nlattr *nest; in tbf_dump() local
348 nest = nla_nest_start(skb, TCA_OPTIONS); in tbf_dump()
349 if (nest == NULL) in tbf_dump()
363 nla_nest_end(skb, nest); in tbf_dump()
367 nla_nest_cancel(skb, nest); in tbf_dump()
Dcls_api.c577 struct nlattr *nest; in tcf_exts_dump() local
580 nest = nla_nest_start(skb, map->action); in tcf_exts_dump()
581 if (nest == NULL) in tcf_exts_dump()
585 nla_nest_end(skb, nest); in tcf_exts_dump()
587 nest = nla_nest_start(skb, map->police); in tcf_exts_dump()
588 if (nest == NULL) in tcf_exts_dump()
592 nla_nest_end(skb, nest); in tcf_exts_dump()
Dcls_fw.c336 struct nlattr *nest; in fw_dump() local
346 nest = nla_nest_start(skb, TCA_OPTIONS); in fw_dump()
347 if (nest == NULL) in fw_dump()
365 nla_nest_end(skb, nest); in fw_dump()
Dsch_drr.c254 struct nlattr *nest; in drr_dump_class() local
260 nest = nla_nest_start(skb, TCA_OPTIONS); in drr_dump_class()
261 if (nest == NULL) in drr_dump_class()
265 return nla_nest_end(skb, nest); in drr_dump_class()
268 nla_nest_cancel(skb, nest); in drr_dump_class()
Dcls_tcindex.c432 struct nlattr *nest; in tcindex_dump() local
438 nest = nla_nest_start(skb, TCA_OPTIONS); in tcindex_dump()
439 if (nest == NULL) in tcindex_dump()
449 nla_nest_end(skb, nest); in tcindex_dump()
473 nla_nest_end(skb, nest); in tcindex_dump()
Dsch_netem.c818 struct nlattr *nest; in dump_loss_model() local
820 nest = nla_nest_start(skb, TCA_NETEM_LOSS); in dump_loss_model()
821 if (nest == NULL) in dump_loss_model()
827 nla_nest_cancel(skb, nest); in dump_loss_model()
857 nla_nest_end(skb, nest); in dump_loss_model()
861 nla_nest_cancel(skb, nest); in dump_loss_model()
Dsch_htb.c1045 struct nlattr *nest; in htb_dump() local
1056 nest = nla_nest_start(skb, TCA_OPTIONS); in htb_dump()
1057 if (nest == NULL) in htb_dump()
1062 nla_nest_end(skb, nest); in htb_dump()
1069 nla_nest_cancel(skb, nest); in htb_dump()
1078 struct nlattr *nest; in htb_dump_class() local
1087 nest = nla_nest_start(skb, TCA_OPTIONS); in htb_dump_class()
1088 if (nest == NULL) in htb_dump_class()
1103 nla_nest_end(skb, nest); in htb_dump_class()
1109 nla_nest_cancel(skb, nest); in htb_dump_class()
Dsch_atm.c589 struct nlattr *nest; in atm_tc_dump_class() local
598 nest = nla_nest_start(skb, TCA_OPTIONS); in atm_tc_dump_class()
599 if (nest == NULL) in atm_tc_dump_class()
625 nla_nest_end(skb, nest); in atm_tc_dump_class()
629 nla_nest_cancel(skb, nest); in atm_tc_dump_class()
Dcls_flow.c573 struct nlattr *nest; in flow_dump() local
580 nest = nla_nest_start(skb, TCA_OPTIONS); in flow_dump()
581 if (nest == NULL) in flow_dump()
618 nla_nest_end(skb, nest); in flow_dump()
626 nlmsg_trim(skb, nest); in flow_dump()
Dcls_route.c562 struct nlattr *nest; in route4_dump() local
570 nest = nla_nest_start(skb, TCA_OPTIONS); in route4_dump()
571 if (nest == NULL) in route4_dump()
595 nla_nest_end(skb, nest); in route4_dump()
Dcls_u32.c722 struct nlattr *nest; in u32_dump() local
729 nest = nla_nest_start(skb, TCA_OPTIONS); in u32_dump()
730 if (nest == NULL) in u32_dump()
778 nla_nest_end(skb, nest); in u32_dump()
786 nla_nest_cancel(skb, nest); in u32_dump()
Dcls_rsvp.h606 struct nlattr *nest; in rsvp_dump() local
615 nest = nla_nest_start(skb, TCA_OPTIONS); in rsvp_dump()
616 if (nest == NULL) in rsvp_dump()
639 nla_nest_end(skb, nest); in rsvp_dump()
Dsch_cbq.c1557 struct nlattr *nest; in cbq_dump() local
1559 nest = nla_nest_start(skb, TCA_OPTIONS); in cbq_dump()
1560 if (nest == NULL) in cbq_dump()
1564 nla_nest_end(skb, nest); in cbq_dump()
1568 nla_nest_cancel(skb, nest); in cbq_dump()
1586 struct nlattr *nest; in cbq_dump_class() local
1595 nest = nla_nest_start(skb, TCA_OPTIONS); in cbq_dump_class()
1596 if (nest == NULL) in cbq_dump_class()
1600 nla_nest_end(skb, nest); in cbq_dump_class()
1604 nla_nest_cancel(skb, nest); in cbq_dump_class()
/net/bridge/
Dbr_mdb.c21 struct nlattr *nest; in br_rports_fill_info() local
26 nest = nla_nest_start(skb, MDBA_ROUTER); in br_rports_fill_info()
27 if (nest == NULL) in br_rports_fill_info()
35 nla_nest_end(skb, nest); in br_rports_fill_info()
38 nla_nest_cancel(skb, nest); in br_rports_fill_info()
47 struct nlattr *nest, *nest2; in br_mdb_fill_info() local
58 nest = nla_nest_start(skb, MDBA_MDB); in br_mdb_fill_info()
59 if (nest == NULL) in br_mdb_fill_info()
108 nla_nest_end(skb, nest); in br_mdb_fill_info()
169 struct nlattr *nest, *nest2; in nlmsg_populate_mdb_fill() local
[all …]
Dbr_netlink.c110 struct nlattr *nest in br_fill_ifinfo() local
113 if (nest == NULL || br_port_fill_attrs(skb, port) < 0) in br_fill_ifinfo()
115 nla_nest_end(skb, nest); in br_fill_ifinfo()
/net/8021q/
Dvlan_netlink.c185 struct nlattr *nest; in vlan_fill_info() local
198 nest = nla_nest_start(skb, IFLA_VLAN_INGRESS_QOS); in vlan_fill_info()
199 if (nest == NULL) in vlan_fill_info()
212 nla_nest_end(skb, nest); in vlan_fill_info()
216 nest = nla_nest_start(skb, IFLA_VLAN_EGRESS_QOS); in vlan_fill_info()
217 if (nest == NULL) in vlan_fill_info()
233 nla_nest_end(skb, nest); in vlan_fill_info()
/net/netlink/
Dgenetlink.c696 struct nlattr *nest; in ctrl_fill_info() local
698 nest = nla_nest_start(skb, idx++); in ctrl_fill_info()
699 if (nest == NULL) in ctrl_fill_info()
706 nla_nest_end(skb, nest); in ctrl_fill_info()
722 struct nlattr *nest; in ctrl_fill_info() local
724 nest = nla_nest_start(skb, idx++); in ctrl_fill_info()
725 if (nest == NULL) in ctrl_fill_info()
733 nla_nest_end(skb, nest); in ctrl_fill_info()
751 struct nlattr *nest; in ctrl_fill_mcgrp_info() local
765 nest = nla_nest_start(skb, 1); in ctrl_fill_mcgrp_info()
[all …]
/net/dcb/
Ddcbnl.c237 struct nlattr *data[DCB_PFC_UP_ATTR_MAX + 1], *nest; in dcbnl_getpfccfg() local
255 nest = nla_nest_start(skb, DCB_ATTR_PFC_CFG); in dcbnl_getpfccfg()
256 if (!nest) in dcbnl_getpfccfg()
270 nla_nest_cancel(skb, nest); in dcbnl_getpfccfg()
274 nla_nest_end(skb, nest); in dcbnl_getpfccfg()
296 struct nlattr *data[DCB_CAP_ATTR_MAX + 1], *nest; in dcbnl_getcap() local
313 nest = nla_nest_start(skb, DCB_ATTR_CAP); in dcbnl_getcap()
314 if (!nest) in dcbnl_getcap()
327 nla_nest_cancel(skb, nest); in dcbnl_getcap()
332 nla_nest_end(skb, nest); in dcbnl_getcap()
[all …]
/net/l2tp/
Dl2tp_netlink.c243 struct nlattr *nest; in l2tp_nl_tunnel_send() local
262 nest = nla_nest_start(skb, L2TP_ATTR_STATS); in l2tp_nl_tunnel_send()
263 if (nest == NULL) in l2tp_nl_tunnel_send()
283 nla_nest_end(skb, nest); in l2tp_nl_tunnel_send()
604 struct nlattr *nest; in l2tp_nl_session_send() local
645 nest = nla_nest_start(skb, L2TP_ATTR_STATS); in l2tp_nl_session_send()
646 if (nest == NULL) in l2tp_nl_session_send()
666 nla_nest_end(skb, nest); in l2tp_nl_session_send()
/net/ipv4/
Dtcp_metrics.c722 struct nlattr *nest; in tcp_metrics_fill_info() local
755 nest = nla_nest_start(msg, TCP_METRICS_ATTR_VALS); in tcp_metrics_fill_info()
756 if (!nest) in tcp_metrics_fill_info()
766 nla_nest_end(msg, nest); in tcp_metrics_fill_info()
768 nla_nest_cancel(msg, nest); in tcp_metrics_fill_info()

12