Searched refs:sock_flag (Results 1 – 4 of 4) sorted by relevance
/linux-4.19.296/include/net/ |
D | sock.h | 86 #define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \ 841 static inline bool sock_flag(const struct sock *sk, enum sock_flags flag) in sock_flag() function 939 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) in sk_add_backlog() 2227 !sock_flag(sk, SOCK_FASYNC)) in sk_set_bit() 2236 !sock_flag(sk, SOCK_FASYNC)) in sk_clear_bit() 2244 if (sock_flag(sk, SOCK_FASYNC)) { in sk_wake_async() 2354 SOCK_SKB_CB(skb)->dropcount = sock_flag(sk, SOCK_RXQ_OVFL) ? in sock_skb_set_dropcount() 2410 if (sock_flag(sk, SOCK_RCVTSTAMP) || in sock_recv_timestamp() 2419 if (sock_flag(sk, SOCK_WIFI_STATUS) && skb->wifi_acked_valid) in sock_recv_timestamp() 2437 else if (unlikely(sock_flag(sk, SOCK_TIMESTAMP))) in sock_recv_ts_and_drops() [all …]
|
D | route.h | 45 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE)) 46 #define RT_CONN_FLAGS_TOS(sk,tos) (RT_TOS(tos) | sock_flag(sk, SOCK_LOCALROUTE))
|
D | tcp.h | 2051 } else if (sock_flag(sk, SOCK_URGINLINE) || in tcp_inq() 2059 if (answ && sock_flag(sk, SOCK_DONE)) in tcp_inq()
|
/linux-4.19.296/include/net/sctp/ |
D | sctp.h | 630 return sock_flag(sk, SOCK_DEAD) || sk->sk_socket; in sctp_newsk_ready()
|