PSPSDK 2024-10-31
|
#include <sys/socket.h>
Go to the source code of this file.
Data Structures | |
struct | in_addr |
struct | sockaddr_in |
struct | ip_opts |
struct | ip_mreq |
Typedefs | |
typedef uint32_t | in_addr_t |
typedef uint16_t | in_port_t |
Functions | |
struct in_addr | __attribute__ ((__packed__)) |
Variables | |
in_addr_t | s_addr |
struct sockaddr_in | __attribute__ |
Writes gmon.out dump file and stops profiling Called from atexit() handler; will dump out a gmon.out file at cwd with all collected information. | |
#define CTL_IPPROTO_IPSEC 258 |
#define htonl | ( | x | ) | __builtin_bswap32(x) |
#define htons | ( | x | ) | __builtin_bswap16(x) |
#define IN_CLASSA_MAX 128 |
#define IN_CLASSA_NSHIFT 24 |
#define IN_CLASSB_MAX 65536 |
#define IN_CLASSB_NSHIFT 16 |
#define IN_CLASSC_NSHIFT 8 |
#define IN_CLASSD_NSHIFT 28 |
#define INET_ADDRSTRLEN 16 |
#define IP_PORTRANGE_LOW 2 /* use privileged range */ |
#define IPPORT_ANONMAX 65535 |
#define IPPORT_ANONMIN 49152 |
#define IPPORT_RESERVED 1024 |
#define IPPORT_RESERVEDMAX (IPPORT_RESERVED-1) |
#define IPPORT_RESERVEDMIN 600 |
#define IPPROTO_AH 51 /* authentication header */ |
#define IPPROTO_DONE 257 |
#define IPPROTO_DSTOPTS 60 /* IP6 destination option */ |
#define IPPROTO_ENCAP 98 /* encapsulation header */ |
#define IPPROTO_FRAGMENT 44 /* IP6 fragmentation header */ |
#define IPPROTO_GGP 3 /* gateway^2 (deprecated) */ |
#define IPPROTO_MAX 256 |
#define IPPROTO_RSVP 46 /* resource reservation */ |
#define IPPROTO_TP 29 /* tp-4 w/ class negotiation */ |
#define ntohl | ( | x | ) | __builtin_bswap32(x) |
#define ntohs | ( | x | ) | __builtin_bswap16(x) |
struct in_addr __attribute__ | ( | (__packed__) | ) |
Writes gmon.out dump file and stops profiling Called from atexit() handler; will dump out a gmon.out file at cwd with all collected information.
Stop the profiler.
Internal timer handler.
Internal C handler for _mcount()
frompc | pc address of caller |
selfpc | pc address of current function |
Called from mcount.S to make life a bit easier. __mcount is called right before a function starts. GCC generates a tiny stub at the very beginning of each compiled routine, which eventually brings the control to here.
If the profiler is not running, this function does nothing.
filename | The name of the file to write the profiling data to. |
should_dump | If 1, the profiling data will be written to the file. If 0, the profiling data will be discarded. |
in_addr_t s_addr |