Skip to content

Set `SO_PRIORITY` (aka `skb->priority` on Linux) right after each `socket()` call.

Notifications You must be signed in to change notification settings

xavierog/so_priority.so

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

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

About

Set `SO_PRIORITY` (aka `skb->priority` on Linux) right after each `socket()` call.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages