Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- net/ipv4/ip_gre.c
- net/ipv4/ip_tunnel.c, line 1285
- net/ipv4/ip_vti.c, line 603
- net/ipv4/ipip.c, line 522
Smatch caller information:
net/ipv4/ip_gre.c erspan_changelink() -> ip_tunnel_changelink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv->encap.dport | 0 |
| PARAM_VALUE | 0 | dev->priv->encap.flags | 0 |
| PARAM_VALUE | 0 | dev->priv->encap.sport | 0 |
| PARAM_VALUE | 0 | dev->priv->encap.type | 0 |
| PARAM_VALUE | 0 | dev->priv->encap_hlen | 0 |
| PARAM_VALUE | 0 | dev->priv->hlen | s32min-s32max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tb | 4096-ptr_max |
| PARAM_VALUE | 2 | p | 5569861997573156864 |
| PARAM_VALUE | 2 | p->iph.frag_off | 0,16384 |
| PARAM_VALUE | 2 | p->iph.id | 0 |
| PARAM_VALUE | 2 | p->iph.ihl | 0 |
| PARAM_VALUE | 2 | p->iph.protocol | 47 |
| BUF_SIZE | 1 | tb | 560 |
| BUF_SIZE | 1 | tb | 560 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| CAPPED_DATA | 0 | dev->rtnl_link_ops | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | tb | $1 |
| MEM_ZERO | 2 | p | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/ipv4/ip_gre.c ipgre_changelink() -> ip_tunnel_changelink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->priv->encap.dport | 0 |
| PARAM_VALUE | 0 | dev->priv->encap.flags | 0 |
| PARAM_VALUE | 0 | dev->priv->encap.sport | 0 |
| PARAM_VALUE | 0 | dev->priv->encap.type | 0 |
| PARAM_VALUE | 0 | dev->priv->encap_hlen | 0 |
| PARAM_VALUE | 0 | dev->priv->hlen | s32min-s32max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tb | 4096-ptr_max |
| PARAM_VALUE | 2 | p | 4955051728275795968 |
| PARAM_VALUE | 2 | p->iph.frag_off | 0,16384 |
| PARAM_VALUE | 2 | p->iph.id | 0 |
| PARAM_VALUE | 2 | p->iph.ihl | 0 |
| PARAM_VALUE | 2 | p->iph.protocol | 47 |
| BUF_SIZE | 1 | tb | 560 |
| BUF_SIZE | 1 | tb | 560 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| CAPPED_DATA | 0 | dev->rtnl_link_ops | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | tb | $1 |
| MEM_ZERO | 2 | p | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/ipv4/ipip.c ipip_changelink() -> ip_tunnel_changelink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->flags | 16-u32max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tb | 4096-ptr_max |
| PARAM_VALUE | 2 | p | 3213090322828001280 |
| PARAM_VALUE | 2 | p->i_key | 0 |
| PARAM_VALUE | 2 | p->iph.frag_off | 0,16384 |
| PARAM_VALUE | 2 | p->iph.id | 0 |
| PARAM_VALUE | 2 | p->iph.ihl | 5 |
| PARAM_VALUE | 2 | p->iph.version | 4 |
| PARAM_VALUE | 2 | p->o_key | 0 |
| BUF_SIZE | 1 | tb | 560 |
| BUF_SIZE | 1 | tb | 560 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| CAPPED_DATA | 0 | dev->rtnl_link_ops | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | tb | $1 |
| MEM_ZERO | 2 | p | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |
net/ipv4/ip_vti.c vti_changelink() -> ip_tunnel_changelink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->rtnl_link_ops | 4096-ptr_max |
| PARAM_VALUE | 1 | tb | 4096-ptr_max |
| PARAM_VALUE | 2 | p | 4156107185425526784 |
| PARAM_VALUE | 2 | p->iph.frag_off | 0 |
| PARAM_VALUE | 2 | p->iph.id | 0 |
| PARAM_VALUE | 2 | p->iph.ihl | 0 |
| PARAM_VALUE | 2 | p->iph.protocol | 4 |
| PARAM_VALUE | 2 | p->iph.tos | 0 |
| PARAM_VALUE | 2 | p->iph.ttl | 0 |
| BUF_SIZE | 1 | tb | 560 |
| BUF_SIZE | 1 | tb | 560 |
| CAPPED_DATA | 0 | dev->nd_net.net | 1 |
| CAPPED_DATA | 0 | dev->rtnl_link_ops | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 1 | tb | $1 |
| MEM_ZERO | 2 | p | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &net->xfrm.xfrm_cfg_mutex | ||
| HALF_LOCKED2 | &ops->srcu | ||
| HALF_LOCKED2 | global &audit_cmd_mutex.lock | ||
| HALF_LOCKED2 | global &cb_lock | ||
| HALF_LOCKED2 | global &crypto_cfg_mutex | ||
| HALF_LOCKED2 | global &hwsim_phys_lock | ||
| HALF_LOCKED2 | global &rx_queue_mutex |