upipe-modules/upipe_udp_sink.h header reference
Upipe sink module for udp More
Header inclusion
Members
Type
Functions
- int upipe_udpsink_get_fd(struct upipe *upipe, int *fd_p)
- struct upipe_mgr * upipe_udpsink_mgr_alloc(void )
- int upipe_udpsink_set_fd(struct upipe *upipe, int fd)
- int upipe_udpsink_set_peer(struct upipe *upipe, const struct sockaddr *addr, socklen_t addrlen)
Description
Upipe sink module for udp
Members detail
This macro is declared in upipe-modules/upipe_udp_sink.h source file, line 41.
This macro is declared in upipe-modules/upipe_udp_sink.h source file, line 32.
This enum is declared in upipe-modules/upipe_udp_sink.h source file, line 45.
This enum extends upipe_command with specific commands for udp sink.
Identifier | Value | Description |
---|---|---|
UPIPE_UDPSINK_SENTINEL | UPIPE_CONTROL_LOCAL | |
UPIPE_UDPSINK_GET_FD | unknown | get socket fd (int*) * |
UPIPE_UDPSINK_SET_FD | unknown | set socket fd (int) * |
UPIPE_UDPSINK_SET_PEER | unknown | set remote address (const struct sockaddr *, socklen_t) * |
This function is declared in upipe-modules/upipe_udp_sink.h source file, line 69.
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
This function is declared in upipe-modules/upipe_udp_sink.h source file, line 60.
This function returns the management structure for all udp sinks.
The return value is pointer to manager
This function is declared in upipe-modules/upipe_udp_sink.h source file, line 81.
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
This function is declared in upipe-modules/upipe_udp_sink.h source file, line 95.
This function sets the remote address (for unconnected sockets).
Parameter list:
- upipe: description structure of the pipe
- addr: the remote address
- addrlen: the size of addr
The return value is false in case of error