*/
#ifndef _NET_FLOWADV_H_
-#define _NET_FLOWADV_H_
+#define _NET_FLOWADV_H_
#ifdef KERNEL_PRIVATE
#include <sys/types.h>
#include <sys/queue.h>
-#define FADV_SUCCESS 0 /* success */
-#define FADV_FLOW_CONTROLLED 1 /* regular flow control */
-#define FADV_SUSPENDED 2 /* flow control due to suspension */
+#define FADV_SUCCESS 0 /* success */
+#define FADV_FLOW_CONTROLLED 1 /* regular flow control */
+#define FADV_SUSPENDED 2 /* flow control due to suspension */
struct flowadv {
- int32_t code; /* FADV advisory code */
+ int32_t code; /* FADV advisory code */
};
#ifdef BSD_KERNEL_PRIVATE
struct flowadv_fcentry {
STAILQ_ENTRY(flowadv_fcentry) fce_link;
- u_int32_t fce_flowsrc_type; /* FLOWSRC values */
- u_int32_t fce_flowid;
+ u_int32_t fce_flowsrc_type; /* FLOWSRC values */
+ u_int32_t fce_flowid;
};
STAILQ_HEAD(flowadv_fclist, flowadv_fcentry);