New commits:
commit a082cee331dce836681819a0087cf31a9f928d9f
Author: Andrew Cagney <[email protected]>
Date:   Sat Aug 17 09:52:43 2019 -0400

    ip: add address_is_specified() et.al., test
    
    This means there's the mutually exclusive:
    
        address_is_invalid() (really address_type() == NULL)
            AF_UNSPEC==0
        i.e., ip_address was initialized to zero
        address_is_any()
            AF_INET,AF_INET6; bytes==0;
        IPv6 calls this the unspecified address; headers
        mash up the terms ANY and UNSPECIFIED.
        address_is_specified()
            AF_INET,AF_INET6, bytes != 0
    
    (any other AF_* value will abort)
    
    A more correct term for "specified" might be "unicast" (as in unicast,
    anycast, multicast), but then there's the problem of a "unicast"
    address being indistinguishable from an "anycast" address (and in
    pluto "any" refers to the zero address, ulgh).

_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit

Reply via email to