Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6240141
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T11:30:50+00:00 2026-05-24T11:30:50+00:00

I am trying to send packets from one machine to another using tcpreplay and

  • 0

I am trying to send packets from one machine to another using tcpreplay and tcpdump.

If I write a driver for capturing packets directly from the NIC, which path will be followed?

1) N/w packet —-> NIC card —-> app (no role of kernel)

2) N/w packet —–> Kernel —–> NIC card —> app

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T11:30:51+00:00Added an answer on May 24, 2026 at 11:30 am

    It’s usually in this order:

    • NIC hardware gets the electrical signal, hardware updates some of its registers and buffers, which are usually mapped into computer physical memory
    • Hardware activates the IRQ line
    • Kernel traps into interrupt-handling routine and invokes the driver IRQ handling function
    • The driver figures out whether this is for RX or TX
    • For RX the driver sets up DMA from NIC hardware buffers into kernel memory reserved for network buffers
    • The driver notifies upper-layer kernel network stack that input is available
    • Network stack input routine figures out the protocol, optionally does filtering, and whether it has an application interested in this input, and if so, buffers packet for application processing, and if a process is blocked waiting on the input the kernel marks it as runnable
    • At some point kernel scheduler puts that process on a CPU and resumes is, application consumes network input

    Then there are deviations from this model, but those are special cases for particular hardware/OS. One vendor that does user-land-direct-to-hardware stuff is Solarflare, there are others.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Since I am trying to send some packets within my home from one PC
I am trying to send audio file from one computer to other using socket
For a project, I'm trying to send UDP packets from Linux kernel-space. I'm currently
I've got a problem trying to send a request using QNetworkAccessManager from a QObject
Im trying to continuously send small UDP-packets (8 byte) as fast as possible from
I am trying to send an email from a site I am building, but
I am trying to send some data from a LINQ query in C# to
I was trying to write a udp server who send an instance of a
I am trying to implement a Client/Server model using TCpClient , with its Networkstream.Write()/Read()
I'm trying to push packets of data from my HTTP server to a browser,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.