Lines Matching refs:skb_put
338 hdr = skb_put(skb, sizeof(struct sadb_msg)); in pfkey_error()
834 hdr = skb_put(skb, sizeof(struct sadb_msg)); in __pfkey_xfrm_state2msg()
839 sa = skb_put(skb, sizeof(struct sadb_sa)); in __pfkey_xfrm_state2msg()
886 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg()
897 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg()
907 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg()
916 addr = skb_put(skb, sizeof(struct sadb_address) + sockaddr_size); in __pfkey_xfrm_state2msg()
934 addr = skb_put(skb, sizeof(struct sadb_address) + sockaddr_size); in __pfkey_xfrm_state2msg()
950 addr = skb_put(skb, in __pfkey_xfrm_state2msg()
968 key = skb_put(skb, sizeof(struct sadb_key) + auth_key_size); in __pfkey_xfrm_state2msg()
978 key = skb_put(skb, sizeof(struct sadb_key) + encrypt_key_size); in __pfkey_xfrm_state2msg()
989 sa2 = skb_put(skb, sizeof(struct sadb_x_sa2)); in __pfkey_xfrm_state2msg()
1007 n_type = skb_put(skb, sizeof(*n_type)); in __pfkey_xfrm_state2msg()
1016 n_port = skb_put(skb, sizeof(*n_port)); in __pfkey_xfrm_state2msg()
1023 n_port = skb_put(skb, sizeof(*n_port)); in __pfkey_xfrm_state2msg()
1032 sec_ctx = skb_put(skb, in __pfkey_xfrm_state2msg()
1639 hdr = skb_put(skb, sizeof(*hdr)); in compose_sadb_supported()
1648 sp = skb_put(skb, auth_len); in compose_sadb_supported()
1669 sp = skb_put(skb, enc_len); in compose_sadb_supported()
1747 hdr = skb_put(skb, sizeof(struct sadb_msg)); in key_notify_sa_flush()
2081 hdr = skb_put(skb, sizeof(struct sadb_msg)); in pfkey_xfrm_policy2msg()
2085 addr = skb_put(skb, sizeof(struct sadb_address) + sockaddr_size); in pfkey_xfrm_policy2msg()
2100 addr = skb_put(skb, sizeof(struct sadb_address) + sockaddr_size); in pfkey_xfrm_policy2msg()
2114 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in pfkey_xfrm_policy2msg()
2123 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in pfkey_xfrm_policy2msg()
2132 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in pfkey_xfrm_policy2msg()
2141 pol = skb_put(skb, sizeof(struct sadb_x_policy)); in pfkey_xfrm_policy2msg()
2169 rq = skb_put(skb, req_size); in pfkey_xfrm_policy2msg()
2199 sec_ctx = skb_put(skb, ctx_size); in pfkey_xfrm_policy2msg()
2765 hdr = skb_put(skb_out, sizeof(struct sadb_msg)); in key_notify_policy_flush()
2949 p = skb_put(skb, sizeof(struct sadb_prop)); in dump_ah_combs()
2983 p = skb_put(skb, sizeof(struct sadb_prop)); in dump_esp_combs()
3009 c = skb_put(skb, sizeof(struct sadb_comb)); in dump_esp_combs()
3177 hdr = skb_put(skb, sizeof(struct sadb_msg)); in pfkey_send_acquire()
3188 addr = skb_put(skb, sizeof(struct sadb_address) + sockaddr_size); in pfkey_send_acquire()
3203 addr = skb_put(skb, sizeof(struct sadb_address) + sockaddr_size); in pfkey_send_acquire()
3217 pol = skb_put(skb, sizeof(struct sadb_x_policy)); in pfkey_send_acquire()
3234 sec_ctx = skb_put(skb, in pfkey_send_acquire()
3378 hdr = skb_put(skb, sizeof(struct sadb_msg)); in pfkey_send_new_mapping()
3389 sa = skb_put(skb, sizeof(struct sadb_sa)); in pfkey_send_new_mapping()
3400 addr = skb_put(skb, sizeof(struct sadb_address) + sockaddr_size); in pfkey_send_new_mapping()
3415 n_port = skb_put(skb, sizeof(*n_port)); in pfkey_send_new_mapping()
3422 addr = skb_put(skb, sizeof(struct sadb_address) + sockaddr_size); in pfkey_send_new_mapping()
3437 n_port = skb_put(skb, sizeof(*n_port)); in pfkey_send_new_mapping()
3452 addr = skb_put(skb, sizeof(struct sadb_address) + sasize); in set_sadb_address()
3585 hdr = skb_put(skb, sizeof(struct sadb_msg)); in pfkey_send_migrate()
3606 pol = skb_put(skb, sizeof(struct sadb_x_policy)); in pfkey_send_migrate()
3675 if (memcpy_from_msg(skb_put(skb,len), msg, len)) in pfkey_sendmsg()