aboutgitcodelistschat:MatrixIRC
path: root/debug/disasm.h
blob: f31cd56e720e86a5af8c8d11b982f78db09793b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-2.0-or-later
 * Copyright 2023 Red Hat GmbH
 * Author: Alice Frosi <afrosi@redhat.com>
 */

#ifndef DISASM_H_
#define DISASM_H_

#define SIZE_FILTER 1024

void bpf_disasm(const struct sock_filter f, unsigned int i);
void bpf_disasm_all(const struct sock_filter *f, unsigned int len);

#endif