netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
rtmpqry.c File Reference
#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)

Function Documentation

◆ do_rtmp_rdr()

void do_rtmp_rdr ( int sockfd,
const struct sockaddr_at * sa_remote,
bool get_all,
int secs_timeout )

◆ do_rtmp_request()

void do_rtmp_request ( int sockfd,
struct sockaddr_at * sa_remote )

◆ main()

int main ( int argc ,
char ** argv )

◆ print_rtmp_data_packet()

void print_rtmp_data_packet ( const uint8_t * buf,
size_t len )

◆ print_rtmp_tuple()

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 )

◆ setup_ddp_socket()

int setup_ddp_socket ( const struct at_addr * local_addr,
struct at_addr ** remote_addr )

◆ usage()

void usage ( char * s)
static