Changes in / [f2cb80a:90ba06c] in mainline


Ignore:
Files:
13 deleted
11 edited

Legend:

Unmodified
Added
Removed
  • abi/include/abi/ipc/interfaces.h

    rf2cb80a r90ba06c  
    201201        INTERFACE_WNDMGT_CB =
    202202            FOURCC_COMPACT('w', 'm', 'g', 't') | IFACE_EXCHANGE_SERIALIZE | IFACE_MOD_CALLBACK,
    203         INTERFACE_PCAP_CONTROL =
    204             FOURCC_COMPACT('p', 'c', 't', 'l') | IFACE_EXCHANGE_SERIALIZE,
    205203} iface_t;
    206204
  • uspace/app/meson.build

    rf2cb80a r90ba06c  
    7272        'nic',
    7373        'nterm',
    74         'pcapctl',
    7574        'ofw',
    7675        'pci',
  • uspace/drv/nic/e1k/e1k.c

    rf2cb80a r90ba06c  
    5151#include "e1k.h"
    5252
    53 #include "pcapdump_iface.h"
    54 #include "pcap_iface.h"
    5553#define NAME  "e1k"
    5654
     
    176174        /** Lock for EEPROM access */
    177175        fibril_mutex_t eeprom_lock;
    178 
    179176} e1000_t;
    180177
     
    11921189                if (frame != NULL) {
    11931190                        memcpy(frame->data, e1000->rx_frame_virt[next_tail], frame_size);
    1194                         pcapdump_packet(nic_get_pcap_iface(nic), frame->data, frame->size);
    1195 
    11961191                        nic_received_frame(nic, frame);
    11971192                } else {
     
    22082203                goto err_add_to_cat;
    22092204
    2210         errno_t pcap_rc  = pcapdump_init(nic_get_pcap_iface(nic));
    2211 
    2212         if (pcap_rc != EOK) {
    2213                 printf("Failed creating pcapdump port\n");
    2214         }
    2215         rc = ddf_fun_add_to_category(fun, "pcap");
    2216         if (rc != EOK)
    2217                 goto err_add_to_cat;
    2218 
    22192205        return EOK;
    22202206
     
    23802366
    23812367        memcpy(e1000->tx_frame_virt[tdt], data, size);
    2382         pcapdump_packet(nic_get_pcap_iface(nic), data, size);
     2368
    23832369        tx_descriptor_addr->phys_addr = PTR_TO_U64(e1000->tx_frame_phys[tdt]);
    23842370        tx_descriptor_addr->length = size;
  • uspace/drv/nic/e1k/meson.build

    rf2cb80a r90ba06c  
    2727#
    2828
    29 deps = [ 'nic' , 'pcap' ]
     29deps = [ 'nic' ]
    3030src = files('e1k.c')
  • uspace/lib/c/include/ipc/services.h

    rf2cb80a r90ba06c  
    6767#define SERVICE_NAME_VBD      "vbd"
    6868#define SERVICE_NAME_VOLSRV   "volsrv"
    69 #define SERVICE_NAME_DUMPPCAP "dumppcap"
     69
    7070#endif
    7171
  • uspace/lib/meson.build

    rf2cb80a r90ba06c  
    7878        'minix',
    7979        'nettl',
    80         'pcap',
    8180        'ofw',
    8281        'pcm',
  • uspace/lib/nic/include/nic.h

    rf2cb80a r90ba06c  
    4444#include <device/hw_res_parsed.h>
    4545#include <ops/nic.h>
    46 
    47 #include "pcap_iface.h"
    4846
    4947#define DEVICE_CATEGORY_NIC "nic"
     
    280278extern void nic_sw_period_stop(nic_t *);
    281279
    282 /* pcapdump interface */
    283 extern pcap_iface_t *nic_get_pcap_iface(nic_t *);
    284 
    285280#endif // __NIC_H__
    286281
  • uspace/lib/nic/include/nic_driver.h

    rf2cb80a r90ba06c  
    5050#include "nic_rx_control.h"
    5151#include "nic_wol_virtues.h"
    52 #include "pcap/include/pcapdump_iface.h"
    5352
    5453struct sw_poll_info {
     
    196195         */
    197196        poll_request_handler on_poll_request;
    198 
    199         /** Interface for dumping packets */
    200         pcap_iface_t pcapdump;
    201 
    202197        /** Data specific for particular driver */
    203198        void *specific;
  • uspace/lib/nic/meson.build

    rf2cb80a r90ba06c  
    2727#
    2828
    29 deps = [ 'drv' , 'pcap' ]
     29deps = [ 'drv' ]
    3030c_args = [ '-DLIBNIC_INTERNAL', ]
    3131src = files(
  • uspace/lib/nic/src/nic_driver.c

    rf2cb80a r90ba06c  
    11331133}
    11341134
    1135 pcap_iface_t *nic_get_pcap_iface(nic_t *nic_data)
    1136 {
    1137         return &nic_data->pcapdump;
    1138 }
    1139 
    11401135/** @}
    11411136 */
  • uspace/srv/locsrv/locsrv.c

    rf2cb80a r90ba06c  
    13901390        categ_dir_add_cat(&cdir, cat);
    13911391
    1392         cat = category_new("pcap");
    1393         categ_dir_add_cat(&cdir, cat);
    13941392        return true;
    13951393}
Note: See TracChangeset for help on using the changeset viewer.