/* SPDX-License-Identifier: GPL-2.0-only */1/*2* Network node table3*4* SELinux must keep a mapping of network nodes to labels/SIDs. This5* mapping is maintained as part of the normal policy but a fast cache is6* needed to reduce the lookup overhead since most of these queries happen on7* a per-packet basis.8*9* Author: Paul Moore <[email protected]>10*/1112/*13* (c) Copyright Hewlett-Packard Development Company, L.P., 200714*/1516#ifndef _SELINUX_NETNODE_H17#define _SELINUX_NETNODE_H1819#include <linux/types.h>2021void sel_netnode_flush(void);2223int sel_netnode_sid(const void *addr, u16 family, u32 *sid);2425#endif262728