Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
net/ipv6/ipv6_sockglue.c do_ipv6_setsockopt() -> ipv6_update_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_family | 10 |
| PARAM_VALUE | 1 | opt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->dst0opt | 0 |
| PARAM_VALUE | 1 | opt->dst1opt | 0 |
| PARAM_VALUE | 1 | opt->hopopt | 0 |
| PARAM_VALUE | 1 | opt->refcnt.refs.counter | 0-1 |
| PARAM_VALUE | 1 | opt->srcrt | 0 |
| PARAM_VALUE | 1 | opt->tot_len | 0,65-65600 |
| BUF_SIZE | 1 | opt | 0,65-65600 |
| BUF_SIZE | 1 | opt | 0,65-65600 |
| CAPPED_DATA | 0 | sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| FUZZY_MAX | 1 | opt->refcnt.refs.counter | 0 |
| FUZZY_MAX | 1 | opt->tot_len | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | opt->tot_len | 66-65600[c] |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| UNITS | 0 | sk | unit_byte |
| HALF_LOCKED2 | 0 | sk |
net/ipv6/ipv6_sockglue.c ipv6_set_opt_hdr() -> ipv6_update_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 0 | sk->__sk_common.skc_family | 10 |
| PARAM_VALUE | 1 | opt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->dst0opt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->dst1opt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->hopopt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->refcnt.refs.counter | 1 |
| PARAM_VALUE | 1 | opt->srcrt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->tot_len | 72-10304 |
| BUF_SIZE | 1 | opt | (-1),72-10304 |
| BUF_SIZE | 1 | opt | (-1),72-10304 |
| CAPPED_DATA | 0 | sk->__sk_common.skc_net.net | 1 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | opt | r ipv6_renew_options |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | opt->dst0opt->hdrlen | 0-255[u] |
| USER_DATA | 1 | opt->dst0opt->nexthdr | 0-255[u] |
| USER_DATA | 1 | opt->dst1opt->hdrlen | 0-255[u] |
| USER_DATA | 1 | opt->dst1opt->nexthdr | 0-255[u] |
| USER_DATA | 1 | opt->hopopt->hdrlen | 0-255[u] |
| USER_DATA | 1 | opt->hopopt->nexthdr | 0-255[u] |
| USER_DATA | 1 | opt->srcrt->hdrlen | 0-255[u] |
| USER_DATA | 1 | opt->srcrt->nexthdr | 0-255[u] |
| USER_DATA | 1 | opt->tot_len | 72-10304[c][u] |
| NO_OVERFLOW_SIMPLE | 0 | sk->sk_backlog.len | |
| UNITS | 0 | sk | unit_byte |
| HALF_LOCKED2 | 0 | sk |
net/ipv6/calipso.c calipso_opt_update() -> ipv6_update_options()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sk | 4096-ptr_max |
| PARAM_VALUE | 1 | opt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->dst0opt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->dst1opt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->hopopt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->refcnt.refs.counter | 1 |
| PARAM_VALUE | 1 | opt->srcrt | 0,4096-ptr_max |
| PARAM_VALUE | 1 | opt->tot_len | 72-10304 |
| BUF_SIZE | 1 | opt | (-1),72-10304 |
| BUF_SIZE | 1 | opt | (-1),72-10304 |
| DATA_SOURCE | 0 | sk | $0 |
| DATA_SOURCE | 1 | opt | r ipv6_renew_options |
| HALF_LOCKED2 | rcu_read | ||
| HALF_LOCKED2 | 0 | sk | |
| HALF_LOCKED2 | 0 | &sk->sk_lock.slock |