WARNING: The online documentation has moved to https://docs.pjsip.org.

Visit the new documentation at https://docs.pjsip.org:

BLOG | DOCUMENTATION | GITHUB

Home --> Documentations --> PJLIB Reference

#include <ip_helper.h>

Data Fields

int af
 
pj_bool_t omit_deprecated_ipv6
 

Detailed Description

This structure describes options for pj_enum_ip_interface2().

Field Documentation

◆ af

int pj_enum_ip_option::af

Family of the address to be retrieved. Application may specify pj_AF_UNSPEC() to retrieve all addresses, or pj_AF_INET() or pj_AF_INET6() to retrieve interfaces with specific address family.

Default: pj_AF_UNSPEC().

◆ omit_deprecated_ipv6

pj_bool_t pj_enum_ip_option::omit_deprecated_ipv6

IPv6 addresses can have a DEPRECATED flag, if this flag is set, any DEPRECATED IPv6 address will be omitted. Currently this is only available for Linux, on other platforms, if this flag is set, pj_enum_ip_interface2() will return PJ_ENOTSUP.

Default: PJ_FALSE.


The documentation for this struct was generated from the following file:

 


PJLIB Open Source, high performance, small footprint, and very very portable framework
Copyright (C) 2006-2009 Teluu Inc.