Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/packet/af_packet.c dev_parse_header_protocol() -> (struct header_ops)->parse_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev->header_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev->header_ops->parse_protocol | 4927389631704563712,5013334982761803776,5267698508377800704 |
| PARAM_VALUE | 0 | skb->protocol | 0,3 |
| PARAM_VALUE | 0 | skb->skb_mstamp_ns | 0 |
| PARAM_VALUE | 0 | skb->tstamp | 0 |
| PARAM_VALUE | 0 | skb->tstamp_type | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| FUZZY_MAX | 0 | skb->protocol | 3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | skb->data_len | 0-u32max[c] |
| HOST_DATA | 0 | skb->len | 1-u32max[c] |
| NO_OVERFLOW_SIMPLE | 0 | skb->end | |
| NO_OVERFLOW_SIMPLE | 0 | skb->sk->sk_backlog.len |
drivers/net/tap.c dev_parse_header_protocol() -> (struct header_ops)->parse_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev->header_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev->header_ops->parse_protocol | 4927389631704563712,5013334982761803776,5267698508377800704 |
| PARAM_VALUE | 0 | skb->network_header | 1-u16max |
| PARAM_VALUE | 0 | skb->protocol | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
drivers/net/tun.c dev_parse_header_protocol() -> (struct header_ops)->parse_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->data | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev->header_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev->header_ops->parse_protocol | 4927389631704563712,5013334982761803776,5267698508377800704 |
| PARAM_VALUE | 0 | skb->network_header | 1-u16max |
| PARAM_VALUE | 0 | skb->protocol | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | skb->sk->sk_backlog.len | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/virtio_net.c dev_parse_header_protocol() -> (struct header_ops)->parse_protocol()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | skb | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev->header_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | skb->dev->header_ops->parse_protocol | 4927389631704563712,5013334982761803776,5267698508377800704 |
| PARAM_VALUE | 0 | skb->network_header | 1-u16max |
| PARAM_VALUE | 0 | skb->protocol | 0 |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| BUF_SIZE | 0 | skb | (-1)-s32max |
| DATA_SOURCE | 0 | skb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | skb->len | |
| NO_OVERFLOW_SIMPLE | 0 | skb->tail | |
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |