Changeset e3b0188 for libpacketdump


Ignore:
Timestamp:
11/07/05 10:06:22 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
5843707
Parents:
130a0e4
Message:

a lot of changes for cross-compilation support

  • header ordering
  • os-specific headers
  • an lt_inttypes.h which defines PRIu64 etc for platforms that don't have them
  • removed daglegacy.h, merged with dagformat.h
Location:
libpacketdump
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpacketdump/ip_17.cc

    r010fafb re3b0188  
    44#include <map>
    55#include "libpacketdump.h"
     6#include "libtrace.h"
    67#include <netinet/udp.h>
    78#include <netinet/in.h>
     
    2829void decode(int link_type,char *packet,int len)
    2930{
    30         struct udphdr *udp = (struct udphdr*)packet;
     31        struct libtrace_udp *udp = (struct libtrace_udp*)packet;
    3132        printf(" UDP:");
    3233        if (SAFE(source)) {
  • libpacketdump/libpacketdump.cc

    r41b53c2 re3b0188  
    88#include <stdlib.h>
    99#include <getopt.h>
     10
     11#include <sys/socket.h>
    1012
    1113#ifdef HAVE_NETINET_ETHER
Note: See TracChangeset for help on using the changeset viewer.