Defined in 1 files as a function:
Referenced in 8 files:
- drivers/net/amt.c
- drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c, line 101
- drivers/scsi/cxgbi/libcxgbi.c, line 595
- net/ipv4/igmp.c
- net/ipv4/ipmr.c
- net/ipv6/ip6_tunnel.c
- net/ipv6/sit.c, line 1107
- net/rxrpc/peer_object.c, line 173
Smatch caller information:
drivers/scsi/cxgbi/libcxgbi.c find_route_ipv4() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | fl4 | 2355920336546361344 |
| PARAM_VALUE | 2 | sk | 0 |
| PARAM_VALUE | 4 | saddr | 0 |
| PARAM_VALUE | 6 | sport | 0 |
| PARAM_VALUE | 7 | proto | 6 |
| PARAM_VALUE | 8 | tos | 0 |
| DATA_SOURCE | 1 | fl4 | $0 |
| DATA_SOURCE | 3 | daddr | $2 |
| DATA_SOURCE | 4 | saddr | $1 |
| DATA_SOURCE | 5 | dport | $4 |
| DATA_SOURCE | 6 | sport | $3 |
| DATA_SOURCE | 8 | tos | $5 |
| DATA_SOURCE | 9 | oif | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 5 | dport | 0-u16max[u] |
| UNITS | 3 | daddr | unit_byte |
| UNITS | 9 | oif | unit_array_size |
| LOCK2 | global &rx_queue_mutex | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | rcu_read |
net/ipv6/ip6_tunnel.c ip4ip6_err() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fl4 | 8645566111782752256 |
| PARAM_VALUE | 2 | sk | 0 |
| PARAM_VALUE | 4 | saddr | 0 |
| PARAM_VALUE | 5 | dport | 0 |
| PARAM_VALUE | 6 | sport | 0 |
| PARAM_VALUE | 7 | proto | 4 |
| PARAM_VALUE | 8 | tos | 0,4-252 |
| PARAM_VALUE | 9 | oif | 0 |
| BIT_INFO | 8 | tos | 0x0,0xfc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | daddr | unit_byte |
net/ipv6/ip6_tunnel.c ip4ip6_err() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fl4 | 8645566111782752256 |
| PARAM_VALUE | 1 | fl4->__fl_common.flowic_dscp | 0,4-252 |
| PARAM_VALUE | 1 | fl4->__fl_common.flowic_flags | 0 |
| PARAM_VALUE | 1 | fl4->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 1 | fl4->__fl_common.flowic_l3mdev | 0 |
| PARAM_VALUE | 1 | fl4->__fl_common.flowic_mark | 0 |
| PARAM_VALUE | 1 | fl4->__fl_common.flowic_multipath_hash | 0 |
| PARAM_VALUE | 1 | fl4->__fl_common.flowic_proto | 4 |
| PARAM_VALUE | 1 | fl4->__fl_common.flowic_scope | 0 |
| PARAM_VALUE | 1 | fl4->__fl_common.flowic_secid | 0 |
| PARAM_VALUE | 1 | fl4->__fl_common.flowic_tun_key.tun_id | 0 |
| PARAM_VALUE | 1 | fl4->uli.ports.dport | 0 |
| PARAM_VALUE | 1 | fl4->uli.ports.sport | 0 |
| PARAM_VALUE | 2 | sk | 0 |
| PARAM_VALUE | 5 | dport | 0 |
| PARAM_VALUE | 6 | sport | 0 |
| PARAM_VALUE | 7 | proto | 4 |
| PARAM_VALUE | 8 | tos | 0,4-252 |
| PARAM_VALUE | 9 | oif | 0 |
| BIT_INFO | 8 | tos | 0x0,0xfc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | daddr | unit_byte |
| UNITS | 4 | saddr | unit_byte |
drivers/net/amt.c amt_send_advertisement() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fl4 | 9210165002957201408 |
| PARAM_VALUE | 2 | sk | 1-u64max |
| PARAM_VALUE | 7 | proto | 17 |
| PARAM_VALUE | 8 | tos | 0 |
| DATA_SOURCE | 3 | daddr | $2 |
| DATA_SOURCE | 5 | dport | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | daddr | unit_byte |
| UNITS | 9 | oif | unit_array_size |
| LOCK2 | rcu_read |
drivers/net/amt.c amt_send_discovery() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fl4 | 1709133684181274624 |
| PARAM_VALUE | 2 | sk | 1-u64max |
| PARAM_VALUE | 7 | proto | 17 |
| PARAM_VALUE | 8 | tos | 0 |
| UNITS | 3 | daddr | unit_byte |
| UNITS | 9 | oif | unit_array_size |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
drivers/net/amt.c amt_send_request() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fl4 | 4189239834067365888 |
| PARAM_VALUE | 2 | sk | 1-u64max |
| PARAM_VALUE | 7 | proto | 17 |
| PARAM_VALUE | 8 | tos | 0 |
| UNITS | 9 | oif | unit_array_size |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &pool->lock |
net/rxrpc/peer_object.c rxrpc_assess_MTU_size() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | sk | 0 |
| PARAM_VALUE | 4 | saddr | 0 |
| PARAM_VALUE | 5 | dport | 7000 |
| PARAM_VALUE | 6 | sport | 7001 |
| PARAM_VALUE | 7 | proto | 17 |
| PARAM_VALUE | 8 | tos | 0 |
| PARAM_VALUE | 9 | oif | 0 |
| BUF_SIZE | 1 | fl4 | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | daddr | 0-u32max[u] |
| UNITS | 3 | daddr | unit_byte |
net/ipv6/sit.c ipip6_tunnel_bind_dev() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fl4 | 3362579694913437696 |
| PARAM_VALUE | 2 | sk | 0 |
| PARAM_VALUE | 3 | daddr | 1-u32max |
| PARAM_VALUE | 5 | dport | 0 |
| PARAM_VALUE | 6 | sport | 0 |
| PARAM_VALUE | 7 | proto | 41 |
| PARAM_VALUE | 8 | tos | 0,4-252 |
| BIT_INFO | 8 | tos | 0x0,0xfc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 3 | daddr | unit_byte |
| UNITS | 4 | saddr | unit_byte |
| UNITS | 9 | oif | unit_array_size |
net/ipv4/igmp.c igmp_send_report() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fl4 | 7317555420536573952 |
| PARAM_VALUE | 2 | sk | 0 |
| PARAM_VALUE | 4 | saddr | 0 |
| PARAM_VALUE | 5 | dport | 0 |
| PARAM_VALUE | 6 | sport | 0 |
| PARAM_VALUE | 7 | proto | 2 |
| PARAM_VALUE | 8 | tos | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 3 | daddr | unit_byte |
| UNITS | 9 | oif | unit_array_size |
net/ipv4/igmp.c igmpv3_newpack() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | fl4 | 4185366938630184960 |
| PARAM_VALUE | 2 | sk | 0 |
| PARAM_VALUE | 3 | daddr | 3758096406 |
| PARAM_VALUE | 4 | saddr | 0 |
| PARAM_VALUE | 5 | dport | 0 |
| PARAM_VALUE | 6 | sport | 0 |
| PARAM_VALUE | 7 | proto | 2 |
| PARAM_VALUE | 8 | tos | 0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 9 | oif | unit_array_size |
| HALF_LOCKED2 | &pmc->lock | ||
| HALF_LOCKED2 | bh | ||
| HALF_LOCKED2 | rcu_read |
drivers/net/ethernet/chelsio/libcxgb/libcxgb_cm.c cxgb_find_route() -> ip_route_output_ports()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 1824583183996030976 |
| PARAM_VALUE | 1 | fl4 | 1276790311347195904 |
| PARAM_VALUE | 2 | sk | 0 |
| PARAM_VALUE | 7 | proto | 6 |
| PARAM_VALUE | 9 | oif | 0 |
| DATA_SOURCE | 3 | daddr | $3 |
| DATA_SOURCE | 4 | saddr | $2 |
| DATA_SOURCE | 5 | dport | $5 |
| DATA_SOURCE | 6 | sport | $4 |
| BIT_INFO | 8 | tos | 0x0,0xfc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | daddr | 0-u32max[u] |
| USER_DATA | 4 | saddr | 0-u32max[u] |
| USER_DATA | 5 | dport | 0-u16max[u] |
| USER_DATA | 6 | sport | 0-u16max[u] |
| USER_DATA | 8 | tos | 0,4-252[c] |
| UNITS | 3 | daddr | unit_byte |
| UNITS | 4 | saddr | unit_byte |
net/ipv4/ipmr.c ipmr_prepare_xmit() -> ip_route_output_ports()
| 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 | 1 | fl4 | 675632088021872640 |
| PARAM_VALUE | 2 | sk | 0 |
| PARAM_VALUE | 5 | dport | 0 |
| PARAM_VALUE | 6 | sport | 0 |
| PARAM_VALUE | 7 | proto | 4 |
| PARAM_VALUE | 8 | tos | 0,4-252 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| DATA_SOURCE | 0 | net | $0 |
| BIT_INFO | 8 | tos | 0x0,0xfc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 3 | daddr | unit_byte |
| UNITS | 4 | saddr | unit_byte |
| UNITS | 9 | oif | unit_array_size |
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &net->ipv4.mfc_mutex | |
| HALF_LOCKED2 | 0 | &net->ipv6.mfc_mutex |
net/ipv4/ipmr.c ipmr_prepare_xmit() -> ip_route_output_ports()
| 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 | 1 | fl4 | 675632088021872640 |
| PARAM_VALUE | 2 | sk | 0 |
| PARAM_VALUE | 4 | saddr | 0 |
| PARAM_VALUE | 5 | dport | 0 |
| PARAM_VALUE | 6 | sport | 0 |
| PARAM_VALUE | 7 | proto | 4 |
| PARAM_VALUE | 8 | tos | 0,4-252 |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| BUF_SIZE | 0 | net | (-1),1-s32max |
| DATA_SOURCE | 0 | net | $0 |
| BIT_INFO | 8 | tos | 0x0,0xfc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | net | unit_byte |
| UNITS | 3 | daddr | unit_byte |
| UNITS | 9 | oif | unit_array_size |
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | &net->ipv4.mfc_mutex | |
| HALF_LOCKED2 | 0 | &net->ipv6.mfc_mutex |