|
static GF_NetcapFilter * | gf_net_filter_get (const char *id) |
|
GF_EXPORT u32 | gf_net_has_ipv6 () |
| gets ipv6 support More...
|
|
GF_EXPORT Bool | gf_net_is_ipv6 (const char *address) |
| checks address type More...
|
|
GF_EXPORT GF_Err | gf_sk_get_host_name (char *buffer) |
| get local host name More...
|
|
GF_EXPORT GF_Err | gf_sk_get_local_ip (GF_Socket *sock, char *buffer) |
| get local IP More...
|
|
GF_BitStream * | gf_bs_from_fd (int fd, u32 mode) |
|
void | gf_net_close_capture () |
|
static GF_Err | gf_netcap_record (GF_NetcapFilter *nf) |
|
static void | gf_netcap_load_pck_gpac (GF_NetcapFilter *nf) |
|
static GF_Err | pcapng_load_shb (GF_NetcapFilter *nf, Bool is_init) |
|
static void | pcapng_load_idb (GF_NetcapFilter *nf) |
|
static void | gf_netcap_load_pck_pcap (GF_NetcapFilter *nf) |
|
static GF_Err | gf_netcap_playback (GF_NetcapFilter *nf) |
|
GF_Err | gf_netcap_setup (char *rules) |
|
static Bool | netcap_filter_pck (GF_Socket *sock, u32 pck_len, Bool for_send) |
|
static void | gf_netcap_load_pck (GF_NetcapFilter *nf, u64 now) |
|
static GF_Err | gf_netcap_send_pcap (GF_NetcapFilter *nf, GF_Socket *sock, const u8 *buffer, u32 length, u32 *written, Bool is_ng) |
|
static GF_Err | gf_netcap_send_gpac (GF_NetcapFilter *nf, GF_Socket *sock, const u8 *buffer, u32 length, u32 *written) |
|
static GF_Err | gf_netcap_send (GF_Socket *sock, const u8 *buffer, u32 length, u32 *written) |
|
Bool | gf_sk_has_nrt_netcap (GF_Socket *sk) |
|
GF_EXPORT GF_Socket * | gf_sk_new_ex (u32 SocketType, const char *netcap_id) |
| socket constructor More...
|
|
GF_EXPORT GF_Socket * | gf_sk_new (u32 SocketType) |
| socket constructor More...
|
|
GF_EXPORT GF_Err | gf_sk_set_buffer_size (GF_Socket *sock, Bool SendBuffer, u32 NewSize) |
| socket buffer size control More...
|
|
GF_EXPORT GF_Err | gf_sk_set_block_mode (GF_Socket *sock, Bool NonBlockingOn) |
| blocking mode control More...
|
|
static void | gf_sk_free (GF_Socket *sock) |
|
GF_EXPORT void | gf_sk_del (GF_Socket *sock) |
| socket destructor More...
|
|
GF_EXPORT void | gf_sk_reset (GF_Socket *sock) |
| reset internal buffer More...
|
|
GF_EXPORT s32 | gf_sk_get_handle (GF_Socket *sock) |
| gets socket handle More...
|
|
GF_EXPORT void | gf_sk_set_usec_wait (GF_Socket *sock, u32 usec_wait) |
|
static u32 | inet_addr_from_name (const char *local_interface) |
|
GF_EXPORT GF_Err | gf_sk_connect (GF_Socket *sock, const char *PeerName, u16 PortNumber, const char *ifce_ip_or_name) |
| connects a socket More...
|
|
GF_EXPORT GF_Err | gf_sk_bind (GF_Socket *sock, const char *ifce_ip_or_name, u16 port, const char *peer_name, u16 peer_port, u32 options) |
| socket binding More...
|
|
static GF_Err | poll_select (GF_Socket *sock, GF_SockSelectMode mode, u32 usec, Bool force_select) |
|
GF_EXPORT GF_Err | gf_sk_send_ex (GF_Socket *sock, const u8 *buffer, u32 length, u32 *written) |
| data emission More...
|
|
GF_EXPORT GF_Err | gf_sk_send (GF_Socket *sock, const u8 *buffer, u32 length) |
| data emission More...
|
|
GF_Err | gf_sk_select (GF_Socket *sock, GF_SockSelectMode mode) |
|
GF_EXPORT u32 | gf_sk_is_multicast_address (const char *multi_IPAdd) |
| multicast address test More...
|
|
static GF_Err | sk_join_ipv4 (GF_Socket *sock, struct ip_mreq *M_req, u32 TTL, const char **src_ip_inc, u32 nb_src_ip_inc, const char **src_ip_exc, u32 nb_src_ip_exc) |
|
GF_EXPORT Bool | gf_net_enum_interfaces (gf_net_ifce_enum do_enum, void *enum_cbk) |
| enumerate network interfaces More...
|
|
static Bool | get_ifce_enum (void *cbk, const char *name, const char *IP, u32 flags) |
|
Bool | gf_net_get_adapter_ip (const char *ip_or_name, char **ipv4, char **ipv6) |
|
GF_EXPORT GF_Err | gf_sk_setup_multicast_ex (GF_Socket *sock, const char *multi_IPAdd, u16 MultiPortNumber, u32 TTL, Bool NoBind, const char *ifce_ip_or_name, const char **src_ip_inc, u32 nb_src_ip_inc, const char **src_ip_exc, u32 nb_src_ip_exc) |
| source-specific multicast setup More...
|
|
GF_EXPORT GF_Err | gf_sk_setup_multicast (GF_Socket *sock, const char *multi_IPAdd, u16 MultiPortNumber, u32 TTL, Bool NoBind, const char *ifce_ip_or_name) |
| multicast setup More...
|
|
GF_SockGroup * | gf_sk_group_new () |
|
void | gf_sk_group_del (GF_SockGroup *sg) |
|
void | gf_sk_group_register (GF_SockGroup *sg, GF_Socket *sk) |
|
void | gf_sk_group_unregister (GF_SockGroup *sg, GF_Socket *sk) |
|
GF_Err | gf_sk_group_select (GF_SockGroup *sg, u32 usec_wait, GF_SockSelectMode mode) |
|
Bool | gf_sk_group_sock_is_set (GF_SockGroup *sg, GF_Socket *sk, GF_SockSelectMode mode) |
|
GF_Err | gf_sk_receive_internal (GF_Socket *sock, char *buffer, u32 length, u32 *BytesRead, Bool do_select) |
|
GF_EXPORT GF_Err | gf_sk_receive (GF_Socket *sock, u8 *buffer, u32 length, u32 *BytesRead) |
| data reception More...
|
|
GF_EXPORT GF_Err | gf_sk_receive_no_select (GF_Socket *sock, u8 *buffer, u32 length, u32 *BytesRead) |
|
GF_EXPORT GF_Err | gf_sk_listen (GF_Socket *sock, u32 MaxConnection) |
| socket listening More...
|
|
GF_EXPORT GF_Err | gf_sk_accept (GF_Socket *sock, GF_Socket **newConnection) |
| socket accept More...
|
|
GF_EXPORT GF_Err | gf_sk_get_local_info (GF_Socket *sock, u16 *Port, u32 *Familly) |
| get local info More...
|
|
GF_EXPORT GF_Err | gf_sk_server_mode (GF_Socket *sock, Bool serverOn) |
| server socket mode More...
|
|
GF_EXPORT GF_Err | gf_sk_get_remote_address_port (GF_Socket *sock, char *buf, u32 *port) |
| get remote address More...
|
|
GF_EXPORT GF_Err | gf_sk_get_remote_address (GF_Socket *sock, char *buf) |
| get remote address More...
|
|
GF_EXPORT GF_Err | gf_sk_probe (GF_Socket *sock) |
|
GF_EXPORT char * | gf_net_bump_ip_address (const char *in_ip, u32 increment) |
|
GF_EXPORT u32 | gf_htonl (u32 val) |
|
GF_EXPORT u32 | gf_ntohl (u32 val) |
|
GF_EXPORT u16 | gf_htons (u16 val) |
|
GF_EXPORT u16 | gf_ntohs (u16 val) |
|
GF_EXPORT const char * | gf_errno_str (int errnoval) |
| error code description More...
|
|