#include <config.h>
#include <stdio.h>
#include <stdarg.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "console.h"
Include dependency graph for rtp.c:
Go to the source code of this file.
Classes | |
struct | rtpbits |
struct | rtpheader |
Defines | |
#define | _STDINT_H |
#define | strchr index |
#define | strrchr rindex |
#define | memcpy(d, s, n) bcopy ((s), (d), (n)) |
#define | memmove(d, s, n) bcopy ((s), (d), (n)) |
Functions | |
char * | alloca () |
char * | strchr () |
char ** | strrchr () |
void | initrtp (struct rtpheader *foo) |
int | sendrtp (int fd, struct sockaddr_in *sSockAddr, struct rtpheader *foo, const void *data, int len) |
int | makesocket (char *szAddr, unsigned short port, unsigned char TTL, struct sockaddr_in *sSockAddr) |
char* alloca | ( | ) |
Referenced by sendrtp().
void initrtp | ( | struct rtpheader * | foo | ) |
Definition at line 74 of file rtp.c.
References rtpheader::b, rtpbits::cc, rtpheader::iAudioHeader, rtpbits::m, rtpbits::p, rtpbits::pt, rtpbits::sequence, rtpheader::ssrc, rtpheader::timestamp, rtpbits::v, and rtpbits::x.
Referenced by main().
int makesocket | ( | char * | szAddr, | |
unsigned short | port, | |||
unsigned char | TTL, | |||
struct sockaddr_in * | sSockAddr | |||
) |
Definition at line 111 of file rtp.c.
References error_printf().
Referenced by main().
Here is the call graph for this function:
int sendrtp | ( | int | fd, | |
struct sockaddr_in * | sSockAddr, | |||
struct rtpheader * | foo, | |||
const void * | data, | |||
int | len | |||
) |
Definition at line 94 of file rtp.c.
References alloca(), and memmove.
Referenced by rtp_output().
Here is the call graph for this function:
char* strchr | ( | ) |
char* * strrchr | ( | ) |