Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/progs/
H A Dbpf_tracing_net.h128 #define sk_flags __sk_common.skc_flags macro
/linux/include/net/
H A Dsock.h379 #define sk_flags __sk_common.skc_flags macro
968 nsk->sk_flags = osk->sk_flags; in sock_copy_flags()
973 __set_bit(flag, &sk->sk_flags); in sock_set_flag()
978 __clear_bit(flag, &sk->sk_flags); in sock_reset_flag()
992 return test_bit(flag, &sk->sk_flags); in sock_flag()
2671 if (sk->sk_flags & FLAGS_RECV_CMSGS || in sock_recv_cmsgs()
/linux/net/smc/
H A Dsmc.h426 set_bit(flag, &sk->sk_flags); in smc_sock_set_flag()
H A Daf_smc.c492 nsk->sk_flags &= ~mask; in smc_copy_sock_settings()
493 nsk->sk_flags |= osk->sk_flags & mask; in smc_copy_sock_settings()
/linux/net/core/
H A Dsock.c470 if (sk->sk_flags & flags) { in sock_disable_timestamp()
471 sk->sk_flags &= ~flags; in sock_disable_timestamp()
473 !(sk->sk_flags & SK_FLAGS_TIMESTAMP)) in sock_disable_timestamp()
2480 if (sock_needs_netstamp(sk) && newsk->sk_flags & SK_FLAGS_TIMESTAMP) in sk_clone_lock()
3724 unsigned long previous_flags = sk->sk_flags; in sock_enable_timestamp()
/linux/net/sctp/
H A Dsocket.c9473 newsk->sk_flags = sk->sk_flags; in sctp_copy_sock()
9510 if (newsk->sk_flags & SK_FLAGS_TIMESTAMP) in sctp_copy_sock()