#include <arpa/inet.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <netatalk/at.h>
#include <atalk/ddp.h>
#include <atalk/netddp.h>
#include <atalk/rtmp.h>
#include <atalk/util.h>
#include <inttypes.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
Functions | |
int | setup_ddp_socket (const struct at_addr *local_addr, struct at_addr **remote_addr) |
void | do_rtmp_rdr (int sockfd, const struct sockaddr_at *sa_remote, bool get_all, int secs_timeout) |
void | print_rtmp_data_packet (const uint8_t *buf, size_t len) |
void | do_rtmp_request (int sockfd, struct sockaddr_at *sa_remote) |
static void | usage (char *s) |
int | main (int argc, char **argv) |
const uint8_t * | print_rtmp_tuple (const uint8_t *buf, const uint8_t *cursor, size_t len, uint16_t router_net, uint8_t router_node) |
void do_rtmp_rdr | ( | int | sockfd, |
const struct sockaddr_at * | sa_remote, | ||
bool | get_all, | ||
int | secs_timeout ) |
void do_rtmp_request | ( | int | sockfd, |
struct sockaddr_at * | sa_remote ) |
int main | ( | int argc | , |
char ** | argv ) |
void print_rtmp_data_packet | ( | const uint8_t * | buf, |
size_t | len ) |
const uint8_t * print_rtmp_tuple | ( | const uint8_t * | buf, |
const uint8_t * | cursor, | ||
size_t | len, | ||
uint16_t | router_net, | ||
uint8_t | router_node ) |
|
static |