Changeset 503ce85 in mainline for uspace/lib/nic/src/nic_impl.c
- Timestamp:
- 2025-08-03T09:03:10Z (7 months ago)
- Children:
- adbd7e1
- Parents:
- 5caad1d (diff), 46e2152 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
uspace/lib/nic/src/nic_impl.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/nic/src/nic_impl.c
r5caad1d r503ce85 40 40 #include <ipc/services.h> 41 41 #include <ns.h> 42 #include <pcapdump_drv_iface.h> 42 43 #include "nic_driver.h" 43 44 #include "nic_ev.h" … … 179 180 return EBUSY; 180 181 } 181 182 pcapdump_packet(nic_get_pcap_dumper(nic_data), data, size); 182 183 nic_data->send_frame(nic_data, data, size); 183 184 fibril_rwlock_read_unlock(&nic_data->main_lock); … … 843 844 } 844 845 846 errno_t nic_fun_add_to_cats(ddf_fun_t *fun) 847 { 848 errno_t rc; 849 rc = ddf_fun_add_to_category(fun, DEVICE_CATEGORY_NIC); 850 if (rc != EOK) 851 return rc; 852 853 rc = ddf_fun_add_to_category(fun, "pcap"); 854 if (rc != EOK) { 855 return rc; 856 } 857 return EOK; 858 } 859 845 860 /** @} 846 861 */
Note:
See TracChangeset
for help on using the changeset viewer.
