New commits:
commit dadf0a0ea4fc8e9bd211508625d5f2d4ea828d76
Author: Andrew Cagney <[email protected]>
Date: Mon Jun 28 13:58:03 2021 -0400
kernel: add encap_rules_from_spd(), use to build policy rules
This replaces three blocks of code building the list rules(BSD) /
temp(xfrm) that are passed into raw_policy() and onto the kernel.
In the case of sec_labels it also fixes the rule order.
- struct encap_rules + struct encap_rule replaces struct
pfkey_policy_info.
- pfkey_policy_info .mode = {tunnel,transport} is replaced by
encap_rules .tunnel.
- .proto type changes from unsigned to enum encap_proto (only allows
UNDEF, ESP, AH, and IPCOMP).
_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit