Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 5 files:
- net/core/filter.c, line 6501
- net/ipv6/fib6_rules.c, line 96
- net/ipv6/ip6_fib.c, line 346
- net/ipv6/netfilter/nft_fib_ipv6.c, line 61
- net/ipv6/route.c, line 3473
Smatch caller information:
net/core/filter.c bpf_ipv6_fib_lookup() -> fib6_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 0 | net->user_ns | 4096-ptr_max |
| PARAM_VALUE | 2 | fl6 | 7057109324066013184 |
| PARAM_VALUE | 2 | fl6->mp_hash | 0 |
| PARAM_VALUE | 3 | res | 6489984386563125248 |
| PARAM_VALUE | 3 | res->f6i | 0 |
| PARAM_VALUE | 3 | res->fib6_flags | 0 |
| PARAM_VALUE | 3 | res->fib6_type | 0 |
| PARAM_VALUE | 3 | res->nh | 0 |
| PARAM_VALUE | 3 | res->rt6 | 0 |
| PARAM_VALUE | 4 | flags | 0,4 |
| CAPPED_DATA | 0 | net->user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | net | $0 |
| FUZZY_MAX | 4 | flags | 4 |
| BIT_INFO | 4 | flags | 0x0,0x4 |
| HARD_MAX | 4 | flags | 4 |
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | oif | unit_array_size |
net/ipv6/route.c ip6_route_check_nh() -> fib6_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | net | 4096-ptr_max |
| PARAM_VALUE | 2 | fl6 | 9008373118169518080 |
| PARAM_VALUE | 2 | fl6->mp_hash | 0 |
| PARAM_VALUE | 3 | res | 7594205183180591104 |
| PARAM_VALUE | 3 | res->f6i | 0,4096-ptr_max |
| PARAM_VALUE | 3 | res->rt6 | 0 |
| PARAM_VALUE | 4 | flags | 1 |
| CAPPED_DATA | 1 | oif | 1 |
| DATA_SOURCE | 0 | net | $0 |
| NOSPEC | 1 | oif | |
| NOSPEC | 1 | oif | |
| NOSPEC | 2 | fl6->__fl_common.flowic_oif | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | oif | s32min-(-1),1-s32max[c] |
| USER_DATA | 2 | fl6->__fl_common.flowic_oif | s32min-(-1),1-s32max[c] |
| UNITS | 0 | net | unit_byte |
| UNITS | 1 | oif | unit_array_size |
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | 0 | &net->rtnl_mutex |
net/ipv6/netfilter/nft_fib_ipv6.c nft_fib6_lookup() -> fib6_lookup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | oif | 0 |
| PARAM_VALUE | 2 | fl6 | 1369359372544241664,7895334129672425472 |
| PARAM_VALUE | 2 | fl6->__fl_common.flowic_iif | 1 |
| PARAM_VALUE | 2 | fl6->__fl_common.flowic_oif | 0 |
| PARAM_VALUE | 2 | fl6->flowlabel | 0-268435455 |
| PARAM_VALUE | 2 | fl6->mp_hash | 0 |
| PARAM_VALUE | 3 | res | 799536805009985536,3950506972249399296 |
| PARAM_VALUE | 3 | res->f6i | 0 |
| PARAM_VALUE | 3 | res->fib6_flags | 0 |
| PARAM_VALUE | 3 | res->fib6_type | 0 |
| PARAM_VALUE | 3 | res->nh | 0 |
| PARAM_VALUE | 3 | res->rt6 | 0 |
| PARAM_VALUE | 4 | flags | 128-129,132-133 |
| DATA_SOURCE | 0 | net | $0 |
| DATA_SOURCE | 2 | fl6 | $1 |
| DATA_SOURCE | 3 | res | $2 |
| DATA_SOURCE | 4 | flags | $3 |
| BIT_INFO | 4 | flags | 0x80,0xff |
| UNITS | 1 | oif | unit_array_size |