#include <netinet/ip.h>#include <netinet/in.h>#include <sys/types.h>#include <sys/socket.h>#include <arpa/inet.h>#include <errno.h>#include <string.h>#include <unistd.h>#include <linux/if_ether.h>#include <sys/ioctl.h>#include <sys/param.h>#include <net/if.h>#include <netdb.h>#include <poll.h>#include <map>#include <set>#include <iostream>Include dependency graph for trig.cpp:

Go to the source code of this file.
Functions | |
| int | signal_recv (set< unsigned long > ports) |
| int | signal_send (unsigned long port) |
| int | main (int argc, char *argv[]) |
Variables | |
| unsigned long | port_out = 40000 |
| unsigned long | port_in = 40001 |
| int main | ( | int | argc, | |
| char * | argv[] | |||
| ) |
set port, start listening/answering HTTP requests
now try to mmap
These are read from frame zero (they are not frame-related)
now open circbuf
read pointer was invalid - try the earliest frame available
Definition at line 107 of file trig.cpp.
References n, port_in, port_out, signal_recv(), and signal_send().
| int signal_recv | ( | set< unsigned long > | ports | ) |
| int signal_send | ( | unsigned long | port | ) |
1.5.1