Lines Matching refs:nlh_dst
139 struct nlmsghdr *nlh_dst; in xfrm_nlmsg_put_compat() local
145 nlh_dst = nlmsg_put(skb, nlh_src->nlmsg_pid, nlh_src->nlmsg_seq, in xfrm_nlmsg_put_compat()
147 if (!nlh_dst) in xfrm_nlmsg_put_compat()
150 memset(nlmsg_data(nlh_dst), 0, payload); in xfrm_nlmsg_put_compat()
165 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), src_len); in xfrm_nlmsg_put_compat()
173 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), payload); in xfrm_nlmsg_put_compat()
177 struct compat_xfrm_user_expire *dst_ue = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
186 struct compat_xfrm_user_acquire *dst_ua = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
197 struct compat_xfrm_user_polexpire *dst_upe = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
206 struct compat_xfrm_userspi_info *dst_usi = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
225 return nlh_dst; in xfrm_nlmsg_put_compat()
293 struct nlmsghdr *nlh_dst; in xfrm_xlate64() local
296 nlh_dst = xfrm_nlmsg_put_compat(dst, nlh_src, type); in xfrm_xlate64()
297 if (IS_ERR(nlh_dst)) in xfrm_xlate64()
298 return PTR_ERR(nlh_dst); in xfrm_xlate64()
318 nlmsg_end(dst, nlh_dst); in xfrm_xlate64()