|
GNU Radio's RTP Package
|
#include <stdint.h>#include <stdbool.h>#include <sys/socket.h>#include <netdb.h>#include <assert.h>Go to the source code of this file.
Functions | |
| char const * | formatsock (void const *, bool) |
| char * | formataddr (char *result, int size, void const *s) |
| int | setup_mcast (char const *source, struct sockaddr *, char const *target, struct sockaddr *, bool output, int ttl, int tos, uint16_t offset, int tries) |
| static int | setup_mcast_in (char const *source, struct sockaddr *source_sock, char const *target, struct sockaddr *sock, uint16_t offset, int tries) |
| int | join_group (int fd, struct sockaddr const *const source, struct sockaddr const *const sock, char const *const iface) |
| int | output_mcast (void const *const s, char const *const iface, int const ttl, int const tos) |
| int | listen_mcast (void const *source, void const *sock, char const *iface) |
| int | connect_mcast (void const *const s, char const *const iface, int const ttl, int const tos) |
| int | resolve_mcast (char const *target, void *sock, uint16_t default_port, char *iface, int iface_len, int tries) |
| int | setportnumber (void *sock, uint16_t port) |
| int | getportnumber (void const *sock) |
| int | address_match (void const *arg1, void const *arg2) |
| void | dump_interfaces (void) |
| static uint8_t | get8 (uint8_t const *dp) |
| static uint16_t | get16 (uint8_t const *dp) |
| static uint32_t | get24 (uint8_t const *dp) |
| static uint32_t | get32 (uint8_t const *dp) |
| static uint8_t * | put8 (uint8_t *dp, int x) |
| static uint8_t * | put16 (uint8_t *dp, int x) |
| static uint8_t * | put24 (uint8_t *dp, uint32_t x) |
| static uint8_t * | put32 (uint8_t *dp, uint32_t x) |
| uint32_t | make_maddr (char const *arg) |
| int | setport (void *sock, int port) |
Variables | |
| char const * | Default_mcast_iface |
| int address_match | ( | void const * | arg1, |
| void const * | arg2 ) |
| int connect_mcast | ( | void const *const | s, |
| char const *const | iface, | ||
| int const | ttl, | ||
| int const | tos ) |
| void dump_interfaces | ( | void | ) |
| char * formataddr | ( | char * | result, |
| int | size, | ||
| void const * | s ) |
References Default_mcast_iface.
| char const * formatsock | ( | void const * | , |
| bool | ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| int getportnumber | ( | void const * | sock | ) |
| int join_group | ( | int | fd, |
| struct sockaddr const *const | source, | ||
| struct sockaddr const *const | sock, | ||
| char const *const | iface ) |
| int listen_mcast | ( | void const * | source, |
| void const * | sock, | ||
| char const * | iface ) |
| uint32_t make_maddr | ( | char const * | arg | ) |
| int output_mcast | ( | void const *const | s, |
| char const *const | iface, | ||
| int const | ttl, | ||
| int const | tos ) |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
| int resolve_mcast | ( | char const * | target, |
| void * | sock, | ||
| uint16_t | default_port, | ||
| char * | iface, | ||
| int | iface_len, | ||
| int | tries ) |
| int setport | ( | void * | sock, |
| int | port ) |
| int setportnumber | ( | void * | sock, |
| uint16_t | port ) |
| int setup_mcast | ( | char const * | source, |
| struct sockaddr * | , | ||
| char const * | target, | ||
| struct sockaddr * | , | ||
| bool | output, | ||
| int | ttl, | ||
| int | tos, | ||
| uint16_t | offset, | ||
| int | tries ) |
Referenced by setup_mcast_in().
|
inlinestatic |
References setup_mcast().
|
extern |
Referenced by formataddr().