Why does NdisFSendNetBufferLists only work when called from FilterSendNetBufferLists?
I made it work: The error was in my OriginalNdisFilterHandle
. I set it in the function FilterAttach
and didn't think that the function gets called multiple times. Because of this the variable had the wrong value.
How does /dev/net/tun works? Do I get back what I write?
How it works? Does /dev/net/tun consumes what I write and not
give it back when I read?
Indeed.
You never get back what was written.
I imagine it works like a file so whatever I write I get back when I read.
No, it works like a device node.
What is written, goes to a device
(in this case - virtual device).
What is read, is read from a (virtual)
device.
Think of /dev/tty: you don't read what
was written there. Instead, you read what
was typed on a keyboard, and what was
written can be seen on a screen.
Related Topics
Find String Inside PDF with Shell
Vue Npm Run Serve Failed to Load Resource: Net::Err_Content_Length_Mismatch
How to Increase a Date Within a Loop in Bash
How to Clone a Git Repository Which Is Present on a Remote Linux Server into Windows
Linux Kconfig Command Line Interface
Having an Issue Passing Variables to Subshell
Difference Between Cp and Mv Force Overwrite
Brother Ql-720Nw Specifying Media Size Seems Ignored
Eclipse Kura Installation on Raspberry Pi 3
Find Command Search Only Non Hidden Directories
Different Memory Alignment for Different Buffer Sizes
Link Extraction from a Google Page in Bash
Cannot Find Module 'Firebase-Admin' When Trying to Deploy Firebase Functions
Killing Stanford Core Nlp Process
How to Create a Folder with a Folder Name Containing Spaces in Linux
Udev-How to Get Value of a Child Device Attributes
Search Ip from a Text File in .Csv Log File, If Found Add New Column Next to It