upipe-modules/upipe_udp_source.h header reference
Upipe source module for udp sockets More
Header inclusion
Members
Types
- enum upipe_udpsrc_command
- enum uprobe_udpsrc_event
Functions
- int upipe_udpsrc_get_fd(struct upipe *upipe, int *fd_p)
- struct upipe_mgr * upipe_udpsrc_mgr_alloc(void )
- int upipe_udpsrc_set_fd(struct upipe *upipe, int fd)
Description
Upipe source module for udp sockets
Members detail
This macro is declared in upipe-modules/upipe_udp_source.h source file, line 39.
This macro is declared in upipe-modules/upipe_udp_source.h source file, line 32.
This enum is declared in upipe-modules/upipe_udp_source.h source file, line 43.
This enum extends upipe_command with specific commands.
Identifier | Value | Description |
---|---|---|
UPIPE_UDPSRC_SENTINEL | UPIPE_CONTROL_LOCAL | |
UPIPE_UDPSRC_GET_FD | unknown | get socket fd (int*) * |
UPIPE_UDPSRC_SET_FD | unknown | set socket fd (int) * |
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
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
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
This enum is declared in upipe-modules/upipe_udp_source.h source file, line 53.
This enum extends uprobe_throw with specific events .
Identifier | Value | Description |
---|---|---|
UPROBE_UDPSRC_SENTINEL | UPROBE_LOCAL | |
UPROBE_UDPSRC_NEW_PEER | unknown | remote address changed (const struct sockaddr*, socklen_t) * |