diff options
Diffstat (limited to 'sys/net/if_var.h')
| -rw-r--r-- | sys/net/if_var.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 7ffb06e6ae52..c9e50a880724 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -70,6 +70,7 @@ struct route; /* if_output */ struct vnet; struct ifmedia; struct netmap_adapter; +struct netdump_methods; #ifdef _KERNEL #include <sys/mbuf.h> /* ifqueue only? */ @@ -369,6 +370,11 @@ struct ifnet { uint8_t if_pcp; /* + * Netdump hooks to be called while dumping. + */ + struct netdump_methods *if_netdump_methods; + + /* * Spare fields to be added before branching a stable branch, so * that structure can be enhanced without changing the kernel * binary interface. |
