Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xavierog/so_priority.so
Set `SO_PRIORITY` (aka `skb->priority` on Linux) right after each `socket()` call.
https://github.com/xavierog/so_priority.so
ld-preload linux network skb skb-priority so-priority socket
Last synced: 23 days ago
JSON representation
Set `SO_PRIORITY` (aka `skb->priority` on Linux) right after each `socket()` call.
- Host: GitHub
- URL: https://github.com/xavierog/so_priority.so
- Owner: xavierog
- Created: 2024-09-28T13:24:47.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-01-04T18:05:24.000Z (about 1 month ago)
- Last Synced: 2025-01-04T19:19:33.469Z (about 1 month ago)
- Topics: ld-preload, linux, network, skb, skb-priority, so-priority, socket
- Language: C
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# so_priority.so
Set `SO_PRIORITY` (aka `skb->priority` on Linux) right after each `socket()` call.
Compile with:
```
gcc -shared -ldl -fPIC so_priority.c -o so_priority.so
```Usage:
```
SO_PRIORITY_DEBUG=1 SO_PRIORITY_VALUE=6 LD_PRELOAD=/path/to/so_priority.so program arg1 arg2
```