Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/net/wireguard/receive.c, line 238
- drivers/net/wireguard/send.c
- drivers/net/wireguard/timers.c
Smatch caller information:
drivers/net/wireguard/send.c keep_key_fresh() -> wg_packet_send_queued_handshake_initiation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->endpoint_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair->i_am_the_initiator | 1 |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair->sending.is_valid | 1 |
| PARAM_VALUE | 0 | peer->timer_persistent_keepalive.entry->pprev | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->timer_send_keepalive.entry.pprev | 0 |
| PARAM_VALUE | 0 | peer->timer_send_keepalive.flags | 0-4194302 |
| PARAM_VALUE | 0 | peer->timer_send_keepalive.function | 0 |
| PARAM_VALUE | 0 | peer->tx_queue.peeked | 0 |
| PARAM_VALUE | 1 | is_retry | 0 |
| DATA_SOURCE | 0 | peer | $0 |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireguard/send.c wg_packet_send_staged_packets() -> wg_packet_send_queued_handshake_initiation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | peer->handshake.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | peer->staged_packet_queue.lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->staged_packet_queue.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->staged_packet_queue.next->prev->next | 4096-ptr_max |
| PARAM_VALUE | 1 | is_retry | 0 |
| CAPPED_DATA | 0 | peer | 1 |
| CAPPED_DATA | 0 | &peer->staged_packet_queue | 1 |
| DATA_SOURCE | 0 | peer | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | peer->handshake->preshared_key | 0-255 |
| USER_DATA | 0 | peer->handshake->remote_static | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.next->prev->truesize | |
| HALF_LOCKED2 | &wg->device_update_lock | ||
| HALF_LOCKED2 | &wg->static_identity.lock | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireguard/receive.c keep_key_fresh() -> wg_packet_send_queued_handshake_initiation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->device | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair->i_am_the_initiator | 1 |
| PARAM_VALUE | 0 | peer->keypairs.current_keypair->sending.is_valid | 1 |
| PARAM_VALUE | 0 | peer->rx_queue.peeked | 0 |
| PARAM_VALUE | 0 | peer->sent_lastminute_handshake | 1 |
| PARAM_VALUE | 1 | is_retry | 0 |
| CAPPED_DATA | 0 | peer | 1 |
| DATA_SOURCE | 0 | peer | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | peer->staged_packet_queue.next->prev->truesize |
drivers/net/wireguard/timers.c wg_expired_new_handshake() -> wg_packet_send_queued_handshake_initiation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->endpoint_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->endpoint_lock.owner | (-1) |
| PARAM_VALUE | 0 | peer->endpoint_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | peer->endpoint_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | peer->endpoint_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 1 | is_retry | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/wireguard/timers.c wg_expired_retransmit_handshake() -> wg_packet_send_queued_handshake_initiation()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | peer | 4096-ptr_max |
| PARAM_VALUE | 0 | peer->endpoint_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | peer->endpoint_lock.owner | (-1) |
| PARAM_VALUE | 0 | peer->endpoint_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | peer->endpoint_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | peer->endpoint_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 0 | peer->timer_handshake_attempts | 0-19 |
| PARAM_VALUE | 1 | is_retry | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |