IPv6 specific configuration

Overview

// global functions

te_errno tapi_cfg_ip6_get_linklocal_addr(const char* ta, const char* iface, struct sockaddr_in6* p_addr);
te_errno tapi_cfg_ip6_get_mcastall_addr(const char* ta, const char* iface, struct sockaddr_in6* p_addr);

// macros

#define IPV6_ADDR_LEN

Detailed Documentation

Global Functions

te_errno tapi_cfg_ip6_get_linklocal_addr(const char* ta, const char* iface, struct sockaddr_in6* p_addr)

Get link-local address of the interface.

Parameters:

ta

Test Agent name

iface

Interface name

p_addr

Location for pointer to sockaddr with IPv6 link-local address

Returns:

Status code.

te_errno tapi_cfg_ip6_get_mcastall_addr(const char* ta, const char* iface, struct sockaddr_in6* p_addr)

Get multicast all link-local address of the interface.

Parameters:

ta

Test Agent name

iface

Interface name

p_addr

Location for pointer to sockaddr with IPv6 multicast address

Returns:

Status code.