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