Lines Matching refs:nlh_dst
137 struct nlmsghdr *nlh_dst; in xfrm_nlmsg_put_compat() local
143 nlh_dst = nlmsg_put(skb, nlh_src->nlmsg_pid, nlh_src->nlmsg_seq, in xfrm_nlmsg_put_compat()
145 if (!nlh_dst) in xfrm_nlmsg_put_compat()
148 memset(nlmsg_data(nlh_dst), 0, payload); in xfrm_nlmsg_put_compat()
163 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), src_len); in xfrm_nlmsg_put_compat()
171 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), payload); in xfrm_nlmsg_put_compat()
175 struct compat_xfrm_user_expire *dst_ue = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
184 struct compat_xfrm_user_acquire *dst_ua = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
195 struct compat_xfrm_user_polexpire *dst_upe = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
204 struct compat_xfrm_userspi_info *dst_usi = nlmsg_data(nlh_dst); in xfrm_nlmsg_put_compat()
223 return nlh_dst; in xfrm_nlmsg_put_compat()
290 struct nlmsghdr *nlh_dst; in xfrm_xlate64() local
293 nlh_dst = xfrm_nlmsg_put_compat(dst, nlh_src, type); in xfrm_xlate64()
294 if (IS_ERR(nlh_dst)) in xfrm_xlate64()
295 return PTR_ERR(nlh_dst); in xfrm_xlate64()
315 nlmsg_end(dst, nlh_dst); in xfrm_xlate64()