Changeset 6654714 for libpacketdump
- Timestamp:
- 11/15/17 11:59:35 (3 years ago)
- Branches:
- cachetimestamps, develop, dpdk-ndag, etsilive, master, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance
- Children:
- 9993cde
- Parents:
- e844ff2
- Location:
- libpacketdump
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpacketdump/libpacketdump.h
ree6e802 r6654714 47 47 #define DISPLAYS(hdr,x,fmt) DISPLAY_EXP(hdr,x,fmt,htons(hdr->x)) 48 48 #define DISPLAYL(hdr,x,fmt) DISPLAY_EXP(hdr,x,fmt,htonl(hdr->x)) 49 #define DISPLAYIP(hdr,x,fmt) DISPLAY_EXP(hdr,x,fmt,inet_ntoa(*(struct in_addr*) &hdr->x))49 #define DISPLAYIP(hdr,x,fmt) DISPLAY_EXP(hdr,x,fmt,inet_ntoa(*(struct in_addr*)(void *)(&hdr->x))) 50 50 51 51 -
libpacketdump/link_15.c
ree6e802 r6654714 69 69 70 70 /* Check for extended bitmasks */ 71 ptr = (uint32_t *) &(rtap->it_present);71 ptr = (uint32_t *) (char *)(&(rtap->it_present)); 72 72 73 73 if ( (rtap_pres) & (1 << TRACE_RADIOTAP_EXT) )
Note: See TracChangeset
for help on using the changeset viewer.