mirror of https://github.com/OpenIPC/firmware.git
12 lines
620 B
Diff
12 lines
620 B
Diff
diff -drupN a/include/linux/sock_diag.h b/include/linux/sock_diag.h
|
|
--- a/include/linux/sock_diag.h 2018-08-06 17:23:04.000000000 +0300
|
|
+++ b/include/linux/sock_diag.h 2022-06-12 05:28:14.000000000 +0300
|
|
@@ -24,6 +24,7 @@ void sock_diag_unregister(const struct s
|
|
void sock_diag_register_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
|
|
void sock_diag_unregister_inet_compat(int (*fn)(struct sk_buff *skb, struct nlmsghdr *nlh));
|
|
|
|
+u64 sock_gen_cookie(struct sock *sk);
|
|
int sock_diag_check_cookie(struct sock *sk, const __u32 *cookie);
|
|
void sock_diag_save_cookie(struct sock *sk, __u32 *cookie);
|
|
|