/* * netsniff-ng - the packet sniffing beast * Copyright (C) 2009, 2010 Daniel Borkmann * Copyright (C) 2012 Christoph Jaeger * Subject to the GPL, version 2. */ #ifndef PROTO_H #define PROTO_H #include #include #include "hash.h" #include "tprintf.h" struct pkt_buff; struct protocol { /* Needs to be filled out by user */ unsigned int key; void (*print_full)(struct pkt_buff *pkt); void (*print_less)(struct pkt_buff *pkt); /* Used by program logic */ struct protocol *next; void (*process) (struct pkt_buff *pkt); }; extern void empty(struct pkt_buff *pkt); extern void hex(struct pkt_buff *pkt); extern void ascii(struct pkt_buff *pkt); extern void hex_ascii(struct pkt_buff *pkt); #endif /* PROTO_H */ '>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
ModeNameSize
-rw-r--r--Makefile553logplain
-rw-r--r--emu10k1.c8791logplain
-rw-r--r--emu10k1_callback.c14646logplain
-rw-r--r--emu10k1_main.c69872logplain
-rw-r--r--emu10k1_patch.c6273logplain
-rw-r--r--emu10k1_synth.c3161logplain
-rw-r--r--emu10k1_synth_local.h1535logplain
-rw-r--r--emu10k1x.c48876logplain
-rw-r--r--emufx.c101572logplain
-rw-r--r--emumixer.c68824logplain
-rw-r--r--emumpu401.c11428logplain
-rw-r--r--emupcm.c58692logplain
-rw-r--r--emuproc.c21057logplain
-rw-r--r--io.c16190logplain
-rw-r--r--irq.c6754logplain
-rw-r--r--memory.c16163logplain
-rw-r--r--p16v.c29109logplain
-rw-r--r--p16v.h14922logplain