Lines Matching refs:nlh
631 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_destroy_unres() local
632 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_destroy_unres()
633 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_destroy_unres()
634 skb_trim(skb, nlh->nlmsg_len); in ipmr_destroy_unres()
635 e = nlmsg_data(nlh); in ipmr_destroy_unres()
915 struct nlmsghdr *nlh = (struct nlmsghdr *)skb_pull(skb, sizeof(struct iphdr)); in ipmr_cache_resolve() local
917 if (__ipmr_fill_mroute(mrt, skb, c, nlmsg_data(nlh)) > 0) { in ipmr_cache_resolve()
918 nlh->nlmsg_len = skb_tail_pointer(skb) - in ipmr_cache_resolve()
919 (u8 *)nlh; in ipmr_cache_resolve()
921 nlh->nlmsg_type = NLMSG_ERROR; in ipmr_cache_resolve()
922 nlh->nlmsg_len = nlmsg_msg_size(sizeof(struct nlmsgerr)); in ipmr_cache_resolve()
923 skb_trim(skb, nlh->nlmsg_len); in ipmr_cache_resolve()
924 e = nlmsg_data(nlh); in ipmr_cache_resolve()
2264 struct nlmsghdr *nlh; in ipmr_fill_mroute() local
2268 nlh = nlmsg_put(skb, portid, seq, cmd, sizeof(*rtm), flags); in ipmr_fill_mroute()
2269 if (!nlh) in ipmr_fill_mroute()
2272 rtm = nlmsg_data(nlh); in ipmr_fill_mroute()
2296 nlmsg_end(skb, nlh); in ipmr_fill_mroute()
2300 nlmsg_cancel(skb, nlh); in ipmr_fill_mroute()
2375 cb->nlh->nlmsg_seq, in ipmr_rtm_dumproute()
2390 cb->nlh->nlmsg_seq, in ipmr_rtm_dumproute()