netatalk  4.4.0dev
Free and Open Source Apple Filing Protocol (AFP) Server
Loading...
Searching...
No Matches
rtmp.c File Reference
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <atalk/logger.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <net/if.h>
#include <net/route.h>
#include <netatalk/at.h>
#include <atalk/ddp.h>
#include <atalk/atp.h>
#include <atalk/rtmp.h>
#include "interface.h"
#include "gate.h"
#include "rtmp.h"
#include "zip.h"
#include "list.h"
#include "atserv.h"
#include "route.h"
#include "main.h"

Functions

void rtmp_delzonemap (struct rtmptab *rtmp)
static int rtmp_config (struct rtmp_head *rh, struct interface *iface)
static void rtmp_delinuse (struct rtmptab *rtmp)
static void rtmp_addinuse (struct rtmptab *rtmp)
static int rtmp_copyzones (struct rtmptab *to, struct rtmptab *from)
void rtmp_free (struct rtmptab *rtmp)
int rtmp_replace (struct rtmptab **replace_ptr)
static int rtmp_new (struct rtmptab *rtmp)
int rtmp_packet (struct atport *ap, struct sockaddr_at *from, char *data, int len)
int rtmp_request (struct interface *iface)
int looproute (struct interface *iface, unsigned int cmd)
int gateroute (unsigned int command, struct rtmptab *rtmp)
struct rtmptabnewrt (const struct interface *iface)

Variables

int debug

Function Documentation

◆ gateroute()

int gateroute ( unsigned int command,
struct rtmptab * rtmp )

◆ looproute()

int looproute ( struct interface * iface,
unsigned int cmd )

◆ newrt()

struct rtmptab * newrt ( const struct interface * iface)

◆ rtmp_addinuse()

void rtmp_addinuse ( struct rtmptab * rtmp)
static

◆ rtmp_config()

int rtmp_config ( struct rtmp_head * rh,
struct interface * iface )
static

◆ rtmp_copyzones()

int rtmp_copyzones ( struct rtmptab * to,
struct rtmptab * from )
static

◆ rtmp_delinuse()

void rtmp_delinuse ( struct rtmptab * rtmp)
static

◆ rtmp_delzonemap()

void rtmp_delzonemap ( struct rtmptab * rtmp)

◆ rtmp_free()

void rtmp_free ( struct rtmptab * rtmp)

◆ rtmp_new()

int rtmp_new ( struct rtmptab * rtmp)
static

◆ rtmp_packet()

int rtmp_packet ( struct atport * ap,
struct sockaddr_at * from,
char * data,
int len )

◆ rtmp_replace()

int rtmp_replace ( struct rtmptab ** replace_ptr)

◆ rtmp_request()

int rtmp_request ( struct interface * iface)

Variable Documentation

◆ debug

int debug
extern