Changeset 6654714 for libpacketdump/libpacketdump.h
- 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
- File:
-
- 1 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
Note: See TracChangeset
for help on using the changeset viewer.