Ignore:
Timestamp:
08/18/06 17:51:32 (15 years ago)
Author:
Perry Lorier <perry@…>
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:
b3a76bf
Parents:
7ecfe7f
Message:

New automake infrastructure
Moved a lot of C++ libpacketdump parsers to C (they weren't using any C++ features and it makes automake happier)

File:
1 moved

Legend:

Unmodified
Added
Removed
  • libpacketdump/eth_2054.c

    r4e65f42 r0a22046  
    2929        static char buffer[1024];
    3030        char ether_buf[18] = {0, };
     31        int i;
     32
    3133        if (hrd==NULL)
    3234                return "Truncated (Truncated)";
     
    3739                        break;
    3840                default:
    39                         int i;
    4041                        for (i=0;i<arp->ar_hln;i++) {
    4142                                snprintf(buffer,sizeof(buffer),"%s %02x",
     
    5354                        break;
    5455                default:
    55                         int i;
    5656                        strncat(buffer," (",sizeof(buffer));
    5757                        for (i=0;i<arp->ar_pln;i++) {
     
    6565}
    6666
    67 extern "C"
    6867void decode(int link_type,char *packet,int len)
    6968{
Note: See TracChangeset for help on using the changeset viewer.