Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/net/wireguard/socket.c wg_socket_send_buffer_to_peer() -> wg_socket_send_skb_to_peer()

Type Parameter Key Value
PARAM_VALUE 0 peer 4096-ptr_max
PARAM_VALUE 0 peer->handshake->chaining_key 0-255
PARAM_VALUE 0 peer->handshake->ephemeral_private 0-255
PARAM_VALUE 0 peer->handshake->hash 0-255
PARAM_VALUE 0 peer->handshake.entry.index_hash.pprev 0,4096-ptr_max
PARAM_VALUE 0 peer->handshake.entry.peer->device->index_hashtable->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 peer->handshake.lock.dep_map->name 0-255
PARAM_VALUE 0 peer->handshake.lock.first_waiter->handoff_set 1
PARAM_VALUE 0 peer->handshake.lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 0 peer->handshake.lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 0 peer->handshake.lock.first_waiter->type 0-1
PARAM_VALUE 0 peer->handshake.state 0-1
PARAM_VALUE 0 peer->handshake.static_identity 4096-ptr_max
PARAM_VALUE 0 peer->handshake.static_identity->lock.dep_map->name 0-255
PARAM_VALUE 0 peer->handshake.static_identity->lock.first_waiter->handoff_set 1
PARAM_VALUE 0 peer->handshake.static_identity->lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 peer->handshake.static_identity->lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 peer->handshake.static_identity->lock.first_waiter->type 0-1
PARAM_VALUE 0 peer->latest_cookie.have_sent_mac1 1
PARAM_VALUE 0 peer->latest_cookie.lock.dep_map->name 0-255
PARAM_VALUE 0 peer->latest_cookie.lock.first_waiter->handoff_set 1
PARAM_VALUE 0 peer->latest_cookie.lock.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 0 peer->latest_cookie.lock.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 0 peer->latest_cookie.lock.first_waiter->type 0-1
PARAM_VALUE 0 peer->latest_cookie.lock.osq.tail.counter 0-s32max
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->latest_cookie.last_mac1_sent 0-255
PARAM_VALUE 1 skb 4096-ptr_max
PARAM_VALUE 1 skb->data 4096-ptr_max
PARAM_VALUE 1 skb->data_len 0
PARAM_VALUE 2 ds 136
BUF_SIZE 1 skb 204,260
BUF_SIZE 1 skb 204,260
DATA_SOURCE 0 peer $0
DATA_SOURCE 1 skb r alloc_skb
DATA_SOURCE 2 ds $3
HARD_MAX 0 peer->handshake.state 1

drivers/net/wireguard/send.c wg_packet_create_data_done() -> wg_socket_send_skb_to_peer()

Type Parameter Key Value
PARAM_VALUE 0 peer 4096-ptr_max
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 skb 4096-ptr_max
PARAM_VALUE 1 skb->cb 4096-ptr_max
DATA_SOURCE 0 peer $0
UNITS 1 skb unit_byte
HALF_LOCKED2 &pool->lock