Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
Dsock.h389 #define sk_flags __sk_common.skc_flags macro
905 nsk->sk_flags = osk->sk_flags; in sock_copy_flags()
910 __set_bit(flag, &sk->sk_flags); in sock_set_flag()
915 __clear_bit(flag, &sk->sk_flags); in sock_reset_flag()
929 return test_bit(flag, &sk->sk_flags); in sock_flag()
2529 if (sk->sk_flags & FLAGS_TS_OR_DROPS || sk->sk_tsflags & TSFLAGS_ANY) in sock_recv_ts_and_drops()
/kernel/linux/linux-5.10/net/core/
Dsock.c429 if (sk->sk_flags & flags) { in sock_disable_timestamp()
430 sk->sk_flags &= ~flags; in sock_disable_timestamp()
432 !(sk->sk_flags & SK_FLAGS_TIMESTAMP)) in sock_disable_timestamp()
1998 if (sock_needs_netstamp(sk) && newsk->sk_flags & SK_FLAGS_TIMESTAMP) in sk_clone_lock()
3175 unsigned long previous_flags = sk->sk_flags; in sock_enable_timestamp()
/kernel/linux/linux-5.10/net/smc/
Daf_smc.c321 nsk->sk_flags &= ~mask; in smc_copy_sock_settings()
322 nsk->sk_flags |= osk->sk_flags & mask; in smc_copy_sock_settings()
/kernel/linux/linux-5.10/net/sctp/
Dsocket.c9186 newsk->sk_flags = sk->sk_flags; in sctp_copy_sock()
9223 if (newsk->sk_flags & SK_FLAGS_TIMESTAMP) in sctp_copy_sock()