Lines Matching defs:nlh
618 struct nlmsghdr *nlh;
620 nlh = nlmsg_put(skb, pid, seq, type, sizeof(*rtcan), flags);
621 if (!nlh)
624 rtcan = nlmsg_data(nlh);
746 nlmsg_end(skb, nlh);
750 nlmsg_cancel(skb, nlh);
769 cb->nlh->nlmsg_seq, NLM_F_MULTI) < 0)
800 static int cgw_parse_attr(struct nlmsghdr *nlh, struct cf_mod *mod,
804 struct rtcanmsg *r = nlmsg_data(nlh);
811 err = nlmsg_parse_deprecated(nlh, sizeof(struct rtcanmsg), tb,
1056 static int cgw_create_job(struct sk_buff *skb, struct nlmsghdr *nlh,
1070 if (nlmsg_len(nlh) < sizeof(*r))
1073 r = nlmsg_data(nlh);
1081 err = cgw_parse_attr(nlh, &mod, CGW_TYPE_CAN_CAN, &ccgw, &limhops);
1175 static int cgw_remove_job(struct sk_buff *skb, struct nlmsghdr *nlh,
1190 if (nlmsg_len(nlh) < sizeof(*r))
1193 r = nlmsg_data(nlh);
1201 err = cgw_parse_attr(nlh, &mod, CGW_TYPE_CAN_CAN, &ccgw, &limhops);