Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
netport.c File Reference
#include <linux/types.h>
#include <linux/rcupdate.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/spinlock.h>
#include <linux/in.h>
#include <linux/in6.h>
#include <linux/ip.h>
#include <linux/ipv6.h>
#include <net/ip.h>
#include <net/ipv6.h>
#include "netport.h"
#include "objsec.h"

Go to the source code of this file.

Data Structures

struct  sel_netport_bkt
 
struct  sel_netport
 

Macros

#define SEL_NETPORT_HASH_SIZE   256
 
#define SEL_NETPORT_HASH_BKT_LIMIT   16
 

Functions

int sel_netport_sid (u8 protocol, u16 pnum, u32 *sid)
 
 __initcall (sel_netport_init)
 

Macro Definition Documentation

#define SEL_NETPORT_HASH_BKT_LIMIT   16

Definition at line 46 of file netport.c.

#define SEL_NETPORT_HASH_SIZE   256

Definition at line 45 of file netport.c.

Function Documentation

__initcall ( sel_netport_init  )
int sel_netport_sid ( u8  protocol,
u16  pnum,
u32 sid 
)

Definition at line 197 of file netport.c.