Changeset fc2d593 in mainline for uspace/lib/pcap/src/pcap.c


Ignore:
Timestamp:
2024-12-13T08:33:36Z (14 months ago)
Author:
Nataliia Korop <n.corop08@…>
Children:
1333dfc
Parents:
c7bd3f9e
git-author:
Nataliia Korop <n.corop08@…> (2024-05-08 13:47:52)
git-committer:
Nataliia Korop <n.corop08@…> (2024-12-13 08:33:36)
Message:

ethip/drvs can dump, default ethip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/pcap/src/pcap.c

    rc7bd3f9e rfc2d593  
    5959{
    6060        pcap_file_header_t file_header = { PCAP_MAGIC_MICRO, PCAP_MAJOR_VERSION, PCAP_MINOR_VERSION,
    61                 0x00000000, 0x00000000, (uint32_t)PCAP_SNAP_LEN, (uint32_t)PCAP_LINKTYPE_IP_RAW };
     61                0x00000000, 0x00000000, (uint32_t)PCAP_SNAP_LEN, (uint32_t)PCAP_LINKTYPE_ETHERNET };
    6262        writer->ops->write_buffer(writer, &file_header, sizeof(file_header));
    6363}
Note: See TracChangeset for help on using the changeset viewer.