aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/sock.h
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2020-06-26 13:26:48 -0400
committerDavid Teigland <teigland@redhat.com>2020-08-06 10:30:50 -0500
commit84d1c617402e7e67fc95ab2384da8dae7d1b0efe (patch)
tree34727011f296c2bca6274c00519c85e56e32e422 /include/net/sock.h
parent0ffddafc3a3970ef7013696e7f36b3d378bc4c16 (diff)
downloadlinux-84d1c617402e7e67fc95ab2384da8dae7d1b0efe.tar.gz
net: sock: add sock_set_mark
This patch adds a new socket helper function to set the mark value for a kernel socket. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'include/net/sock.h')
-rw-r--r--include/net/sock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index c53cc42b5ab92d..591dd3f12dbb1e 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -2696,6 +2696,7 @@ void sock_no_linger(struct sock *sk);
void sock_set_keepalive(struct sock *sk);
void sock_set_priority(struct sock *sk, u32 priority);
void sock_set_rcvbuf(struct sock *sk, int val);
+void sock_set_mark(struct sock *sk, u32 val);
void sock_set_reuseaddr(struct sock *sk);
void sock_set_reuseport(struct sock *sk);
void sock_set_sndtimeo(struct sock *sk, s64 secs);