Lines Matching refs:nlh
1337 struct nlmsghdr *nlh; in tc_fill_qdisc() local
1344 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_qdisc()
1345 if (!nlh) in tc_fill_qdisc()
1347 tcm = nlmsg_data(nlh); in tc_fill_qdisc()
1385 nlh->nlmsg_len = skb_tail_pointer(skb) - b; in tc_fill_qdisc()
1446 cb->nlh->nlmsg_seq, NLM_F_MULTI, RTM_NEWQDISC) <= 0) in tc_dump_qdisc_root()
1457 cb->nlh->nlmsg_seq, NLM_F_MULTI, RTM_NEWQDISC) <= 0) in tc_dump_qdisc_root()
1657 struct nlmsghdr *nlh; in tc_fill_tclass() local
1663 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*tcm), flags); in tc_fill_tclass()
1664 if (!nlh) in tc_fill_tclass()
1666 tcm = nlmsg_data(nlh); in tc_fill_tclass()
1689 nlh->nlmsg_len = skb_tail_pointer(skb) - b; in tc_fill_tclass()
1729 a->cb->nlh->nlmsg_seq, NLM_F_MULTI, RTM_NEWTCLASS); in qdisc_class_dump()
1783 struct tcmsg *tcm = nlmsg_data(cb->nlh); in tc_dump_tclass()
1789 if (nlmsg_len(cb->nlh) < sizeof(*tcm)) in tc_dump_tclass()