Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/wireguard/send.c wg_packet_send_handshake_initiation() -> wg_cookie_add_mac_to_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | message | 1782801591656509440 |
| PARAM_VALUE | 1 | len | 148 |
| PARAM_VALUE | 2 | peer | 4096-ptr_max |
| PARAM_VALUE | 2 | peer->handshake->chaining_key | 0-255 |
| PARAM_VALUE | 2 | peer->handshake->ephemeral_private | 0-255 |
| PARAM_VALUE | 2 | peer->handshake->hash | 0-255 |
| PARAM_VALUE | 2 | peer->handshake.entry.index_hash.next->pprev | 1-u64max |
| PARAM_VALUE | 2 | peer->handshake.entry.index_hash.pprev | 4096-ptr_max |
| PARAM_VALUE | 2 | peer->handshake.entry.peer->device->index_hashtable->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | peer->handshake.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | peer->handshake.lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 2 | peer->handshake.lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 2 | peer->handshake.lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 2 | peer->handshake.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | peer->handshake.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | peer->handshake.state | 1 |
| PARAM_VALUE | 2 | peer->handshake.static_identity | 4096-ptr_max |
| PARAM_VALUE | 2 | peer->handshake.static_identity->has_identity | 1 |
| PARAM_VALUE | 2 | peer->handshake.static_identity->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | peer->handshake.static_identity->lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 2 | peer->handshake.static_identity->lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 2 | peer->handshake.static_identity->lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 2 | peer->handshake.static_identity->lock.first_waiter->type | 0-1 |
| BUF_SIZE | 0 | message | 148 |
| DATA_SOURCE | 2 | peer | $0 |
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireguard/send.c wg_packet_send_handshake_response() -> wg_cookie_add_mac_to_packet()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | message | 4946942157348179968 |
| PARAM_VALUE | 1 | len | 92 |
| PARAM_VALUE | 2 | peer | 4096-ptr_max |
| PARAM_VALUE | 2 | peer->endpoint_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | peer->endpoint_lock.owner | (-1) |
| PARAM_VALUE | 2 | peer->endpoint_lock.owner_cpu | u32max |
| PARAM_VALUE | 2 | peer->endpoint_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 2 | peer->endpoint_lock.raw_lock.wlocked | 0 |
| PARAM_VALUE | 2 | peer->handshake->chaining_key | 0-255 |
| PARAM_VALUE | 2 | peer->handshake->ephemeral_private | 0-255 |
| PARAM_VALUE | 2 | peer->handshake->hash | 0-255 |
| PARAM_VALUE | 2 | peer->handshake.entry.index_hash.next->pprev | 1-u64max |
| PARAM_VALUE | 2 | peer->handshake.entry.index_hash.pprev | 4096-ptr_max |
| PARAM_VALUE | 2 | peer->handshake.entry.peer->device->index_hashtable->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | peer->handshake.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | peer->handshake.lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 2 | peer->handshake.lock.first_waiter->list.next | 2624917664208203776 |
| PARAM_VALUE | 2 | peer->handshake.lock.first_waiter->list.prev | 2624917664208203776 |
| PARAM_VALUE | 2 | peer->handshake.lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | peer->handshake.lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 2 | peer->handshake.state | 3 |
| PARAM_VALUE | 2 | peer->handshake.static_identity | 4096-ptr_max |
| PARAM_VALUE | 2 | peer->handshake.static_identity->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | peer->handshake.static_identity->lock.first_waiter->handoff_set | 1 |
| PARAM_VALUE | 2 | peer->handshake.static_identity->lock.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 2 | peer->handshake.static_identity->lock.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 2 | peer->handshake.static_identity->lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | peer->refcount.refcount.refs.counter | (-1073741824),0-s32max |
| BUF_SIZE | 0 | message | 92 |
| DATA_SOURCE | 2 | peer | $0 |
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |