aboutgitcodelistschat:MatrixIRC
path: root/debug/disasm.h
blob: c3e3ad941d50384708e4baa72eba8c73b78d6eb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* SPDX-License-Identifier: GPL-3.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