Lines Matching refs:resp_skb
1478 struct sk_buff *resp_skb; in xfrm_get_sa() local
1485 resp_skb = xfrm_state_netlink(skb, x, nlh->nlmsg_seq); in xfrm_get_sa()
1486 if (IS_ERR(resp_skb)) { in xfrm_get_sa()
1487 err = PTR_ERR(resp_skb); in xfrm_get_sa()
1489 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_get_sa()
1504 struct sk_buff *resp_skb; in xfrm_alloc_userspi() local
1548 resp_skb = xfrm_state_netlink(skb, x, nlh->nlmsg_seq); in xfrm_alloc_userspi()
1549 if (IS_ERR(resp_skb)) { in xfrm_alloc_userspi()
1550 err = PTR_ERR(resp_skb); in xfrm_alloc_userspi()
1560 kfree_skb(resp_skb); in xfrm_alloc_userspi()
1565 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, NETLINK_CB(skb).portid); in xfrm_alloc_userspi()
2248 struct sk_buff *resp_skb; in xfrm_get_policy() local
2250 resp_skb = xfrm_policy_netlink(skb, xp, p->dir, nlh->nlmsg_seq); in xfrm_get_policy()
2251 if (IS_ERR(resp_skb)) { in xfrm_get_policy()
2252 err = PTR_ERR(resp_skb); in xfrm_get_policy()
2254 err = nlmsg_unicast(net->xfrm.nlsk, resp_skb, in xfrm_get_policy()