- Test m_pkthdr.fw_flags against DUMMYNET_MBUF_TAGGED before trying to locate
[dragonfly/netmp.git] / sys / sys / resident.h
blob5b79bcca48a309f84034b47f488ccbe8533c5da0
1 /*
2 * SYS/RESIDENT.H
4 * Userland system calls for resident executable support.
6 * $DragonFly: src/sys/sys/resident.h,v 1.4 2006/05/20 02:42:13 dillon Exp $
7 */
9 #ifndef _SYS_RESIDENT_H_
10 #define _SYS_RESIDENT_H_
12 #ifndef _SYS_TYPES_H_
13 #include <sys/types.h>
14 #endif
15 #ifndef _SYS_PARAM_H_
16 #include <sys/param.h>
17 #endif
18 #ifndef _SYS_STAT_H_
19 #include <sys/stat.h>
20 #endif
22 #if !defined(_KERNEL)
24 int exec_sys_register(void *);
25 int exec_sys_unregister(int);
27 #endif
29 struct stat;
30 /* structure exported via sysctl 'vm.resident' for userland */
31 struct xresident {
32 intptr_t res_entry_addr;
33 int res_id;
34 char res_file[MAXPATHLEN];
35 struct stat res_stat;
38 #endif