hc
2024-09-20 a36159eec6ca17402b0e146b86efaf76568dc353
kernel/drivers/net/wireguard/peer.h
....@@ -36,7 +36,7 @@
3636
3737 struct wg_peer {
3838 struct wg_device *device;
39
- struct crypt_queue tx_queue, rx_queue;
39
+ struct prev_queue tx_queue, rx_queue;
4040 struct sk_buff_head staged_packet_queue;
4141 int serial_work_cpu;
4242 struct noise_keypairs keypairs;
....@@ -45,7 +45,7 @@
4545 rwlock_t endpoint_lock;
4646 struct noise_handshake handshake;
4747 atomic64_t last_sent_handshake;
48
- struct work_struct transmit_handshake_work, clear_peer_work;
48
+ struct work_struct transmit_handshake_work, clear_peer_work, transmit_packet_work;
4949 struct cookie latest_cookie;
5050 struct hlist_node pubkey_hash;
5151 u64 rx_bytes, tx_bytes;
....@@ -80,4 +80,7 @@
8080 void wg_peer_remove(struct wg_peer *peer);
8181 void wg_peer_remove_all(struct wg_device *wg);
8282
83
+int wg_peer_init(void);
84
+void wg_peer_uninit(void);
85
+
8386 #endif /* _WG_PEER_H */