Changeset View
Changeset View
Standalone View
Standalone View
sys/net/if_var.h
| Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | typedef enum { | ||||
| IFCOUNTER_IMCASTS, | IFCOUNTER_IMCASTS, | ||||
| IFCOUNTER_OMCASTS, | IFCOUNTER_OMCASTS, | ||||
| IFCOUNTER_IQDROPS, | IFCOUNTER_IQDROPS, | ||||
| IFCOUNTER_OQDROPS, | IFCOUNTER_OQDROPS, | ||||
| IFCOUNTER_NOPROTO, | IFCOUNTER_NOPROTO, | ||||
| IFCOUNTERS /* Array size. */ | IFCOUNTERS /* Array size. */ | ||||
| } ift_counter; | } ift_counter; | ||||
| typedef struct ifnet * if_t; | |||||
| typedef void (*if_start_fn_t)(if_t); | typedef void (*if_start_fn_t)(if_t); | ||||
| typedef int (*if_ioctl_fn_t)(if_t, u_long, caddr_t); | typedef int (*if_ioctl_fn_t)(if_t, u_long, caddr_t); | ||||
| typedef void (*if_init_fn_t)(void *); | typedef void (*if_init_fn_t)(void *); | ||||
| typedef void (*if_input_fn_t)(struct ifnet *, struct mbuf *); | typedef void (*if_input_fn_t)(struct ifnet *, struct mbuf *); | ||||
| typedef int (*if_output_fn_t) | typedef int (*if_output_fn_t) | ||||
| (struct ifnet *, struct mbuf *, const struct sockaddr *, struct route *); | (struct ifnet *, struct mbuf *, const struct sockaddr *, struct route *); | ||||
| typedef void (*if_qflush_fn_t)(if_t); | typedef void (*if_qflush_fn_t)(if_t); | ||||
| typedef int (*if_transmit_fn_t)(if_t, struct mbuf *); | typedef int (*if_transmit_fn_t)(if_t, struct mbuf *); | ||||
| ▲ Show 20 Lines • Show All 705 Lines • Show Last 20 Lines | |||||