Home
last modified time | relevance | path

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

/include/net/
Droute.h40 #define RT_CONN_FLAGS(sk) (RT_TOS(inet_sk(sk)->tos) | sock_flag(sk, SOCK_LOCALROUTE))
41 #define RT_CONN_FLAGS_TOS(sk,tos) (RT_TOS(tos) | sock_flag(sk, SOCK_LOCALROUTE))
45 if (sock_flag(sk, SOCK_LOCALROUTE)) in ip_sock_rt_scope()
Dsock.h84 #define SOCK_DEBUG(sk, msg...) do { if ((sk) && sock_flag((sk), SOCK_DBG)) \
1002 static inline bool sock_flag(const struct sock *sk, enum sock_flags flag) in sock_flag() function
1115 if (skb_pfmemalloc(skb) && !sock_flag(sk, SOCK_MEMALLOC)) in sk_add_backlog()
2558 !sock_flag(sk, SOCK_FASYNC)) in sk_set_bit()
2567 !sock_flag(sk, SOCK_FASYNC)) in sk_clear_bit()
2575 if (sock_flag(sk, SOCK_FASYNC)) { in sk_wake_async()
2694 SOCK_SKB_CB(skb)->dropcount = sock_flag(sk, SOCK_RXQ_OVFL) ? in sock_skb_set_dropcount()
2750 if (sock_flag(sk, SOCK_RCVTSTAMP) || in sock_recv_timestamp()
2759 if (sock_flag(sk, SOCK_WIFI_STATUS) && skb_wifi_acked_valid(skb)) in sock_recv_timestamp()
2779 else if (unlikely(sock_flag(sk, SOCK_TIMESTAMP))) in sock_recv_cmsgs()
[all …]
Dip.h253 if (sock_flag(&inet->sk, SOCK_LOCALROUTE) || in ip_sendmsg_scope()
Dtcp.h2281 } else if (sock_flag(sk, SOCK_URGINLINE) || in tcp_inq()
2289 if (answ && sock_flag(sk, SOCK_DONE)) in tcp_inq()
/include/net/sctp/
Dsctp.h664 return sock_flag(sk, SOCK_DEAD) || sk->sk_socket; in sctp_newsk_ready()