Searched refs:nlh_src (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/net/xfrm/ |
D | xfrm_compat.c | 134 const struct nlmsghdr *nlh_src, u16 type) in xfrm_nlmsg_put_compat() argument 144 nlh_dst = nlmsg_put(skb, nlh_src->nlmsg_pid, nlh_src->nlmsg_seq, in xfrm_nlmsg_put_compat() 145 nlh_src->nlmsg_type, payload, nlh_src->nlmsg_flags); in xfrm_nlmsg_put_compat() 151 switch (nlh_src->nlmsg_type) { in xfrm_nlmsg_put_compat() 164 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), src_len); in xfrm_nlmsg_put_compat() 172 memcpy(nlmsg_data(nlh_dst), nlmsg_data(nlh_src), payload); in xfrm_nlmsg_put_compat() 175 const struct xfrm_user_expire *src_ue = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat() 184 const struct xfrm_user_acquire *src_ua = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat() 195 const struct xfrm_user_polexpire *src_upe = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat() 204 const struct xfrm_userspi_info *src_usi = nlmsg_data(nlh_src); in xfrm_nlmsg_put_compat() [all …]
|