pike.git / lib / modules / NetUtils.pmod

version» Context lines:

pike.git/lib/modules/NetUtils.pmod:1030:    res = res[..search(res,GLOBALV6)-1] + prio + (res[search(res,GLOBALV6)..]-prio);    }    if( !v4 )    {    res -= ({ LOCALHOST, LOCAL, GLOBAL, MULTICAST, PRIVATE, });    }       return res;   }    - //! Returns network types in priority order according to RFC 3484. + //! Returns network types in priority order according to @rfc{3484@}.   //!   //! This function assumes a network category (ipv4 or ipv6) is   //! available if the local host has a configured address (excluding   //! localhost) of that network type.   //!   //! This function will always list the v6 and non-v6 addresses   //! separately.   array(NetworkType) connectable_network_types()   {    if( __c_n_t ) return __c_n_t;