Lines Matching refs:nlh
664 struct nlmsghdr *nlh; in tca_get_fill() local
668 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags); in tca_get_fill()
669 if (!nlh) in tca_get_fill()
671 t = nlmsg_data(nlh); in tca_get_fill()
685 nlh->nlmsg_len = skb_tail_pointer(skb) - b; in tca_get_fill()
781 struct nlmsghdr *nlh; in tca_action_flush() local
810 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION, sizeof(*t), 0); in tca_action_flush()
811 if (!nlh) in tca_action_flush()
813 t = nlmsg_data(nlh); in tca_action_flush()
830 nlh->nlmsg_len = skb_tail_pointer(skb) - b; in tca_action_flush()
831 nlh->nlmsg_flags |= NLM_F_ROOT; in tca_action_flush()
1047 struct nlmsghdr *nlh; in tc_dump_action() local
1053 struct tcamsg *t = (struct tcamsg *) nlmsg_data(cb->nlh); in tc_dump_action()
1054 struct nlattr *kind = find_dump_kind(cb->nlh); in tc_dump_action()
1068 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq, in tc_dump_action()
1069 cb->nlh->nlmsg_type, sizeof(*t), 0); in tc_dump_action()
1070 if (!nlh) in tc_dump_action()
1072 t = nlmsg_data(nlh); in tc_dump_action()
1091 nlh->nlmsg_len = skb_tail_pointer(skb) - b; in tc_dump_action()
1093 nlh->nlmsg_flags |= NLM_F_MULTI; in tc_dump_action()