• Pavel Emelyanov's avatar
    soccr/tcp: Introduce blob with connection info and getter for it · 4fdc20ed
    Pavel Emelyanov authored
    As an API for dumping and restoring the data the structure
    with __u32-s is used. Getting one (and restoring) also involve
    the size of the structure so that both -- caller and library --
    can know which "version" of it the other one is using.
    
    As a starting point all the fields that tcp_entry carries are
    used.
    
    Also note, that only tcp connection info is handled by the
    library. Stuff like addresses and ports, socket options and
    other are left for the caller to care for.
    Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
    4fdc20ed
Name
Last commit
Last update
Documentation Loading commit data...
contrib Loading commit data...
coredump Loading commit data...
crit Loading commit data...
criu Loading commit data...
images Loading commit data...
include/common Loading commit data...
lib Loading commit data...
scripts Loading commit data...
soccr Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
.mailmap Loading commit data...
.travis.yml Loading commit data...
COPYING Loading commit data...
CREDITS Loading commit data...
INSTALL.md Loading commit data...
Makefile Loading commit data...
Makefile.config Loading commit data...
Makefile.install Loading commit data...
Makefile.versions Loading commit data...
README.md Loading commit data...