FreeBSD kernel IPv4 code
|
#include <sys/cdefs.h>
#include "opt_inet.h"
#include "opt_inet6.h"
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
#include <sys/lock.h>
#include <sys/mutex.h>
#include <sys/proc.h>
#include <sys/socket.h>
#include <sys/jail.h>
#include <netinet/in.h>
#include <netinet/in_pcb.h>
#include <netinet/in_systm.h>
#include <security/audit/audit.h>
#include <security/mac/mac_framework.h>
Go to the source code of this file.
Functions | |
__FBSDID ("$FreeBSD$") | |
int | cr_canseeinpcb (struct ucred *cred, struct inpcb *inp) |
__FBSDID | ( | "$FreeBSD$" | ) |
int cr_canseeinpcb | ( | struct ucred * | cred, |
struct inpcb * | inp | ||
) |
Definition at line 59 of file in_prot.c.
References inpcb::inp_cred, and INP_LOCK_ASSERT.
Referenced by rip_pcblist(), tcp_pcblist(), and udp_pcblist().