aboutgitcodebugslistschat
path: root/port_fwd.h
blob: b938022883570a16483912ce1bef6f91b4b97b73 (plain) (tree)


















                                                          
/* SPDX-License-Identifier: AGPL-3.0-or-later
 * Copyright Red Hat
 * Author: Stefano Brivio <sbrivio@redhat.com>
 * Author: David Gibson <david@gibson.dropbear.id.au>
 */

#ifndef PORT_FWD_H
#define PORT_FWD_H

enum port_fwd_mode {
	FWD_SPEC = 1,
	FWD_NONE,
	FWD_AUTO,
	FWD_ALL,
};

#define PORT_BITMAP_SIZE	DIV_ROUND_UP(USHRT_MAX, 8)

#endif /* PORT_FWD_H */