Home
last modified time | relevance | path

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

/Linux-v6.1/tools/testing/selftests/bpf/progs/
Dbpf_tracing_net.h80 #define sk_flags __sk_common.skc_flags macro
/Linux-v6.1/include/net/
Dsock.h390 #define sk_flags __sk_common.skc_flags macro
962 nsk->sk_flags = osk->sk_flags; in sock_copy_flags()
967 __set_bit(flag, &sk->sk_flags); in sock_set_flag()
972 __clear_bit(flag, &sk->sk_flags); in sock_reset_flag()
986 return test_bit(flag, &sk->sk_flags); in sock_flag()
2725 if (sk->sk_flags & FLAGS_RECV_CMSGS || sk->sk_tsflags & TSFLAGS_ANY) in sock_recv_cmsgs()
/Linux-v6.1/net/core/
Dsock.c467 if (sk->sk_flags & flags) { in sock_disable_timestamp()
468 sk->sk_flags &= ~flags; in sock_disable_timestamp()
470 !(sk->sk_flags & SK_FLAGS_TIMESTAMP)) in sock_disable_timestamp()
2337 if (sock_needs_netstamp(sk) && newsk->sk_flags & SK_FLAGS_TIMESTAMP) in sk_clone_lock()
3551 unsigned long previous_flags = sk->sk_flags; in sock_enable_timestamp()
/Linux-v6.1/net/smc/
Daf_smc.c456 nsk->sk_flags &= ~mask; in smc_copy_sock_settings()
457 nsk->sk_flags |= osk->sk_flags & mask; in smc_copy_sock_settings()
/Linux-v6.1/net/sctp/
Dsocket.c9422 newsk->sk_flags = sk->sk_flags; in sctp_copy_sock()
9459 if (newsk->sk_flags & SK_FLAGS_TIMESTAMP) in sctp_copy_sock()