Lines Matching refs:nlh
640 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_destroy_unres() local
641 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_destroy_unres()
642 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_destroy_unres()
643 skb_trim(skb, nlh->nlmsg_len); in ipmr_destroy_unres()
644 e = nlmsg_data(nlh); in ipmr_destroy_unres()
924 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_cache_resolve() local
926 if (__ipmr_fill_mroute(mrt, skb, c, nlmsg_data(nlh)) > 0) { in ipmr_cache_resolve()
927 nlh->nlmsg_len = skb_tail_pointer(skb) - in ipmr_cache_resolve()
928 (u8 *)nlh; in ipmr_cache_resolve()
930 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_cache_resolve()
931 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_cache_resolve()
932 skb_trim(skb, nlh->nlmsg_len); in ipmr_cache_resolve()
933 e = nlmsg_data(nlh); in ipmr_cache_resolve()
2272 struct nlmsghdr *nlh; in ipmr_fill_mroute() local
2276 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ipmr_fill_mroute()
2277 if (!nlh) in ipmr_fill_mroute()
2280 rtm = nlmsg_data(nlh); in ipmr_fill_mroute()
2304 nlmsg_end(skb, nlh); in ipmr_fill_mroute()
2308 nlmsg_cancel(skb, nlh); in ipmr_fill_mroute()
2383 cb->nlh->nlmsg_seq, in ipmr_rtm_dumproute()
2398 cb->nlh->nlmsg_seq, in ipmr_rtm_dumproute()