diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2019-10-03 23:56:37 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-10-05 00:26:03 +0300 |
commit | 193d357d087309f2d5ab8e8caab1af5e3bc29fa0 (patch) | |
tree | 4334ad2727fd3ff9296afefce1d18a7e6946418a /include/net/sock.h | |
parent | d6547f2a2cfc8b145b59291d3e4b072891f34882 (diff) | |
download | linux-193d357d087309f2d5ab8e8caab1af5e3bc29fa0.tar.xz |
net: spread "enum sock_flags"
Some ints are "enum sock_flags" in fact.
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r-- | include/net/sock.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 2c53f1a1d905..ab905c4b1f0e 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -2512,7 +2512,7 @@ static inline bool sk_listener(const struct sock *sk) return (1 << sk->sk_state) & (TCPF_LISTEN | TCPF_NEW_SYN_RECV); } -void sock_enable_timestamp(struct sock *sk, int flag); +void sock_enable_timestamp(struct sock *sk, enum sock_flags flag); int sock_recv_errqueue(struct sock *sk, struct msghdr *msg, int len, int level, int type); |