Defined in 2 files as a function:
- include/net/ip_tunnels.h, line 702 (as a function)
- include/net/ip_tunnels.h, line 753 (as a function)
Referenced in 5 files:
- drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c, line 118
- drivers/net/geneve.c, line 1244
- net/core/filter.c, line 4913
- net/core/flow_dissector.c, line 485
- net/openvswitch/flow.c, line 1020
Smatch caller information:
drivers/net/geneve.c geneve_build_header() -> ip_tunnel_info_opts_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->key.tun_flags | 4096-ptr_max |
| DATA_SOURCE | 1 | info | $1 |
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun_geneve.c mlx5e_gen_ip_tunnel_header_geneve() -> ip_tunnel_info_opts_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | to | 0 |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->key.tun_flags | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &esw->offloads.encap_tbl_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct mlx5_esw_offload)->encap_tbl_lock |
net/core/filter.c ____bpf_skb_get_tunnel_opt() -> ip_tunnel_info_opts_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| BUF_SIZE | 1 | info | (-1),96 |
| BUF_SIZE | 1 | info | (-1),96 |
| CAPPED_DATA | 1 | info->options_len | 1 |
| DATA_SOURCE | 0 | to | $1 |
| DATA_SOURCE | 1 | info | r skb_tunnel_info |
| NOCHECK_CALL |
net/openvswitch/flow.c ovs_flow_key_extract() -> ip_tunnel_info_opts_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | *to | 0-255 |
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->options_len | 1-255 |
| BUF_SIZE | 1 | info | (-1)-0,96 |
| BUF_SIZE | 1 | info | (-1)-0,96 |
| DATA_SOURCE | 1 | info | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | to | unit_byte |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | bh |
net/core/flow_dissector.c skb_flow_dissect_tunnel_info() -> ip_tunnel_info_opts_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | info | 4096-ptr_max |
| PARAM_VALUE | 1 | info->key.tun_flags | 4096-ptr_max |
| PARAM_VALUE | 1 | info->options_len | 1-255 |
| BUF_SIZE | 0 | to | 255 |
| BUF_SIZE | 1 | info | (-1),96 |
| BUF_SIZE | 1 | info | (-1),96 |
| DATA_SOURCE | 1 | info | r skb_tunnel_info |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | rcu_read |