Cc: Sruthi Yellamraju <ysruthi@gmail.com>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
struct nlattr *tb[XFRMA_MAX + 1];
struct xfrm_usersa_info* sa_info;
struct xfrm_user_expire* ue;
- struct xfrm_usersa_id* sa_id;
int len, err;
struct nl_addr* addr;
}
else if (n->nlmsg_type == XFRM_MSG_DELSA)
{
- sa_id = nlmsg_data(n);
sa_info = (struct xfrm_usersa_info*)(nlmsg_data(n) + sizeof (struct xfrm_usersa_id) + NLA_HDRLEN);
}
else
struct xfrmnl_sp *sp;
struct nlattr *tb[XFRMA_MAX + 1];
struct xfrm_userpolicy_info *sp_info;
- struct xfrm_userpolicy_id *sp_id;
int len, err;
struct nl_addr* addr;
sp->ce_msgtype = n->nlmsg_type;
if (n->nlmsg_type == XFRM_MSG_DELPOLICY)
{
- sp_id = nlmsg_data(n);
sp_info = (struct xfrm_userpolicy_info*)(nlmsg_data(n) + sizeof (struct xfrm_userpolicy_id) + NLA_HDRLEN);
}
else