commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
20 lines
432 B
C
20 lines
432 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
|
|
*/
|
|
|
|
#ifndef _WG_RATELIMITER_H
|
|
#define _WG_RATELIMITER_H
|
|
|
|
#include <linux/skbuff.h>
|
|
|
|
int wg_ratelimiter_init(void);
|
|
void wg_ratelimiter_uninit(void);
|
|
bool wg_ratelimiter_allow(struct sk_buff *skb, struct net *net);
|
|
|
|
#ifdef DEBUG
|
|
bool wg_ratelimiter_selftest(void);
|
|
#endif
|
|
|
|
#endif /* _WG_RATELIMITER_H */
|