Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

net/bridge/br_vlan_tunnel.c __vlan_tunnel_info_add() -> __ip_tun_set_dst()

Type Parameter Key Value
PARAM_VALUE 0 saddr 0
PARAM_VALUE 1 daddr 0
PARAM_VALUE 2 tos 0
PARAM_VALUE 3 ttl 0
PARAM_VALUE 4 tp_dst 0
PARAM_VALUE 5 flags 8090614597011132416
PARAM_VALUE 6 tunnel_id 0,4294967296-18446744069414584320
PARAM_VALUE 7 md_size 0
DATA_SOURCE 6 tunnel_id r key32_to_tunnel_id
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->ethtool->rss_lock
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/bridge/br_vlan_tunnel.c br_handle_egress_vlan_tunnel() -> __ip_tun_set_dst()

Type Parameter Key Value
PARAM_VALUE 0 saddr 0
PARAM_VALUE 1 daddr 0
PARAM_VALUE 2 tos 0
PARAM_VALUE 3 ttl 0
PARAM_VALUE 4 tp_dst 0
PARAM_VALUE 5 flags 6803931327995531264
PARAM_VALUE 6 tunnel_id 1-u64max
PARAM_VALUE 7 md_size 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/sched/act_tunnel_key.c tunnel_key_init() -> __ip_tun_set_dst()

Type Parameter Key Value
PARAM_VALUE 5 flags 689928293201534976
PARAM_VALUE 6 tunnel_id 0,4294967296-18446744069414584320
PARAM_VALUE 7 md_size 0,4-s32max
CAPPED_DATA 7 md_size 1
DATA_SOURCE 0 saddr r nla_get_in_addr
DATA_SOURCE 1 daddr r nla_get_in_addr
FUZZY_MAX 6 tunnel_id 0
FUZZY_MAX 7 md_size 0
RX_PATH
TASK_NOT_RUNNING
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/ipv4/udp_tunnel_core.c ip_tun_rx_dst() -> __ip_tun_set_dst()

Type Parameter Key Value
PARAM_VALUE 4 tp_dst 0
PARAM_VALUE 5 flags 580335337253842944,1644676842524749824,5351955780042670080,6361735526824390656
DATA_SOURCE 5 flags $1
DATA_SOURCE 6 tunnel_id $2
DATA_SOURCE 7 md_size $3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 saddr unit_byte
UNITS 1 daddr unit_byte
UNITS 7 md_size unit_byte

drivers/net/ethernet/mellanox/mlx5/core/en_tc.c mlx5e_tc_restore_tunnel() -> __ip_tun_set_dst()

Type Parameter Key Value
PARAM_VALUE 5 flags 7959247863790592000
PARAM_VALUE 6 tunnel_id 0,4294967296-18446744069414584320
RX_PATH
TASK_NOT_RUNNING
UNITS 0 saddr unit_byte
UNITS 1 daddr unit_byte
UNITS 7 md_size unit_byte
LOCK2 rcu_read
HALF_LOCKED2 bh

net/ipv4/ip_gre.c ip_tun_rx_dst() -> __ip_tun_set_dst()

Type Parameter Key Value
PARAM_VALUE 4 tp_dst 0
PARAM_VALUE 5 flags 5402464608734023680,6619235344074997760
PARAM_VALUE 6 tunnel_id 0,4294967296-18446744069414584320
PARAM_VALUE 7 md_size 0,12
DATA_SOURCE 5 flags $1
DATA_SOURCE 6 tunnel_id $2
DATA_SOURCE 7 md_size $3
HARD_MAX 7 md_size 12
RX_PATH
TASK_NOT_RUNNING
UNITS 0 saddr unit_byte
UNITS 1 daddr unit_byte
UNITS 7 md_size unit_byte
LOCK2 rcu_read

net/ipv4/ipip.c ip_tun_rx_dst() -> __ip_tun_set_dst()

Type Parameter Key Value
PARAM_VALUE 4 tp_dst 0
PARAM_VALUE 5 flags 4930820035835981824
PARAM_VALUE 6 tunnel_id 0
PARAM_VALUE 7 md_size 0
DATA_SOURCE 5 flags $1
DATA_SOURCE 6 tunnel_id $2
DATA_SOURCE 7 md_size $3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 saddr unit_byte
UNITS 1 daddr unit_byte
HALF_LOCKED2 rcu_read