Beispiel #1
0
int tcp_get_bind_iface(tcp_sock_t *tcp, char **ifname)
{
	ASSERT(tcp);
	ASSERT(ifname);

	return ip_get_bind_iface(&tcp->ip, ifname);
}
Beispiel #2
0
int tcp_get_bind_iface(tcp_sock_t *p_self, char **ifname)
{
	if (p_self == NULL || ifname == NULL) {
		return RC_INVALID_POINTER;
	}

	return ip_get_bind_iface(&p_self->super, ifname);
}