Changeset 11c0f44 for lib/protocols_l3.c


Ignore:
Timestamp:
06/18/08 11:06:45 (13 years ago)
Author:
Shane Alcock <salcock@…>
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:
41c254d
Parents:
c5f3398
Message:
  • Added support for skipping past PPPoE headers when calling trace_get_layer3
  • Fixed byte order issues in the libpacketdump PPPoE decoder
  • Fixed PPP header definition to match the RFC definition
File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/protocols_l3.c

    r3a87f4f r11c0f44  
    153153        for(;;) {
    154154                if (!iphdr || *remaining == 0)
    155                         return NULL;
     155                        break;
    156156                switch(*ethertype) {
    157157                case 0x8100: /* VLAN */
     
    167167                                                iphdr,ethertype,remaining);
    168168                        }
     169                        continue;
     170                case 0x8864: /* PPPoE */
     171                        iphdr = trace_get_payload_from_pppoe(iphdr, ethertype,
     172                                        remaining);
    169173                        continue;
    170174                default:
Note: See TracChangeset for help on using the changeset viewer.