Import line: | GstNetbuffer = imports.gi.GstNetbuffer; |
GIR File: | GstNetbuffer-0.10.gir |
C documentation: | GstNetbuffer |
Namespace : | GstNetbuffer |
Show / Hide Inherited methods, properties and signals |
None |
Method / Constructor | Defined By | |
---|---|---|
GstNetbuffer.c_new
()
:
GstNetbuffer.NetBuffer
Create a new network buffer.
Create a new network buffer.
|
GstNetbuffer | |
Compare two GstNetAddress structures
Compare two GstNetAddress structures
|
GstNetbuffer | |
GstNetbuffer.netaddress_get_address_bytes
(NetAddress naddr, Number address, Object out_values)
:
Number
Get just the address bytes stored in naddr into address.
Get just the address bytes stored in naddr into address. Note that port is expressed in network byte order, use g_ntohs() to convert it to host order. IP4 addresses are also stored in network byte order.
|
GstNetbuffer | |
Get the IPv4 address stored in naddr into address.
Get the IPv4 address stored in naddr into address. This function requires that the address type of naddr is of type GST_NET_TYPE_IP4. Note that port and address are expressed in network byte order, use g_ntohs() and g_ntohl() to convert them to host order.
|
GstNetbuffer | |
GstNetbuffer.netaddress_get_ip6_address
(NetAddress naddr, Number address, Object out_values)
:
Boolean
Get the IPv6 address stored in naddr into address.
Get the IPv6 address stored in naddr into address. If naddr is of type GST_NET_TYPE_IP4, the transitional IP6 address is returned. Note that port is expressed in network byte order, use g_ntohs() to convert it to host order.
|
GstNetbuffer | |
Get the type of address stored in naddr.
Get the type of address stored in naddr.
|
GstNetbuffer | |
GstNetbuffer.netaddress_set_address_bytes
(NetAddress naddr, NetType type, Number address, Number port)
:
Number
Set just the address bytes stored in naddr into address.
Set just the address bytes stored in naddr into address. Note that port must be expressed in network byte order, use g_htons() to convert it to network byte order order. IP4 address bytes must also be stored in network byte order.
|
GstNetbuffer | |
Set naddr with the IPv4 address and port pair.
Set naddr with the IPv4 address and port pair. Note that port and address must be expressed in network byte order, use g_htons() and g_htonl() to convert them to network byte order.
|
GstNetbuffer | |
Set naddr with the IPv6 address and port pair.
Set naddr with the IPv6 address and port pair. Note that port must be expressed in network byte order, use g_htons() to convert it to network byte order.
|
GstNetbuffer | |
Copies a string representation of naddr into dest.
Copies a string representation of naddr into dest. Up to len bytes are copied. enough
|
GstNetbuffer |
None |