Changeset 87b490e3 in mainline for uspace/lib/pcap/src/pcap.c
- Timestamp:
- 2024-12-13T08:44:05Z (15 months ago)
- Children:
- 420b13d
- Parents:
- fb31682
- git-author:
- Nataliia Korop <n.corop08@…> (2024-11-30 19:08:32)
- git-committer:
- Nataliia Korop <n.corop08@…> (2024-12-13 08:44:05)
- File:
-
- 1 edited
-
uspace/lib/pcap/src/pcap.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/pcap/src/pcap.c
rfb31682 r87b490e3 1 1 /* 2 * Copyright (c) 202 3Nataliia Korop2 * Copyright (c) 2024 Nataliia Korop 3 3 * All rights reserved. 4 4 * … … 53 53 /** Add pcap file header to the new .pcap file. 54 54 * 55 * @param writer writer that has destination buffer and ops to write to destination buffer. 56 * 55 * @param writer Writer that has destination buffer and ops to write to destination buffer. 56 * @param linktype Linktype for the file header. 57 * @param nano True for nanoseconds, false for microseconds in timestamp. 57 58 */ 58 59 void pcap_writer_add_header(pcap_writer_t *writer, uint32_t linktype, bool nano) … … 69 70 /** Add packet to the .pcap file. 70 71 * 71 * @param writer 72 * @param captured_packet Packet to be dumped73 * @param size Size of the captured packet72 * @param writer Writer that has destination buffer and ops to write to destination buffer. 73 * @param captured_packet Packet to be dumped 74 * @param size Size of the captured packet 74 75 * 75 76 */
Note:
See TracChangeset
for help on using the changeset viewer.
