Lines Matching defs:nlh
1192 struct nlmsghdr *nlh;
1196 nlh = nlmsg_put(skb, portid, seq, event, sizeof(*t), flags);
1197 if (!nlh)
1199 t = nlmsg_data(nlh);
1213 nlh->nlmsg_len = skb_tail_pointer(skb) - b;
1291 struct nlmsghdr *nlh;
1319 nlh = nlmsg_put(skb, portid, n->nlmsg_seq, RTM_DELACTION,
1321 if (!nlh) {
1325 t = nlmsg_data(nlh);
1344 nlh->nlmsg_len = skb_tail_pointer(skb) - b;
1345 nlh->nlmsg_flags |= NLM_F_ROOT;
1610 struct nlmsghdr *nlh;
1615 struct tcamsg *t = (struct tcamsg *) nlmsg_data(cb->nlh);
1624 ret = nlmsg_parse_deprecated(cb->nlh, sizeof(struct tcamsg), tb,
1649 nlh = nlmsg_put(skb, NETLINK_CB(cb->skb).portid, cb->nlh->nlmsg_seq,
1650 cb->nlh->nlmsg_type, sizeof(*t), 0);
1651 if (!nlh)
1657 t = nlmsg_data(nlh);
1683 nlh->nlmsg_len = skb_tail_pointer(skb) - b;
1685 nlh->nlmsg_flags |= NLM_F_MULTI;