diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-21 12:57:12 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-01-21 18:01:36 +0100 |
commit | 083a30b9b8fc27fff249285f3accdbff44e84b05 (patch) | |
tree | 11a55a112d7486c36eda03a995f7fdb90cd499e3 /include/bsc_data.h | |
parent | f38114eee2caae36d345691468bef8c2611e7547 (diff) |
udp: Poll SNMP for timeouts and fd every 100ms
This is the easiest way to integrate net-snmp with the event loop,
every 100ms we are going to check for timeouts or incoming messages
Diffstat (limited to 'include/bsc_data.h')
-rw-r--r-- | include/bsc_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/bsc_data.h b/include/bsc_data.h index 587afec..3311d53 100644 --- a/include/bsc_data.h +++ b/include/bsc_data.h @@ -43,6 +43,7 @@ struct snmp_mtp_session; struct mtp_udp_data { struct write_queue write_queue; struct snmp_mtp_session *session; + struct timer_list snmp_poll; struct llist_head links; }; |