|  | libgpac
    Documentation of the core library of GPAC | 
Network tools (time, byte ordering, ...) More...
 Collaboration diagram for Network Time and helpers:
 Collaboration diagram for Network Time and helpers:| Typedefs | |
| typedef Bool(* | gf_net_ifce_enum) (void *cbk, const char *name, const char *IP, u32 flags) | 
| Enumerations | |
| enum | { GF_NETIF_ACTIVE = 1 , GF_NETIF_NO_MCAST = 1<<1 , GF_NETIF_RECV_ONLY = 1<<2 , GF_NETIF_LOOPBACK = 1<<3 , GF_NETIF_IPV6 = 1<<4 } | 
| Functions | |
| u32 | gf_net_has_ipv6 () | 
| gets ipv6 support | |
| Bool | gf_net_is_ipv6 (const char *address) | 
| checks address type | |
| Bool | gf_net_enum_interfaces (gf_net_ifce_enum do_enum, void *enum_cbk) | 
| enumerate network interfaces | |
| u32 | gf_htonl (u32 val) | 
| u32 | gf_ntohl (u32 val) | 
| u16 | gf_htons (u16 val) | 
| u16 | gf_ntohs (u16 val) | 
Network tools (time, byte ordering, ...)
network interface enumeration callback
| cbk | user data passed to gf_net_enum_interfaces | 
| name | interface name | 
| IP | interface IP address string, may be NULL | 
| flags | flags for interface and address | 
| anonymous enum | 
| u32 gf_net_has_ipv6 | ( | ) | 
gets ipv6 support
Returns IPV6 support information.
 Here is the caller graph for this function:
 Here is the caller graph for this function:| Bool gf_net_is_ipv6 | ( | const char * | address | ) | 
checks address type
Checks if an address is an IPV6 or IPV4 one.
| address | address to check | 
 Here is the caller graph for this function:
 Here is the caller graph for this function:| Bool gf_net_enum_interfaces | ( | gf_net_ifce_enum | do_enum, | 
| void * | enum_cbk | ||
| ) | 
enumerate network interfaces
Enumerates available network interfaces with IP. The callback function is called for each defined IP address of the interface
| enum_cbk | user data passed to callback function, may be NULL | 
| do_enum | callback function | 
 Here is the call graph for this function:
 Here is the call graph for this function: Here is the caller graph for this function:
 Here is the caller graph for this function:host to network conversion of integer
| val | integrer to convert | 
 Here is the caller graph for this function:
 Here is the caller graph for this function:network to host conversion of integer
| val | integrer to convert | 
 Here is the caller graph for this function:
 Here is the caller graph for this function:host to network conversion of short integer
| val | short integrer to convert | 
 Here is the caller graph for this function:
 Here is the caller graph for this function: