Comments (2)
Hmm yes. I guess creating a duplicate map isn't so bad.
That's an interesting case. Should the collection loader in that case refrain from patching the map twice? We could look at ins.Constant = 0.
I guess we could either look at ins.Constant
, or have RewriteMap
lose the reference. Almost feels like RewriteMap
should return an error if Constant != 0
.
from xdpcap.
Almost feels like RewriteMap should return an error if Constant != 0.
Sounds sane. Especially now that it's possible to Copy a ProgramSpec if you want to patch it multiple times. We could add another error similar to IsUnreferencedSymbol
which would allow NewCollection to ignore double rewrite errors. Maybe it is too magic though?
from xdpcap.
Related Issues (20)
- Capturing incoming packets HOT 1
- Does Packets captured by xdpcap go across Protocol stack HOT 3
- Error: creating output: open /path/to/pinned/map: is a directory HOT 1
- Error: creating filter: loading hook map: get object /path/to/pinned/map: permission denied HOT 4
- Why i can't capture any packets? HOT 4
- Is xdpcap filtering packets in user mode?
- Why can xdpcap capture packets when tcpdump capture packets from the same port.
- What's the performance of xdpcap? HOT 8
- In xdpcap, perfMapSpec's type is PerfEventArray, is there some examples for PerCPUHash or PerCpuArray? HOT 1
- xdpcap & bcc/llvm error: Assertion `Val && "isa<> used on a null pointer"' failed. HOT 2
- xdpcap support for IP-in-IP tunneled packets. HOT 2
- Can not Parse bfd as udp ? HOT 2
- why xdpcap can't capture egress traffic ? HOT 2
- Does xdpcap work similarly to xdpdump, where it can capture packets before and after xdp program execution? HOT 1
- Support capturing via fentry / fexit trace points HOT 6
- 编译出现unexpected NUL in input
- Would this be possible to use with redbpf? HOT 1
- clarify statistics output
- Libbpf 1.0 release
- Timestamp at capture time
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xdpcap.