Changeset 3a4c6d9 in mainline for uspace/lib/nic/include


Ignore:
Timestamp:
2025-11-14T16:58:23Z (8 weeks ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master
Children:
1ec732a, 43ef144, 7101dfb, e998d98
Parents:
d101368
git-author:
Nataliia Korop <n.corop08@…> (2025-11-14 16:57:02)
git-committer:
Jiri Svoboda <jiri@…> (2025-11-14 16:58:23)
Message:

Packet capture (thx Nataliia Korop)

Location:
uspace/lib/nic/include
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/nic/include/nic.h

    rd101368 r3a4c6d9  
    4444#include <device/hw_res_parsed.h>
    4545#include <ops/nic.h>
     46#include <pcap_dumper.h>
    4647
    4748#define DEVICE_CATEGORY_NIC "nic"
     
    278279extern void nic_sw_period_stop(nic_t *);
    279280
     281/* pcapdump interface */
     282extern pcap_dumper_t *nic_get_pcap_dumper(nic_t *);
     283
     284extern errno_t nic_fun_add_to_cats(ddf_fun_t *fun);
     285
    280286#endif // __NIC_H__
    281287
  • uspace/lib/nic/include/nic_driver.h

    rd101368 r3a4c6d9  
    4646#include <nic/nic.h>
    4747#include <async.h>
     48#include <pcapdump_srv.h>
    4849
    4950#include "nic.h"
     
    195196         */
    196197        poll_request_handler on_poll_request;
     198
     199        /** Packets dumper. */
     200        pcap_dumper_t dumper;
     201
    197202        /** Data specific for particular driver */
    198203        void *specific;
  • uspace/lib/nic/include/nic_impl.h

    rd101368 r3a4c6d9  
    8787extern void nic_close_impl(ddf_fun_t *fun);
    8888
    89 extern void nic_device_added_impl(ddf_dev_t *dev);
    90 
    9189#endif
    9290
Note: See TracChangeset for help on using the changeset viewer.