Defined in 1 files as a function:

Referenced in 13 files:

Smatch caller information:

net/ipv6/datagram.c ip6_datagram_flow_key_init() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 4096-ptr_max
BUF_SIZE 0 fl6 88
DATA_SOURCE 0 fl6 $0
BIT_INFO 0 fl6->__fl_common.flowic_uid 0x0,0x7fffffff
MEM_ZERO 0 fl6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

drivers/net/wireguard/socket.c send6() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 8164537806171226112
PARAM_VALUE 0 fl6->__fl_common.flowic_dscp 0
PARAM_VALUE 0 fl6->__fl_common.flowic_flags 0
PARAM_VALUE 0 fl6->__fl_common.flowic_iif 0
PARAM_VALUE 0 fl6->__fl_common.flowic_l3mdev 0
PARAM_VALUE 0 fl6->__fl_common.flowic_multipath_hash 0
PARAM_VALUE 0 fl6->__fl_common.flowic_proto 17
PARAM_VALUE 0 fl6->__fl_common.flowic_scope 0
PARAM_VALUE 0 fl6->__fl_common.flowic_secid 0
PARAM_VALUE 0 fl6->__fl_common.flowic_tun_key.tun_id 0
PARAM_VALUE 0 fl6->__fl_common.flowic_uid.val 0
PREEMPT_ADD <- disables preempt
LOCK2 rcu_read
HALF_LOCKED2 &peer->endpoint_lock
HALF_LOCKED2 bh

net/ipv6/inet6_connection_sock.c inet6_csk_route_req() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 4096-ptr_max
BUF_SIZE 0 fl6 (-1),88
BUF_SIZE 0 fl6 (-1),88
DATA_SOURCE 0 fl6 $2
BIT_INFO 0 fl6->__fl_common.flowic_uid 0x0,0x7fffffff
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

net/ipv6/inet6_connection_sock.c inet6_csk_route_socket() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 4096-ptr_max
BUF_SIZE 0 fl6 88
DATA_SOURCE 0 fl6 $1
BIT_INFO 0 fl6->__fl_common.flowic_uid 0x0,0x7fffffff
MEM_ZERO 0 fl6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sk->sk_lock.slock

net/ipv6/ping.c ping_v6_sendmsg() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 547411931194654720
PARAM_VALUE 0 fl6->__fl_common.flowic_proto 58
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 fl6->__fl_common.flowic_oif s32min-(-1),1-s32max
USER_DATA 0 fl6->flowlabel 0-268435455[c]
HALF_LOCKED2 &vq->mutex

net/ipv6/syncookies.c cookie_v6_check() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 2672113619689246720
PARAM_VALUE 0 fl6->__fl_common.flowic_proto 6
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 sk

net/l2tp/l2tp_ip6.c l2tp_ip6_sendmsg() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 8491236259787087872
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 fl6->__fl_common.flowic_oif s32min-(-1),1-s32max
USER_DATA 0 fl6->flowlabel 0-268435455[c]
HALF_LOCKED2 &vq->mutex

net/netfilter/nf_synproxy_core.c synproxy_send_tcp_ipv6() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 7565626855391752192
PARAM_VALUE 0 fl6->__fl_common.flowic_proto 6
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING

net/ipv6/raw.c rawv6_sendmsg() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 147540059252310016
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 fl6->__fl_common.flowic_oif s32min-(-1),1-s32max
USER_DATA 0 fl6->__fl_common.flowic_proto 1-255[c][u]
USER_DATA 0 fl6->flowlabel 0-268435455[c]
HALF_LOCKED2 &vq->mutex

net/ipv6/tcp_ipv6.c tcp_v6_connect() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 4096-ptr_max
BUF_SIZE 0 fl6 88
BIT_INFO 0 fl6->__fl_common.flowic_uid 0x0,0x7fffffff
NOSPEC 0 fl6->flowlabel
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 fl6->__fl_common.flowic_oif 1-s32max[c]
USER_DATA 0 fl6->flowlabel 0-u32max[c]
USER_DATA 0 fl6->uli.ports.dport 0-u16max[u]
HALF_LOCKED2 sk

net/ipv6/tcp_ipv6.c tcp_v6_send_response() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 4144066587828322304
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sk->sk_lock.slock
HALF_LOCKED2 rcu_read
HALF_LOCKED2 sk

net/ipv6/netfilter/nf_reject_ipv6.c nf_send_reset6() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 3677808539943497728
PARAM_VALUE 0 fl6->__fl_common.flowic_proto 6
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING

net/ipv6/af_inet6.c inet6_sk_rebuild_header() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 4096-ptr_max
BUF_SIZE 0 fl6 88
BIT_INFO 0 fl6->__fl_common.flowic_uid 0x0,0x7fffffff
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 rcu_read

net/ipv6/icmp.c icmp6_send() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 196650708650180608
MEM_ZERO 0 fl6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 bh
LOCK2 rcu_read
HALF_LOCKED2 &x->lock

net/ipv6/icmp.c icmpv6_echo_reply() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 312139106390683648
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING

net/ipv6/icmp.c icmpv6_flow_init() -> flowi6_to_flowi_common()

Type Parameter Key Value
PARAM_VALUE 0 fl6 3035751789022523392,3237765376247312384,4235110197802000384,7697849049341009920
DATA_SOURCE 0 fl6 $1
MEM_ZERO 0 fl6
RX_PATH
TASK_NOT_RUNNING
LOCK2 rcu_read
HALF_LOCKED2 &idev->mc_lock