Changeset c042b5c
- Timestamp:
- 05/01/06 20:37:49 (15 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:
- 8c747709
- Parents:
- 51c83a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/format_linux.c
r51c83a4 rc042b5c 258 258 259 259 static libtrace_linktype_t linuxnative_get_link_type(const struct libtrace_packet_t *packet) { 260 int linktype= htons((((struct libtrace_linuxnative_header*)(packet->buffer))261 ->hdr.sll_hatype) );260 int linktype=(((struct libtrace_linuxnative_header*)(packet->buffer)) 261 ->hdr.sll_hatype); 262 262 switch (linktype) { 263 263 case ARPHRD_ETHER:
Note: See TracChangeset
for help on using the changeset viewer.