Lines Matching defs:out_skb
1540 struct sk_buff *out_skb;
1553 out_skb = pfkey_xfrm_state2msg(x);
1556 if (IS_ERR(out_skb))
1557 return PTR_ERR(out_skb);
1559 out_hdr = (struct sadb_msg *) out_skb->data;
1567 pfkey_broadcast(out_skb, GFP_ATOMIC, BROADCAST_ONE, sk, sock_net(sk));
1749 struct sk_buff *out_skb;
1755 out_skb = pfkey_xfrm_state2msg(x);
1756 if (IS_ERR(out_skb))
1757 return PTR_ERR(out_skb);
1759 out_hdr = (struct sadb_msg *) out_skb->data;
1771 pfk->dump.skb = out_skb;
2161 struct sk_buff *out_skb;
2165 out_skb = pfkey_xfrm_policy2msg_prep(xp);
2166 if (IS_ERR(out_skb))
2167 return PTR_ERR(out_skb);
2169 err = pfkey_xfrm_policy2msg(out_skb, xp, dir);
2173 out_hdr = (struct sadb_msg *) out_skb->data;
2183 pfkey_broadcast(out_skb, GFP_ATOMIC, BROADCAST_ALL, NULL, xp_net(xp));
2383 struct sk_buff *out_skb;
2387 out_skb = pfkey_xfrm_policy2msg_prep(xp);
2388 if (IS_ERR(out_skb)) {
2389 err = PTR_ERR(out_skb);
2392 err = pfkey_xfrm_policy2msg(out_skb, xp, dir);
2396 out_hdr = (struct sadb_msg *) out_skb->data;
2403 pfkey_broadcast(out_skb, GFP_ATOMIC, BROADCAST_ONE, sk, xp_net(xp));
2633 struct sk_buff *out_skb;
2640 out_skb = pfkey_xfrm_policy2msg_prep(xp);
2641 if (IS_ERR(out_skb))
2642 return PTR_ERR(out_skb);
2644 err = pfkey_xfrm_policy2msg(out_skb, xp, dir);
2648 out_hdr = (struct sadb_msg *) out_skb->data;
2659 pfk->dump.skb = out_skb;
2970 struct sk_buff *out_skb;
2981 out_skb = pfkey_xfrm_state2msg_expire(x, hsc);
2982 if (IS_ERR(out_skb))
2983 return PTR_ERR(out_skb);
2985 out_hdr = (struct sadb_msg *) out_skb->data;
2994 pfkey_broadcast(out_skb, GFP_ATOMIC, BROADCAST_REGISTERED, NULL, xs_net(x));