📄 cardif_freebsd.h
字号:
/******************************************************************* * * Licensed under a dual GPL/BSD license. (See LICENSE file for more info.) * * File: cardif_freebsd.c * * Authors: Fernando Schapachnik <fernando@mecon.gov.ar>, based * on the work of Ivan Voras <ivoras@fer.hr> and the Linux version by * Chris.Hessing@utah.edu. * *******************************************************************/#ifndef _CARDIF_FREEBSD_H_#define _CARDIF_FREEBSD_H_#include <sys/types.h>#include <netinet/in.h>#include <net/if_dl.h>// We need a couple of pieces of data to make use of this interface.// Define them here.struct fbsd_sock_data { int sockInt; int bpf; // bpf handle char *buf; int buf_size; struct sockaddr_dl sdl;};#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -