Changeset fade02b
- Timestamp:
- 07/27/10 17:01:46 (11 years ago)
- 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:
- 7ab7320
- Parents:
- 235a83b
- Location:
- libpacketdump
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpacketdump/bitbuffer.c
reade363 rfade02b 17 17 bitbuffer_t ret; 18 18 bitbuffer_t mask; 19 20 char *pktptr = NULL; 19 21 20 22 /* While the buffer is not filled up and there is still … … 30 32 buffer |= (bitbuffer_t)byte << (sizeof(bitbuffer_t)*8-(bits+sizeof(byte)*8)); 31 33 /* update the position within the packet */ 32 *packet = ((char*)*packet) + 1; 34 pktptr = (char *)*packet; 35 pktptr += 1; 36 *packet = pktptr; 37 38 //*packet = ((char*)*packet) + 1; 33 39 34 40 bits += sizeof(byte)*8; -
libpacketdump/lexer.l
rc6fed13 rfade02b 3 3 HEXDIGIT [0-9A-Fa-f] 4 4 5 %option noyywrap 5 %option noyywrap 6 %option nounput 7 %option noinput 6 8 7 9 %{
Note: See TracChangeset
for help on using the changeset viewer.