libsbp  v2.4.7
msg_linux_process_socket_counts_t Struct Reference

#include <linux.h>

Data Fields

u8 index
 sequence of this status message, values from 0-9 More...
 
u16 pid
 the PID of the process in question More...
 
u16 socket_count
 the number of sockets the process is using More...
 
u16 socket_types
 A bitfield indicating the socket types used: 0x1 (tcp), 0x2 (udp), 0x4 (unix stream), 0x8 (unix dgram), 0x10 (netlink), and 0x8000 (unknown) More...
 
u16 socket_states
 A bitfield indicating the socket states: 0x1 (established), 0x2 (syn-sent), 0x4 (syn-recv), 0x8 (fin-wait-1), 0x10 (fin-wait-2), 0x20 (time-wait), 0x40 (closed), 0x80 (close-wait), 0x100 (last-ack), 0x200 (listen), 0x400 (closing), 0x800 (unconnected), and 0x8000 (unknown) More...
 
char cmdline [0]
 the command line of the process in question More...
 

Detailed Description

Definition at line 81 of file linux.h.

Field Documentation

char cmdline[0]

the command line of the process in question

Definition at line 95 of file linux.h.

u8 index

sequence of this status message, values from 0-9

Definition at line 82 of file linux.h.

u16 pid

the PID of the process in question

Definition at line 83 of file linux.h.

u16 socket_count

the number of sockets the process is using

Definition at line 84 of file linux.h.

u16 socket_states

A bitfield indicating the socket states: 0x1 (established), 0x2 (syn-sent), 0x4 (syn-recv), 0x8 (fin-wait-1), 0x10 (fin-wait-2), 0x20 (time-wait), 0x40 (closed), 0x80 (close-wait), 0x100 (last-ack), 0x200 (listen), 0x400 (closing), 0x800 (unconnected), and 0x8000 (unknown)

Definition at line 89 of file linux.h.

u16 socket_types

A bitfield indicating the socket types used: 0x1 (tcp), 0x2 (udp), 0x4 (unix stream), 0x8 (unix dgram), 0x10 (netlink), and 0x8000 (unknown)

Definition at line 85 of file linux.h.


The documentation for this struct was generated from the following file: