Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tree-wide: use ASSERT_PTR more | David Tardon | 2022-09-13 | 1 | -2/+1 |
| | |||||
* | network: dhcp-pd: fix prefix length of address assigned to upstream interface | Yu Watanabe | 2022-02-22 | 1 | -2/+2 |
| | | | | | | | | This effectively revert ab0c82d9f749cc397a6b7e0327ddb2c08cd7d7e0. I have no idea why I did that... Fixes #22559. | ||||
* | network: a couple of tweaks suggested by Coccinelle | Frantisek Sumsal | 2021-12-18 | 1 | -4/+3 |
| | |||||
* | network: dhcp-pd: rename [DHCPv6PrefixDelegation] -> [DHCPPrefixDelegation] | Yu Watanabe | 2021-12-07 | 1 | -3/+3 |
| | | | | | | | This just changes the names of settings, variables, functions, files, and so on. No functionality is changed. Preparation for supporting 6rd. | ||||
* | network: dhcp6pd: assign addresses in the delegated prefix instead of a ↵ | Yu Watanabe | 2021-12-07 | 1 | -2/+2 |
| | | | | subnet prefix /64 on upstream interface | ||||
* | network: fix memleak | Yu Watanabe | 2021-12-07 | 1 | -2/+2 |
| | | | | | | Follow-up for ab106a609bc253c0dc49667e981108110b3a87a5. Fixes CID#1467055. | ||||
* | network: eui64 address is supported only ethernet or infiniband | Yu Watanabe | 2021-12-06 | 1 | -5/+20 |
| | | | | So, this makes prefixstable mode will be used for other interface types. | ||||
* | network: make Token=prefixstable optionally take secret key | Yu Watanabe | 2021-11-14 | 1 | -22/+70 |
| | | | | Closes #21345. | ||||
* | network: make generate_eui64_address() static | Yu Watanabe | 2021-10-07 | 1 | -1/+1 |
| | |||||
* | network: introduce Token= setting in [IPv6Prefix] | Yu Watanabe | 2021-10-07 | 1 | -0/+5 |
| | | | | Closes #20149. | ||||
* | network: extend Token= setting in [DHCPv6PrefixDelegation] | Yu Watanabe | 2021-10-07 | 1 | -0/+5 |
| | | | | | Now the setting supports the same syntax as the one in the [IPv6AcceptRA] section. | ||||
* | network: introduce Token=eui64 | Yu Watanabe | 2021-10-07 | 1 | -0/+12 |
| | | | | So, now user can explicitly request EUI-64 algorithm to generate addresses. | ||||
* | network: address-genereation: introduce generate_addresses() | Yu Watanabe | 2021-10-07 | 1 | -3/+15 |
| | | | | Preparation for later commits. This does not change functionality. | ||||
* | network: address-generation: use in6_addr_hash_ops_free | Yu Watanabe | 2021-10-07 | 1 | -33/+25 |
| | | | | Also, downgrade error level, and caller logs the error. | ||||
* | network: address-generation: modernize config_parse_address_generation_type() | Yu Watanabe | 2021-10-07 | 1 | -57/+64 |
| | | | | | | | - drop unused _NONE type, - rename IPv6Token::prefix -> IPv6Token::address, - clear unused part of IPv6Token::address, - use Set, instead of OrderedSet. | ||||
* | network: address-generation: mask prefix with prefixlen for safety | Yu Watanabe | 2021-10-07 | 1 | -6/+11 |
| | |||||
* | network: address-generation: always start DAD counter from zero | Yu Watanabe | 2021-10-07 | 1 | -35/+62 |
| | | | | | The token is stored in Network, and the .network file may be applied to multiple links. | ||||
* | network: address-generation: always use the first 64 bits of the prefix | Yu Watanabe | 2021-10-07 | 1 | -7/+5 |
| | | | | | | | Hopefully, the prefix length is usually 64. Previously, if the prefix length is smaller than 64, the result address was undefined. | ||||
* | network: make generate_ipv6_eui_64_address() take prefix | Yu Watanabe | 2021-10-07 | 1 | -26/+21 |
| | | | | Also, rename the function. | ||||
* | network: fix prefixlen for reserved subnet anycast address | Yu Watanabe | 2021-10-07 | 1 | -11/+9 |
| | | | | | | | Then, the prefixlen is not a multiplier of 8, we need to use in6_addr_prefix_covers(). This also constify the reserved addresses, and rename macros. | ||||
* | network: move address generation methods to network-address-generation.[ch] | Yu Watanabe | 2021-10-07 | 1 | -0/+323 |