Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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
```