trafgen: parser: Parse IPv6 address by strict match pattern
[netsniff-ng-new.git] / proc.h
blob6e5f3aca4c816b647f539b86361d6d52edbc3ae2
1 #ifndef PROC_H
2 #define PROC_H
4 #include <stdlib.h>
6 extern void cpu_affinity(int cpu);
7 extern int set_proc_prio(int prio);
8 extern int set_sched_status(int policy, int priority);
9 extern ssize_t proc_get_cmdline(unsigned int pid, char *cmdline, size_t len);
10 extern int proc_exec(const char *proc, char *const argv[]);
11 extern int proc_find_by_inode(ino_t ino, char *cmdline, size_t len, pid_t *pid);
13 #endif /* PROC_H */