Find Jobs
Hire Freelancers

To create a proc file /proc/pkt_cntr

$10-30 USD

Cancelled
Posted almost 6 years ago

$10-30 USD

Paid on delivery
Use a module to create a proc file /proc/pkt_cntr which periodically reports on the number of incoming packets, outgoing packets, merges of input_pkt_queue with process_queue of softnet_data, where a merge takes place when the number of packets processed off of process_queue is over quota () or /proc/sys/net/core/netdev_budget. See process_backlog for quota and the merge process. enque, dequeue, and requeue cycles, where the packet(s) are requeued for softirq to try at a later time. Use softnet_data->input_pkt_queue to count incoming packets. Use softnet_data->output_queue to count outgoing packets. When counting, traverse the skbh list. Do not use qlen. Include your code in the tgz file to show that you actually traversed the list to count the number of packets. Report the numbers periodically. Open a browser and visit some sites to increase the packet traffic for a few minutes. You will need some significant net activities to generate a visible number of packets. Simple surfing may not generate visible packet traffic. Consider using ab (apache bench to generate traffic) or write a pair of client/server programs to simulate sending/receiving packets.
Project ID: 16739442

About the project

Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of UNITED STATES
Kearny, United States
5.0
2
Payment method verified
Member since Apr 19, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.