.. | .. |
---|
36 | 36 | |
---|
37 | 37 | struct wg_peer { |
---|
38 | 38 | struct wg_device *device; |
---|
39 | | - struct crypt_queue tx_queue, rx_queue; |
---|
| 39 | + struct prev_queue tx_queue, rx_queue; |
---|
40 | 40 | struct sk_buff_head staged_packet_queue; |
---|
41 | 41 | int serial_work_cpu; |
---|
42 | 42 | struct noise_keypairs keypairs; |
---|
.. | .. |
---|
45 | 45 | rwlock_t endpoint_lock; |
---|
46 | 46 | struct noise_handshake handshake; |
---|
47 | 47 | 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; |
---|
49 | 49 | struct cookie latest_cookie; |
---|
50 | 50 | struct hlist_node pubkey_hash; |
---|
51 | 51 | u64 rx_bytes, tx_bytes; |
---|
.. | .. |
---|
80 | 80 | void wg_peer_remove(struct wg_peer *peer); |
---|
81 | 81 | void wg_peer_remove_all(struct wg_device *wg); |
---|
82 | 82 | |
---|
| 83 | +int wg_peer_init(void); |
---|
| 84 | +void wg_peer_uninit(void); |
---|
| 85 | + |
---|
83 | 86 | #endif /* _WG_PEER_H */ |
---|