upipe-modules/upipe_udp_source.h header reference

Upipe source module for udp sockets More

Header inclusion  

Members  

Types  

Functions  

Description  

Upipe source module for udp sockets

Members detail  

#define UPIPE_UDPSRC_SIGNATURE  

This macro is declared in upipe-modules/upipe_udp_source.h source file, line 39.

#define _UPIPE_MODULES_UPIPE_UDP_SOURCE_H_  

This macro is declared in upipe-modules/upipe_udp_source.h source file, line 32.

enum upipe_udpsrc_command  

This enum is declared in upipe-modules/upipe_udp_source.h source file, line 43.

This enum extends upipe_command with specific commands.

IdentifierValueDescription
UPIPE_UDPSRC_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_UDPSRC_GET_FDunknownget socket fd (int*) *
UPIPE_UDPSRC_SET_FDunknownset socket fd (int) *

int upipe_udpsrc_get_fd(struct upipe *upipe, int *fd_p)  

This function is declared in upipe-modules/upipe_udp_source.h source file, line 67.

This function returns currently opened udp fd.

Parameter list:

  • upipe: description structure of the pipe
  • fd_p: filled in with the fd of the udp

The return value is false in case of error

struct upipe_mgr * upipe_udpsrc_mgr_alloc(void )  

This function is declared in upipe-modules/upipe_udp_source.h source file, line 88.

This function returns the management structure for all udp socket sources.

The return value is pointer to manager

int upipe_udpsrc_set_fd(struct upipe *upipe, int fd)  

This function is declared in upipe-modules/upipe_udp_source.h source file, line 79.

This function sets the udp fd.

Parameter list:

  • upipe: description structure of the pipe
  • fd: file descriptor

The return value is false in case of error

enum uprobe_udpsrc_event  

This enum is declared in upipe-modules/upipe_udp_source.h source file, line 53.

This enum extends uprobe_throw with specific events .

IdentifierValueDescription
UPROBE_UDPSRC_SENTINELUPROBE_LOCAL
UPROBE_UDPSRC_NEW_PEERunknownremote address changed (const struct sockaddr*, socklen_t) *

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:18 2018 using MkDoc