Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
net/ipv6/ip6_output.c ip6_copy_metadata() -> skb_copy_secmark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 4096-ptr_max |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| BUF_SIZE | 0 | to | (-1)-s32max |
| BUF_SIZE | 0 | to | (-1)-s32max |
| BUF_SIZE | 1 | from | (-1)-s32max |
| BUF_SIZE | 1 | from | (-1)-s32max |
| DATA_SOURCE | 0 | to | $0 |
| DATA_SOURCE | 1 | from | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | to->protocol | 1-255 |
| HOST_DATA | 1 | from->csum | 0-192512[c] |
| HOST_DATA | 1 | from->csum_offset | 0-u16max |
| HOST_DATA | 1 | from->data_len | 0-u32max[c] |
| HOST_DATA | 1 | from->inner_protocol | 1-255 |
| HOST_DATA | 1 | from->len | 0-u32max[c] |
| HOST_DATA | 1 | from->prev->csum_offset | 0-u16max |
| HOST_DATA | 1 | from->prev->data_len | 0-u32max[c] |
| HOST_DATA | 1 | from->prev->len | 0-u32max[c] |
| HOST_DATA | 1 | from->prev->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 1 | from->protocol | 1-255 |
| HOST_DATA | 1 | from->truesize | 0-u32max |
| HOST_DATA | 1 | from->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 1 | from->users.refs.counter | s32min-0,2-s32max |
| HOST_DATA | 1 | *from->data | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->stats.rx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 1 | from->data_len | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->group | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->stats.rx_bytes | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 1 | from->end | |
| NO_OVERFLOW_SIMPLE | 1 | from->extensions | |
| NO_OVERFLOW_SIMPLE | 1 | from->len | |
| NO_OVERFLOW_SIMPLE | 1 | from->next->end | |
| NO_OVERFLOW_SIMPLE | 1 | from->next->len | |
| NO_OVERFLOW_SIMPLE | 1 | from->next->tail | |
| NO_OVERFLOW_SIMPLE | 1 | from->prev->end | |
| NO_OVERFLOW_SIMPLE | 1 | from->prev->len | |
| NO_OVERFLOW_SIMPLE | 1 | from->prev->tail | |
| NO_OVERFLOW_SIMPLE | 1 | from->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 1 | from->sk->sk_backlog.len | |
| NO_OVERFLOW_SIMPLE | 1 | from->tail | |
| NO_OVERFLOW_SIMPLE | 1 | from->truesize | |
| UNITS | 0 | to | unit_byte |
| UNITS | 1 | from | unit_byte |
net/ipv4/ip_output.c ip_copy_metadata() -> skb_copy_secmark()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 4096-ptr_max |
| PARAM_VALUE | 1 | from | 4096-ptr_max |
| BUF_SIZE | 0 | to | (-1)-s32max |
| BUF_SIZE | 0 | to | (-1)-s32max |
| BUF_SIZE | 1 | from | (-1)-s32max |
| BUF_SIZE | 1 | from | (-1)-s32max |
| DATA_SOURCE | 0 | to | $0 |
| DATA_SOURCE | 1 | from | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 0 | to->protocol | 1-255 |
| HOST_DATA | 1 | from->csum | 0-192512[c] |
| HOST_DATA | 1 | from->csum_offset | 0-u16max |
| HOST_DATA | 1 | from->data_len | 0-u32max[c] |
| HOST_DATA | 1 | from->inner_protocol | 1-255 |
| HOST_DATA | 1 | from->len | 0-u32max[c] |
| HOST_DATA | 1 | from->prev->csum_offset | 0-u16max |
| HOST_DATA | 1 | from->prev->data_len | 0-u32max[c] |
| HOST_DATA | 1 | from->prev->len | 1-u32max[c] |
| HOST_DATA | 1 | from->prev->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 1 | from->protocol | 1-255 |
| HOST_DATA | 1 | from->truesize | 0-u32max |
| HOST_DATA | 1 | from->tstamp | 500000002-4294967299794967295[c] |
| HOST_DATA | 1 | from->users.refs.counter | s32min-0,2-s32max |
| HOST_DATA | 1 | *from->data | 0-255 |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->group | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->stats.rx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | to->dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 1 | from->data_len | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->group | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->num_tc | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->proto_down | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->real_num_rx_queues | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->real_num_tx_queues | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->stats.rx_bytes | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->stats.tx_bytes | |
| NO_OVERFLOW_SIMPLE | 1 | from->dev->tx_queue_len | |
| NO_OVERFLOW_SIMPLE | 1 | from->end | |
| NO_OVERFLOW_SIMPLE | 1 | from->extensions | |
| NO_OVERFLOW_SIMPLE | 1 | from->len | |
| NO_OVERFLOW_SIMPLE | 1 | from->next->end | |
| NO_OVERFLOW_SIMPLE | 1 | from->next->len | |
| NO_OVERFLOW_SIMPLE | 1 | from->next->tail | |
| NO_OVERFLOW_SIMPLE | 1 | from->prev->end | |
| NO_OVERFLOW_SIMPLE | 1 | from->prev->len | |
| NO_OVERFLOW_SIMPLE | 1 | from->prev->tail | |
| NO_OVERFLOW_SIMPLE | 1 | from->prev->truesize | |
| NO_OVERFLOW_SIMPLE | 1 | from->sk->sk_backlog.len | |
| NO_OVERFLOW_SIMPLE | 1 | from->tail | |
| NO_OVERFLOW_SIMPLE | 1 | from->truesize | |
| UNITS | 0 | to | unit_byte |
| UNITS | 1 | from | unit_byte |