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

Andrew Cagney cagney at vault.libreswan.fi
Sun Sep 29 13:49:30 UTC 2019


New commits:
commit ac71461481cf8de112229b034279c9697957a65a
Author: Andrew Cagney <cagney at gnu.org>
Date:   Fri Aug 23 11:05:59 2019 -0400

    ip: re-implement ip_address internals
    
    reduce:
    
    	union {
    		struct sockaddr_in v4;
    		struct sockaddr_in6 v6;
    	} u;
    
    to the fields that pluto needs, namely:
    
            int af;
            uint8_t bytes[/*16*/sizeof(struct in6_addr)];
            uint16_t hport;
    
    (note that the presence of .hport in ip_address is considered a bug -
    it should move to ip_endpoint; see ENDPOINT_TYPE)
    
    (#ifdef ADDRESS_TYPE is ripped out)



More information about the Swan-commit mailing list