Include dependency graph for udp.c:

Defines | |
| #define | SOL_IP IPPROTO_IP |
| #define | SOL_IPV6 IPPROTO_IPV6 |
| #define | IPPROTO_IPV6 41 |
| #define | SOL_DCCP IPPROTO_DCCP |
| #define | IPPROTO_DCCP 33 |
| #define | SOL_UDPLITE IPPROTO_UDPLITE |
| #define | IPPROTO_UDPLITE 136 |
Functions | |
| int | net_Socket (vlc_object_t *p_this, int i_family, int i_socktype, int i_protocol) |
| static int | net_ListenSingle (vlc_object_t *obj, const char *host, int port, int family, int protocol) |
| static int | net_SetMcastHopLimit (vlc_object_t *p_this, int fd, int family, int hlim) |
| static int | net_SetMcastOutIface (int fd, int family, int scope) |
| static int | net_SetMcastOutIPv4 (int fd, struct in_addr ipv4) |
| static int | net_SetMcastOut (vlc_object_t *p_this, int fd, int family, const char *iface, const char *addr) |
| static int | net_IPv4Join (vlc_object_t *obj, int fd, const struct sockaddr_in *src, const struct sockaddr_in *grp) |
| Old-style any-source multicast join. | |
| static int | net_IPv6Join (vlc_object_t *obj, int fd, const struct sockaddr_in6 *src) |
| static int | net_SourceSubscribe (vlc_object_t *obj, int fd, const struct sockaddr *src, socklen_t srclen, const struct sockaddr *grp, socklen_t grplen) |
| IP-agnostic multicast join, with fallback to old APIs, and fallback from SSM to ASM. | |
| int | net_Subscribe (vlc_object_t *obj, int fd, const struct sockaddr *addr, socklen_t addrlen) |
| static int | net_SetDSCP (int fd, uint8_t dscp) |
| int | __net_ConnectDgram (vlc_object_t *p_this, const char *psz_host, int i_port, int i_hlim, int proto) |
| int | __net_OpenDgram (vlc_object_t *obj, const char *psz_bind, int i_bind, const char *psz_server, int i_server, int family, int protocol) |
| int | net_SetCSCov (int fd, int sendcov, int recvcov) |
| net_SetCSCov: Sets the send and receive checksum coverage of a socket: | |
| #define IPPROTO_DCCP 33 |
| #define IPPROTO_IPV6 41 |
| #define IPPROTO_UDPLITE 136 |
| #define SOL_DCCP IPPROTO_DCCP |
| #define SOL_IP IPPROTO_IP |
| #define SOL_IPV6 IPPROTO_IPV6 |
| #define SOL_UDPLITE IPPROTO_UDPLITE |
| int __net_ConnectDgram | ( | vlc_object_t * | p_this, | |
| const char * | psz_host, | |||
| int | i_port, | |||
| int | i_hlim, | |||
| int | proto | |||
| ) |
| int __net_OpenDgram | ( | vlc_object_t * | obj, | |
| const char * | psz_bind, | |||
| int | i_bind, | |||
| const char * | psz_server, | |||
| int | i_server, | |||
| int | family, | |||
| int | protocol | |||
| ) |
| static int net_IPv4Join | ( | vlc_object_t * | obj, | |
| int | fd, | |||
| const struct sockaddr_in * | src, | |||
| const struct sockaddr_in * | grp | |||
| ) | [static] |
Old-style any-source multicast join.
In use on Windows XP/2003 and older.
| static int net_IPv6Join | ( | vlc_object_t * | obj, | |
| int | fd, | |||
| const struct sockaddr_in6 * | src | |||
| ) | [static] |
| static int net_ListenSingle | ( | vlc_object_t * | obj, | |
| const char * | host, | |||
| int | port, | |||
| int | family, | |||
| int | protocol | |||
| ) | [static] |
| int net_SetCSCov | ( | int | fd, | |
| int | sendcov, | |||
| int | recvcov | |||
| ) |
net_SetCSCov: Sets the send and receive checksum coverage of a socket:
| fd | socket | |
| sendcov | payload coverage of sent packets (bytes), -1 for full | |
| recvcov | minimum payload coverage of received packets, -1 for full |
| static int net_SetDSCP | ( | int | fd, | |
| uint8_t | dscp | |||
| ) | [static] |
| static int net_SetMcastHopLimit | ( | vlc_object_t * | p_this, | |
| int | fd, | |||
| int | family, | |||
| int | hlim | |||
| ) | [static] |
| static int net_SetMcastOut | ( | vlc_object_t * | p_this, | |
| int | fd, | |||
| int | family, | |||
| const char * | iface, | |||
| const char * | addr | |||
| ) | [static] |
| static int net_SetMcastOutIface | ( | int | fd, | |
| int | family, | |||
| int | scope | |||
| ) | [static] |
| static int net_SetMcastOutIPv4 | ( | int | fd, | |
| struct in_addr | ipv4 | |||
| ) | [inline, static] |
| int net_Socket | ( | vlc_object_t * | p_this, | |
| int | i_family, | |||
| int | i_socktype, | |||
| int | i_protocol | |||
| ) |
| static int net_SourceSubscribe | ( | vlc_object_t * | obj, | |
| int | fd, | |||
| const struct sockaddr * | src, | |||
| socklen_t | srclen, | |||
| const struct sockaddr * | grp, | |||
| socklen_t | grplen | |||
| ) | [static] |
IP-agnostic multicast join, with fallback to old APIs, and fallback from SSM to ASM.
| int net_Subscribe | ( | vlc_object_t * | obj, | |
| int | fd, | |||
| const struct sockaddr * | addr, | |||
| socklen_t | addrlen | |||
| ) |
1.5.1