Lines Matching refs:out_skb
1578 struct sk_buff *out_skb; in pfkey_get() local
1591 out_skb = pfkey_xfrm_state2msg(x); in pfkey_get()
1594 if (IS_ERR(out_skb)) in pfkey_get()
1595 return PTR_ERR(out_skb); in pfkey_get()
1597 out_hdr = (struct sadb_msg *) out_skb->data; in pfkey_get()
1605 pfkey_broadcast(out_skb, GFP_ATOMIC, BROADCAST_ONE, sk, sock_net(sk)); in pfkey_get()
1790 struct sk_buff *out_skb; in dump_sa() local
1796 out_skb = pfkey_xfrm_state2msg(x); in dump_sa()
1797 if (IS_ERR(out_skb)) in dump_sa()
1798 return PTR_ERR(out_skb); in dump_sa()
1800 out_hdr = (struct sadb_msg *) out_skb->data; in dump_sa()
1812 pfk->dump.skb = out_skb; in dump_sa()
2213 struct sk_buff *out_skb; in key_notify_policy() local
2217 out_skb = pfkey_xfrm_policy2msg_prep(xp); in key_notify_policy()
2218 if (IS_ERR(out_skb)) in key_notify_policy()
2219 return PTR_ERR(out_skb); in key_notify_policy()
2221 err = pfkey_xfrm_policy2msg(out_skb, xp, dir); in key_notify_policy()
2223 kfree_skb(out_skb); in key_notify_policy()
2227 out_hdr = (struct sadb_msg *) out_skb->data; in key_notify_policy()
2237 pfkey_broadcast(out_skb, GFP_ATOMIC, BROADCAST_ALL, NULL, xp_net(xp)); in key_notify_policy()
2435 struct sk_buff *out_skb; in key_pol_get_resp() local
2439 out_skb = pfkey_xfrm_policy2msg_prep(xp); in key_pol_get_resp()
2440 if (IS_ERR(out_skb)) { in key_pol_get_resp()
2441 err = PTR_ERR(out_skb); in key_pol_get_resp()
2444 err = pfkey_xfrm_policy2msg(out_skb, xp, dir); in key_pol_get_resp()
2446 kfree_skb(out_skb); in key_pol_get_resp()
2450 out_hdr = (struct sadb_msg *) out_skb->data; in key_pol_get_resp()
2457 pfkey_broadcast(out_skb, GFP_ATOMIC, BROADCAST_ONE, sk, xp_net(xp)); in key_pol_get_resp()
2687 struct sk_buff *out_skb; in dump_sp() local
2694 out_skb = pfkey_xfrm_policy2msg_prep(xp); in dump_sp()
2695 if (IS_ERR(out_skb)) in dump_sp()
2696 return PTR_ERR(out_skb); in dump_sp()
2698 err = pfkey_xfrm_policy2msg(out_skb, xp, dir); in dump_sp()
2700 kfree_skb(out_skb); in dump_sp()
2704 out_hdr = (struct sadb_msg *) out_skb->data; in dump_sp()
2715 pfk->dump.skb = out_skb; in dump_sp()
3041 struct sk_buff *out_skb; in key_notify_sa_expire() local
3052 out_skb = pfkey_xfrm_state2msg_expire(x, hsc); in key_notify_sa_expire()
3053 if (IS_ERR(out_skb)) in key_notify_sa_expire()
3054 return PTR_ERR(out_skb); in key_notify_sa_expire()
3056 out_hdr = (struct sadb_msg *) out_skb->data; in key_notify_sa_expire()
3065 pfkey_broadcast(out_skb, GFP_ATOMIC, BROADCAST_REGISTERED, NULL, in key_notify_sa_expire()