source: libpacketdump/link_11.c @ 09d3bef

4.0.1-hotfixescachetimestampsdevelopdpdk-ndagetsilivegetfragoffhelplibtrace4ndag_formatpfringrc-4.0.1rc-4.0.2rc-4.0.3rc-4.0.4ringdecrementfixringperformanceringtimestampfixes
Last change on this file since 09d3bef was 09d3bef, checked in by Perry Lorier <perry@…>, 15 years ago

Renamed to .c

  • Property mode set to 100644
File size: 339 bytes
Line 
1#include <netinet/in.h>
2#include <stdio.h>
3#include <inttypes.h>
4#include <dlfcn.h>
5#include "libpacketdump.h"
6
7void decode(int link_type,char *packet,int len)
8{
9        // Ethernet - just raw ethernet frames
10        printf(" Legacy: ");
11        if (len>=10) {
12                decode_next(packet,len,"link",2);
13        }
14        else {
15                printf("[|Truncated]\n");
16                return;
17        }
18        return;
19}
Note: See TracBrowser for help on using the repository browser.