Home
last modified time | relevance | path

Searched refs:sk_is_tcp (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.10/net/core/
Dsock_map.c542 static bool sk_is_tcp(const struct sock *sk) in sk_is_tcp() function
556 return sk_is_tcp(sk) && sk->sk_state != TCP_LISTEN; in sock_map_redirect_allowed()
561 return sk_is_tcp(sk) || sk_is_udp(sk); in sock_map_sk_is_suitable()
566 if (sk_is_tcp(sk)) in sock_map_sk_state_allowed()