Lines Matching defs:packet
23 struct message_handshake_initiation packet;
34 if (wg_noise_handshake_create_initiation(&packet, &peer->handshake)) {
35 wg_cookie_add_mac_to_packet(&packet, sizeof(packet), peer);
40 wg_socket_send_buffer_to_peer(peer, &packet, sizeof(packet),
87 struct message_handshake_response packet;
94 if (wg_noise_handshake_create_response(&packet, &peer->handshake)) {
95 wg_cookie_add_mac_to_packet(&packet, sizeof(packet), peer);
103 wg_socket_send_buffer_to_peer(peer, &packet,
104 sizeof(packet),
114 struct message_handshake_cookie packet;
118 wg_cookie_message_create(&packet, initiating_skb, sender_index,
120 wg_socket_send_buffer_as_reply_to_skb(wg, initiating_skb, &packet,
121 sizeof(packet));
149 * layer gives us a packet that's bigger than the MTU. In that case, we
171 * consistent over the inner packet.
196 /* Finalize checksum calculation for the inner packet, if required. */
234 net_dbg_ratelimited("%s: Sending keepalive packet to peer %llu (%pISpfsc)\n",