|
|
| version 1.1.1.1, 2012/02/21 23:32:47 | version 1.1.1.3, 2021/03/17 00:39:23 |
|---|---|
| Line 72 | Line 72 |
| extern int NgFuncWritePppFrameLink(Link l, int proto, Mbuf bp); | extern int NgFuncWritePppFrameLink(Link l, int proto, Mbuf bp); |
| extern int NgFuncWriteFrame(int dsock, const char *hookname, const char *label, Mbuf bp); | extern int NgFuncWriteFrame(int dsock, const char *hookname, const char *label, Mbuf bp); |
| extern int NgFuncClrStats(Bund b, u_int16_t linkNum); | extern int NgFuncClrStats(Bund b, u_int16_t linkNum); |
| #ifndef NG_PPP_STATS64 | |
| extern int NgFuncGetStats(Bund b, u_int16_t linkNum, | extern int NgFuncGetStats(Bund b, u_int16_t linkNum, |
| struct ng_ppp_link_stat *s); | struct ng_ppp_link_stat *s); |
| #else | |
| extern int NgFuncGetStats64(Bund b, u_int16_t linkNum, | extern int NgFuncGetStats64(Bund b, u_int16_t linkNum, |
| struct ng_ppp_link_stat64 *s); | struct ng_ppp_link_stat64 *s); |
| #endif | |
| extern int NgFuncSendQuery(const char *path, int cookie, int cmd, | extern int NgFuncSendQuery(const char *path, int cookie, int cmd, |
| const void *args, size_t arglen, struct ng_mesg *rbuf, | const void *args, size_t arglen, struct ng_mesg *rbuf, |
| size_t replen, char *raddr); | size_t replen, char *raddr); |
| Line 90 | Line 93 |
| #ifdef USE_NG_NETFLOW | #ifdef USE_NG_NETFLOW |
| extern int NgFuncInitGlobalNetflow(void); | extern int NgFuncInitGlobalNetflow(void); |
| extern int ShowNetflow(Context ctx, int ac, const char *const av[], const void *arg); | |
| #endif | #endif |
| extern int NgFuncCreateIface(Bund b, char *buf, int max); | extern int NgFuncCreateIface(Bund b, char *buf, int max); |