Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
net/ipv6/addrconf.c addrconf_set_sit_dstaddr() -> (struct net_device_ops)->ndo_tunnel_ctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_tunnel_ctl | 917093382293667840,4545361732256555008,4823928543964098560,6362961764887379968 |
| PARAM_VALUE | 0 | dev->type | 776 |
| PARAM_VALUE | 1 | p | 6533962680713797632 |
| PARAM_VALUE | 1 | p->i_key | 0 |
| PARAM_VALUE | 1 | p->iph.addrs.daddr | 0 |
| PARAM_VALUE | 1 | p->iph.addrs.saddr | 0 |
| PARAM_VALUE | 1 | p->iph.check | 0 |
| PARAM_VALUE | 1 | p->iph.frag_off | 0 |
| PARAM_VALUE | 1 | p->iph.id | 0 |
| PARAM_VALUE | 1 | p->iph.ihl | 5 |
| PARAM_VALUE | 1 | p->iph.protocol | 41 |
| PARAM_VALUE | 1 | p->iph.saddr | 0 |
| PARAM_VALUE | 1 | p->iph.tos | 0 |
| PARAM_VALUE | 1 | p->iph.tot_len | 0 |
| PARAM_VALUE | 1 | p->iph.ttl | 64 |
| PARAM_VALUE | 1 | p->iph.version | 4 |
| PARAM_VALUE | 1 | p->link | 0 |
| PARAM_VALUE | 1 | p->o_key | 0 |
| PARAM_VALUE | 2 | cmd | 35313 |
| CAPPED_DATA | 0 | dev->ifindex | 1 |
| DATA_SOURCE | 0 | dev | $1 |
| CONTAINER | 0 | -704-8+0 | $(-1) |
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | global &rtnl_mutex | ||
| HALF_LOCKED2 | &smc->sk | ||
| TYPE_LOCK | (struct net)->rtnl_mutex |
net/ipv4/ip_tunnel.c ip_tunnel_siocdevprivate() -> (struct net_device_ops)->ndo_tunnel_ctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_siocdevprivate | 4096-ptr_max |
| PARAM_VALUE | 1 | p | 6012584752696856576 |
| PARAM_VALUE | 2 | cmd | 35312-35327 |
| CAPPED_DATA | 2 | cmd | 1 |
| DATA_SOURCE | 0 | dev | $0 |
| DATA_SOURCE | 2 | cmd | $3 |
| CONTAINER | 0 | -704-8+0 | $(-1) |
| NOSPEC | 2 | cmd | |
| NOSPEC | 2 | cmd | |
| USER_DATA | 1 | p->i_key | 0-u32max |
| USER_DATA | 1 | p->iph.addrs.daddr | 0-u32max |
| USER_DATA | 1 | p->iph.addrs.saddr | 0-u32max |
| USER_DATA | 1 | p->iph.check | 0-u16max |
| USER_DATA | 1 | p->iph.daddr | 0-u32max |
| USER_DATA | 1 | p->iph.frag_off | 0-u16max |
| USER_DATA | 1 | p->iph.id | 0-u16max |
| USER_DATA | 1 | p->iph.protocol | 0-255 |
| USER_DATA | 1 | p->iph.saddr | 0-u32max |
| USER_DATA | 1 | p->iph.tos | 0-255 |
| USER_DATA | 1 | p->iph.tot_len | 0-u16max |
| USER_DATA | 1 | p->iph.ttl | 0-255 |
| USER_DATA | 1 | p->link | s32min-s32max |
| USER_DATA | 1 | p->o_key | 0-u32max |
| USER_DATA | 2 | cmd | 35313-35327[c] |
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex |
net/ipv4/ipmr.c ipmr_new_tunnel() -> (struct net_device_ops)->ndo_tunnel_ctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_tunnel_ctl | 917093382293667840,4545361732256555008,4823928543964098560,6362961764887379968 |
| PARAM_VALUE | 1 | p | 7432946446435254272 |
| PARAM_VALUE | 1 | p->i_key | 0 |
| PARAM_VALUE | 1 | p->iph.addrs.daddr | 0 |
| PARAM_VALUE | 1 | p->iph.addrs.saddr | 0 |
| PARAM_VALUE | 1 | p->iph.check | 0 |
| PARAM_VALUE | 1 | p->iph.frag_off | 0 |
| PARAM_VALUE | 1 | p->iph.id | 0 |
| PARAM_VALUE | 1 | p->iph.ihl | 5 |
| PARAM_VALUE | 1 | p->iph.protocol | 4 |
| PARAM_VALUE | 1 | p->iph.tos | 0 |
| PARAM_VALUE | 1 | p->iph.tot_len | 0 |
| PARAM_VALUE | 1 | p->iph.ttl | 0 |
| PARAM_VALUE | 1 | p->iph.version | 4 |
| PARAM_VALUE | 1 | p->link | 0 |
| PARAM_VALUE | 1 | p->o_key | 0 |
| PARAM_VALUE | 2 | cmd | 35313 |
| DATA_SOURCE | 0 | dev | r __dev_get_by_name |
| CONTAINER | 0 | -704-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | p->iph.daddr | 0-u32max |
| USER_DATA | 1 | p->iph.saddr | 0-u32max |
| LOCK2 | global &rtnl_mutex |
net/ipv4/ipmr.c ipmr_new_tunnel() -> (struct net_device_ops)->ndo_tunnel_ctl()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dev | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | dev->netdev_ops->ndo_tunnel_ctl | 917093382293667840,4545361732256555008,4823928543964098560,6362961764887379968 |
| PARAM_VALUE | 0 | dev->priv->collect_md | 0-1 |
| PARAM_VALUE | 0 | dev->priv->dir | 0-255 |
| PARAM_VALUE | 0 | dev->priv->encap.dport | 0-u16max |
| PARAM_VALUE | 0 | dev->priv->encap.flags | 0-u16max |
| PARAM_VALUE | 0 | dev->priv->encap.sport | 0-u16max |
| PARAM_VALUE | 0 | dev->priv->encap.type | 0-u16max |
| PARAM_VALUE | 0 | dev->priv->encap_hlen | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->err_count | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->erspan_ver | 0-255 |
| PARAM_VALUE | 0 | dev->priv->fwmark | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->hlen | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->hwid | 0-u16max |
| PARAM_VALUE | 0 | dev->priv->i_seqno | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->ignore_df | 0-1 |
| PARAM_VALUE | 0 | dev->priv->index | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->ip6rd.prefixlen | 0-u16max |
| PARAM_VALUE | 0 | dev->priv->ip6rd.relay_prefix | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->ip6rd.relay_prefixlen | 0-u16max |
| PARAM_VALUE | 0 | dev->priv->ip_tnl_net_id | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->mlink | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->o_seqno.counter | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->parms.i_key | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->parms.link | s32min-s32max |
| PARAM_VALUE | 0 | dev->priv->parms.o_key | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->prl_count | 0-4294967295 |
| PARAM_VALUE | 0 | dev->priv->tun_hlen | s32min-s32max |
| PARAM_VALUE | 1 | p | 7432946446435254272 |
| PARAM_VALUE | 2 | cmd | 35314 |
| DATA_SOURCE | 0 | dev | r __dev_get_by_name |
| CONTAINER | 0 | -704-8+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | *dev->broadcast | 0-255 |
| USER_DATA | 1 | p->iph.daddr | 0-u32max |
| USER_DATA | 1 | p->iph.frag_off | 0-49150 |
| USER_DATA | 1 | p->iph.saddr | 0-u32max |
| LOCK2 | global &rtnl_mutex |