linux/drivers/net/wireguard/queueing.c

// SPDX-License-Identifier: GPL-2.0
/*
 * Copyright (C) 2015-2019 Jason A. Donenfeld <[email protected]>. All Rights Reserved.
 */

#include "queueing.h"
#include <linux/skb_array.h>

struct multicore_worker __percpu *
wg_packet_percpu_multicore_worker_alloc(work_func_t function, void *ptr)
{}

int wg_packet_queue_init(struct crypt_queue *queue, work_func_t function,
			 unsigned int len)
{}

void wg_packet_queue_free(struct crypt_queue *queue, bool purge)
{}

#define NEXT
#define STUB

void wg_prev_queue_init(struct prev_queue *queue)
{}

static void __wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb)
{}

bool wg_prev_queue_enqueue(struct prev_queue *queue, struct sk_buff *skb)
{}

struct sk_buff *wg_prev_queue_dequeue(struct prev_queue *queue)
{}

#undef NEXT
#undef STUB