[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Sat Sep 7 21:18:51 UTC 2019
New commits:
commit a87fc6efbe3e50cb34b64ce57fcce1f771dc72eb
Author: Andrew Cagney <cagney at gnu.org>
Date: Wed Sep 4 09:25:12 2019 -0400
ip: replace portof() with subnet_[hn]port()
Where portof() returns a network-ordered short.
portof(subnet->addr) => subnet_nport(subnet)
ntohs(portof(subnet->addr) => subnet_hport(subnet)
portof(a) == portof(b) => subnet_hport(a) == subnet_hport(b)
(lets assume that one day ports will be stored in host order)
More information about the Swan-commit
mailing list