|
|
| version 1.1.1.3, 2016/11/01 09:56:12 | version 1.1.1.5, 2021/03/17 00:39:23 |
|---|---|
| Line 13 | Line 13 |
| #include <sys/types.h> | #include <sys/types.h> |
| #include <sys/time.h> | #include <sys/time.h> |
| #include <sys/ioctl.h> | #include <sys/ioctl.h> |
| #include <net/if.h> | |
| #include <net/if_dl.h> | #include <net/if_dl.h> |
| #include <net/bpf.h> | #include <net/bpf.h> |
| #include <netinet/ip.h> | #include <netinet/ip.h> |
| Line 107 | Line 108 |
| u_char traffic[IFACE_IDLE_SPLIT]; /* Mark any traffic */ | u_char traffic[IFACE_IDLE_SPLIT]; /* Mark any traffic */ |
| u_short mtu; /* Interface MTU */ | u_short mtu; /* Interface MTU */ |
| u_short max_mtu; /* Configured maximum MTU */ | u_short max_mtu; /* Configured maximum MTU */ |
| u_short mtu_override; /* Configured MTU override */ | |
| struct optinfo options; /* Configuration options */ | struct optinfo options; /* Configuration options */ |
| u_int idle_timeout; /* Idle timeout */ | u_int idle_timeout; /* Idle timeout */ |
| u_int session_timeout; /* Session timeout */ | u_int session_timeout; /* Session timeout */ |
| Line 195 | Line 197 |
| extern void IfaceIpv6IfaceDown(Bund b); | extern void IfaceIpv6IfaceDown(Bund b); |
| extern void IfaceUp(Bund b, int ready); | extern void IfaceUp(Bund b, int ready); |
| extern void IfaceDown(Bund b); | extern void IfaceDown(Bund b); |
| extern int IfaceStat(Context ctx, int ac, char *av[], void *arg); | extern int IfaceStat(Context ctx, int ac, const char *const av[], const void *arg); |
| extern void IfaceListenInput(Bund b, int proto, Mbuf pkt); | extern void IfaceListenInput(Bund b, int proto, Mbuf pkt); |
| #ifndef USE_NG_TCPMSS | #ifndef USE_NG_TCPMSS |