[Swan-commit] Changes to ref refs/heads/main

Andrew Cagney cagney at vault.libreswan.fi
Wed Mar 10 19:41:27 UTC 2021


New commits:
commit 0b5f86b0b32122f4c0d345f806db5cce19968c5f
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Mar 9 13:48:30 2021 -0500

    ip: in jam_*() always check for an unknown family/type

commit 81ab65c56c4c99d9c1c0eeb17813648462ed051b
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Mar 9 12:53:10 2021 -0500

    ip: in *_type(IP) always use *_is_unset(IP)
    
    return NULL when IP==NULL, unset, or unknown
    update address and endpoint; prune redundant
    checks for both *_is_unset() && *_type()==NULL.
    
    ip: exploit *_type() returning NULL for both NULL and unset

commit f8982f2a0ab39be0c4457ed2d50a87a3e9a2a301
Author: Andrew Cagney <cagney at gnu.org>
Date:   Wed Mar 10 12:48:17 2021 -0500

    ip: clarify range_size()'s overflow code
    
    - compute low-high using bytes and then check its size
    - always return UINT32_MAX when overflowing
    - update tests

commit 301d066ec3edbb95ee9e6d08c46d0cad683c4d3b
Author: Andrew Cagney <cagney at gnu.org>
Date:   Tue Mar 9 20:48:41 2021 -0500

    ip: extract byte primitives and move to ip_bytes.[hc]
    
    - bytes_prefix_length()
    - bytes_from_blit()
    - bytes_first_set_bit()
    - bytes_diff()



More information about the Swan-commit mailing list