Defined in 2 files as a function:
Referenced in 9 files:
- net/6lowpan/iphc.c, line 228
- net/ipv4/tcp_ao.c
- net/ipv4/tcp_ipv4.c, line 1269
- net/ipv6/addrconf.c
- net/ipv6/addrlabel.c, line 116
- net/ipv6/fib6_rules.c
- net/ipv6/ip6_fib.c
- net/ipv6/sit.c, line 813
- net/smc/smc_clc.c, line 647
Smatch caller information:
net/ipv4/tcp_ipv4.c __tcp_md5_do_lookup() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/6lowpan/iphc.c lowpan_iphc_ctx_get_by_addr() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 5300343294640345088 |
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| PARAM_VALUE | 2 | prefixlen | 64-255 |
| FUZZY_MAX | 2 | prefixlen | 64 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &dev->tx_global_lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | rcu_read |
net/ipv6/sit.c check_6rd() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| DATA_SOURCE | 0 | addr1 | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
net/smc/smc_clc.c smc_clc_prfx_match6_rcu() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| PARAM_VALUE | 2 | prefixlen | 0-255 |
| CAPPED_DATA | 2 | prefixlen | 1 |
| LOCK2 | &new_smc->sk | ||
| LOCK2 | &pool->lock | ||
| LOCK2 | global &smc_server_lgr_pending | ||
| LOCK2 | rcu_read | ||
| TYPE_LOCK | (struct smc_sock)->sk |
net/ipv6/addrlabel.c __ip6addrlbl_match() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| DATA_SOURCE | 0 | addr1 | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | addr1 | |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/ipv6/addrconf.c check_cleanup_prefix_route() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| CAPPED_DATA | 2 | prefixlen | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ifp->idev->lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct inet6_dev)->lock |
net/ipv6/addrconf.c ipv6_chk_custom_prefix() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| DATA_SOURCE | 0 | addr1 | $0 |
| DATA_SOURCE | 2 | prefixlen | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/ipv6/addrconf.c ipv6_chk_prefix() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| BUF_SIZE | 0 | addr1 | (-1),16 |
| BUF_SIZE | 0 | addr1 | (-1),16 |
| DATA_SOURCE | 0 | addr1 | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/ipv6/fib6_rules.c fib6_rule_match() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| PARAM_VALUE | 2 | prefixlen | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/ipv6/fib6_rules.c fib6_rule_match() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| PARAM_VALUE | 2 | prefixlen | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/ipv6/fib6_rules.c fib6_rule_saddr() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 3064755596557750272 |
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| PARAM_VALUE | 2 | prefixlen | 1-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/ipv4/tcp_ao.c __tcp_ao_key_cmp() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| DATA_SOURCE | 2 | prefixlen | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | prefixlen | 0-128[c] |
| HALF_LOCKED2 | sk |
net/ipv4/tcp_ao.c tcp_ao_verify_ipv6() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| PARAM_VALUE | 1 | addr2 | 7335738032602746888 |
| PARAM_VALUE | 2 | prefixlen | 1-128 |
| BUF_SIZE | 1 | addr2 | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | prefixlen | 1-128 |
| HALF_LOCKED2 | sk |
net/ipv6/ip6_fib.c fib6_add_1() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| CAPPED_DATA | 2 | prefixlen | 1 |
| DATA_SOURCE | 1 | addr2 | $3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &table->tb6_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct fib6_table)->tb6_lock |
net/ipv6/ip6_fib.c fib6_locate_1() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| BUF_SIZE | 1 | addr2 | (-1),16 |
| BUF_SIZE | 1 | addr2 | (-1),16 |
| CAPPED_DATA | 2 | prefixlen | 1 |
| DATA_SOURCE | 1 | addr2 | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
net/ipv6/ip6_fib.c fib6_node_lookup_1() -> ipv6_prefix_equal()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | addr1 | 4096-ptr_max |
| PARAM_VALUE | 1 | addr2 | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |