Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
net/core/filter.c ____bpf_skb_change_type() -> skb_pkt_type_ok()
| Type | Parameter | Key | Value |
|---|
net/core/filter.c ____bpf_skb_change_type() -> skb_pkt_type_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ptype | $1 |
net/sched/act_skbedit.c tcf_skbedit_init() -> skb_pkt_type_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptype | 0-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ptype | 0-u16max |
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/netfilter/nft_meta.c nft_meta_set_eval() -> skb_pkt_type_ok()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ptype | r nft_reg_load8 |
net/netfilter/nft_meta.c nft_meta_set_eval() -> skb_pkt_type_ok()
| Type | Parameter | Key | Value |
|---|