VCOM Linux Driver
Advantech Inc.
Loading...
Searching...
No Matches
proc_tools.c File Reference
#include "proc_tools.h"

Functions

int __search_lport_stat_inode (int ipfamily, unsigned short port, unsigned short stat, ino_t *out)
 
int __search_port_inode (unsigned short port, int stat, ino_t *out)
 
int __pid_search_fd_inode (pid_t pid, ino_t inode)
 
int __pidpath_get_cmd (char *pidpath, char *cmd, int cmdlen)
 
int __pid_get_cmd (pid_t pid, char *cmd, int cmdlen)
 
int __cmd_inode_search_pid (char *cmd, ino_t inode, char *buf, int buflen, int *retlen, pid_t *pidret)
 
char * __cmd_get_opts (char *cmd, int cmdlen, char *opt)
 

Function Documentation

◆ __cmd_get_opts()

char * __cmd_get_opts ( char * cmd,
int cmdlen,
char * opt )

◆ __cmd_inode_search_pid()

int __cmd_inode_search_pid ( char * cmd,
ino_t inode,
char * buf,
int buflen,
int * retlen,
pid_t * pidret )

◆ __pid_get_cmd()

int __pid_get_cmd ( pid_t pid,
char * cmd,
int cmdlen )

◆ __pid_search_fd_inode()

int __pid_search_fd_inode ( pid_t pid,
ino_t inode )

◆ __pidpath_get_cmd()

int __pidpath_get_cmd ( char * pidpath,
char * cmd,
int cmdlen )

◆ __search_lport_stat_inode()

int __search_lport_stat_inode ( int ipfamily,
unsigned short port,
unsigned short stat,
ino_t * out )

◆ __search_port_inode()

int __search_port_inode ( unsigned short port,
int stat,
ino_t * out )