Lines Matching defs:nlh
66 struct nlmsghdr *nlh;
68 nlh = nlmsg_put(skb, portid, seq,
70 if (!nlh)
73 hdr = nlmsg_data(nlh);
86 nlmsg_end(skb, nlh);
91 nlmsg_cancel(skb, nlh);
103 seq = cb->nlh->nlmsg_seq;
125 hdr = nlmsg_data(cb->nlh);
190 static int mctp_rtm_newaddr(struct sk_buff *skb, struct nlmsghdr *nlh,
203 rc = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_mctp_policy,
208 ifm = nlmsg_data(nlh);
247 mctp_addr_notify(mdev, addr->s_addr, RTM_NEWADDR, skb, nlh);
253 static int mctp_rtm_deladdr(struct sk_buff *skb, struct nlmsghdr *nlh,
266 rc = nlmsg_parse(nlh, sizeof(*ifm), tb, IFA_MAX, ifa_mctp_policy,
271 ifm = nlmsg_data(nlh);
303 mctp_addr_notify(mdev, addr->s_addr, RTM_DELADDR, skb, nlh);