Go to the source code of this file.
| Defines | |
| #define | BIG 0 | 
| #define | LITTLE 1 | 
| #define | PARSELEN 10 | 
| Functions | |
| int | string_extract (int bytes_to_grab, int base, u_int8_t *ptr, u_int8_t *start, u_int8_t *end, u_int32_t *value) | 
| int | byte_extract (int endianess, int bytes_to_grab, u_int8_t *ptr, u_int8_t *start, u_int8_t *end, u_int32_t *value) | 
| 
 | 
| 
 Definition at line 4 of file byte_extract.h. Referenced by byte_extract(), ByteJumpParse(), and ByteTestParse(). | 
| 
 | 
| 
 Definition at line 5 of file byte_extract.h. Referenced by byte_extract(), ByteJumpParse(), and ByteTestParse(). | 
| 
 | 
| 
 Definition at line 7 of file byte_extract.h. Referenced by ByteJumpParse(), and ByteTestParse(). | 
| 
 | ||||||||||||||||||||||||||||
| Grab a binary representation of data from a buffer This method will read either a big or little endian value in binary data from the packet and return an u_int32_t value. 
 
 
 Definition at line 52 of file byte_extract.c. References BIG, inBounds(), and LITTLE. Referenced by ByteJump(), and ByteTest(). | 
| 
 | ||||||||||||||||||||||||||||
| Grab a string representation of data from a buffer 
 
 
 Definition at line 129 of file byte_extract.c. References inBounds(), strtoul(), and TEXTLEN. Referenced by ByteJump(), and ByteTest(). | 
 1.4.2
 1.4.2