|
The Assimilation Monitoring Project
|
functions for handling standard client incoming packet dispatch. More...
#include <projectcommon.h>#include <memory.h>#include <switchdiscovery.h>#include <lldp.h>#include <cdp.h>#include <fsprotocol.h>
Go to the source code of this file.
Data Structures | |
| struct | _SwitchDiscoveryType |
Typedefs | |
| typedef struct _SwitchDiscoveryType | SwitchDiscoveryType |
Functions | |
| FSTATIC gboolean | _switchdiscovery_discover (Discovery *self) |
| Discover member function for timed discovery – not applicable – return FALSE. More... | |
| FSTATIC void | _switchdiscovery_finalize (AssimObj *dself) |
| finalize a SwitchDiscovery object More... | |
| FSTATIC gboolean | _switchdiscovery_cache_info (SwitchDiscovery *self,gconstpointer pkt,gconstpointer pktend) |
| FSTATIC gboolean | _switchdiscovery_dispatch (GSource_pcap_t *gsource,pcap_t *capstruct,gconstpointer pkt,gconstpointer pend,const struct pcap_pkthdr *pkthdr,const char *capturedev,gpointer selfptr) |
| Internal pcap gsource dispatch routine - called when we get a packet. More... | |
| SwitchDiscovery * | switchdiscovery_new (const char *instance, const char *dev, guint listenmask, gint priority, GMainContext *mcontext, NetGSource *iosrc, ConfigContext *config, gsize objsize) |
| SwitchDiscovery constructor. More... | |
functions for handling standard client incoming packet dispatch.
It passes off incoming packets to the appropriate functions.
This file is part of the Assimilation Project.
The Assimilation software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with the Assimilation Project software. If not, see http://www.gnu.org/licenses/
Definition in file switchdiscovery.c.