Defined in 1 files as a function:
Referenced in 7 files:
- include/net/route.h, line 350
- net/ipv4/icmp.c
- net/ipv4/ip_vti.c, line 187
- net/ipv4/route.c
- net/ipv4/xfrm4_policy.c, line 37
- net/ipv6/ip6_vti.c, line 460
- net/xfrm/xfrm_interface_core.c, line 558
Smatch caller information:
net/ipv4/tcp_ipv4.c ip_route_connect() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp | 4096-ptr_max |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_flags | 0-1,8-9 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_proto | 6 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_scope | 0,253 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_tun_key.tun_id | 0 |
| BUF_SIZE | 1 | flp | 56 |
| DATA_SOURCE | 1 | flp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | flp->uli.ports.dport | 0-u16max[u] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | sk |
net/ipv4/xfrm4_policy.c __xfrm4_dst_lookup() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp | 661727836516315136,4929516420076130304 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| DATA_SOURCE | 1 | flp | $0 |
| MEM_ZERO | 1 | flp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | rcu_read |
net/ipv6/ip6_vti.c vti6_xmit() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_flags | 1 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_iif | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_mark | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_proto | 0-1,47 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_scope | 0 |
| MEM_ZERO | 1 | flp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
net/xfrm/xfrm_interface_core.c xfrmi_xmit() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_flags | 1 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_iif | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_mark | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_proto | 0-1,47 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_scope | 0 |
| PARAM_VALUE | 1 | flp->daddr | 0 |
| PARAM_VALUE | 1 | flp->saddr | 0 |
| PARAM_VALUE | 1 | flp->uli.ports.dport | 0 |
| PARAM_VALUE | 1 | flp->uli.ports.sport | 0 |
| MEM_ZERO | 1 | flp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/datagram.c ip_route_connect() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp | 4096-ptr_max |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_flags | 0-1,8-9 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_scope | 0,253 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_tun_key.tun_id | 0 |
| BUF_SIZE | 1 | flp | 56 |
| DATA_SOURCE | 1 | flp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | flp->daddr | 0-u32max[u] |
| USER_DATA | 1 | flp->uli.ports.dport | 0-u16max[u] |
| UNITS | 0 | net | unit_byte |
| LOCK2 | sk |
net/ipv4/af_inet.c ip_route_connect() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp | 4096-ptr_max |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_flags | 0-1,8-9 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_scope | 0,253 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_tun_key.tun_id | 0 |
| PARAM_VALUE | 1 | flp->saddr | 0 |
| BUF_SIZE | 1 | flp | 56 |
| DATA_SOURCE | 1 | flp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | sk |
net/ipv4/ip_vti.c vti_xmit() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_flags | 1 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_iif | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_mark | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_proto | 0-1,47 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_scope | 0 |
| MEM_ZERO | 1 | flp | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &txq->_xmit_lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/icmp.c icmp_route_lookup() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.fib_default->tb_data->stats->gets | 0-4294967295 |
| PARAM_VALUE | 0 | net->ipv4.fib_default->tb_data->stats->semantic_match_passed | 0-4294967295 |
| PARAM_VALUE | 0 | net->ipv4.fib_main->tb_data->stats->semantic_match_passed | 0-4294967295 |
| PARAM_VALUE | 1 | flp | 8871920328818503680 |
| DATA_SOURCE | 0 | net | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &x->lock | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/icmp.c icmp_route_lookup() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->ipv4.fib_default->tb_data->stats->gets | 0-4294967295 |
| PARAM_VALUE | 0 | net->ipv4.fib_default->tb_data->stats->semantic_match_passed | 0-4294967295 |
| PARAM_VALUE | 0 | net->ipv4.fib_main->tb_data->stats->semantic_match_passed | 0-4294967295 |
| PARAM_VALUE | 1 | flp | 5056012648304361472 |
| DATA_SOURCE | 0 | net | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| LOCK2 | bh | ||
| HALF_LOCKED2 | &x->lock | ||
| HALF_LOCKED2 | rcu_read |
net/ipv4/route.c __ipv4_sk_update_pmtu() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp | 2162147593913135104 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_scope | 0,253 |
| PARAM_VALUE | 1 | flp->uli.ports.dport | 0 |
| PARAM_VALUE | 1 | flp->uli.ports.sport | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | flp->__fl_common.flowic_dscp | 0,4-252[c] |
| USER_DATA | 1 | flp->daddr | 0-u32max[u] |
| USER_DATA | 1 | flp->saddr | 0-u32max[u] |
| LOCK2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct socket_lock_t)->slock |
net/ipv4/route.c ip_route_output_flow() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net->ipv4.fqdir->f->frag_expire | 0,663510801442193408,1753052602134376448,4007388366431105024,8876081723503042560 |
| PARAM_VALUE | 0 | net->ipv4.fqdir->f->qsize | 0,304,320 |
| PARAM_VALUE | 0 | net->loopback_dev->rtnl_link_ops->maxtype | 0-6,8-10,15,18,20,22,24,34,50 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 1 | flp | (-1),56 |
| BUF_SIZE | 1 | flp | (-1),56 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 1 | flp | $1 |
| NOSPEC | 1 | flp->daddr | |
| NOSPEC | 1 | flp->saddr | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | flp->uli.ports.sport | 0-u16max[c] |
| USER_DATA | 1 | flp->__fl_common.flowic_dscp | 0,4-252[c] |
| USER_DATA | 1 | flp->__fl_common.flowic_oif | s32min-(-1),1-s32max |
| USER_DATA | 1 | flp->__fl_common.flowic_proto | 0-255 |
| USER_DATA | 1 | flp->daddr | 0-u32max |
| USER_DATA | 1 | flp->saddr | 0-u32max |
| USER_DATA | 1 | flp->uli.ports.dport | 0-u16max |
| USER_DATA | 1 | flp->uli.ports.sport | 0-u16max[u] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | &esw->offloads.encap_tbl_lock | ||
| HALF_LOCKED2 | &net->mpls.platform_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_state_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &sk->sk_lock.slock | ||
| HALF_LOCKED2 | &tc_info->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | sk | ||
| HALF_LOCKED2 | 0 | &net->ipv4.mfc_mutex | |
| HALF_LOCKED2 | 0 | &net->ipv6.mfc_mutex | |
| HALF_LOCKED2 | 0 | &net->rtnl_mutex |
net/ipv4/route.c ipv4_redirect() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp | 13317736350126080 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_scope | 0 |
| PARAM_VALUE | 1 | flp->uli.ports.dport | 0 |
| PARAM_VALUE | 1 | flp->uli.ports.sport | 0 |
| CAPPED_DATA | 0 | net->user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | flp->__fl_common.flowic_dscp | 0,4-252[c] |
| USER_DATA | 1 | flp->daddr | 0-u32max[u] |
| USER_DATA | 1 | flp->saddr | 0-u32max[u] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/ipv4/route.c ipv4_sk_redirect() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp | 296812173255839744 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_scope | 0,253 |
| PARAM_VALUE | 1 | flp->uli.ports.dport | 0 |
| PARAM_VALUE | 1 | flp->uli.ports.sport | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | flp->__fl_common.flowic_dscp | 0,4-252[c] |
| USER_DATA | 1 | flp->daddr | 0-u32max[u] |
| USER_DATA | 1 | flp->saddr | 0-u32max[u] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |
net/ipv4/route.c ipv4_update_pmtu() -> __ip_route_output_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flp | 4751902985513521152 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | flp->__fl_common.flowic_scope | 0 |
| PARAM_VALUE | 1 | flp->uli.ports.dport | 0 |
| PARAM_VALUE | 1 | flp->uli.ports.sport | 0 |
| CAPPED_DATA | 0 | net->user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | net | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | flp->__fl_common.flowic_dscp | 0,4-252[c] |
| USER_DATA | 1 | flp->daddr | 0-u32max[u] |
| USER_DATA | 1 | flp->saddr | 0-u32max[u] |
| UNITS | 0 | net | unit_byte |
| HALF_LOCKED2 | rcu_read |