summaryrefslogtreecommitdiff
path: root/src/network/networkd-dhcp4.h
Commit message (Collapse)AuthorAgeFilesLines
* network: move and rename network_apply_anonymize_if_set()Yu Watanabe2021-04-141-0/+1
|
* tree-wide: use -EINVAL for enum invalid valuesZbigniew Jędrzejewski-Szmek2021-02-101-1/+1
| | | | | | | | | As suggested in https://github.com/systemd/systemd/pull/11484#issuecomment-775288617. This does not touch anything exposed in src/systemd. Changing the defines there would be a compatibility break. Note that tests are broken after this commit. They will be fixed in the next one.
* Merge pull request #17474 from yuwata/network-drop-link-deserialization-logicYu Watanabe2020-11-271-2/+0
|\ | | | | network: drop link deserialization logic
| * network: set previous DHCP4 address in link->addresses_foreignYu Watanabe2020-10-281-2/+0
| | | | | | | | | | | | | | Previously, the address was taken from the state file, but DHCP4_ADDRESS= entry was dropped by 46986251d6eb4c78bb56c080ce310fd2b1f9439f. Moreover, the link state file is always removed when networkd is stopping. Let's take the address from the list of enumerated addresses.
* | license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|/
* network: check feature is enabled in xxx_configure()Yu Watanabe2020-10-071-1/+0
|
* network: introduce dhcp4_update_mac()Yu Watanabe2020-10-071-1/+1
|
* network: introduce link_deserialize_dhcp4()Yu Watanabe2020-10-071-0/+2
|
* network: dhcp4: also release old lease in dhcp_lease_lost()Yu Watanabe2020-07-161-1/+0
| | | | | The lease lost may happen during renewing address. If it happens, assertion hits in dhcp4_release_old_lease().
* DHCPv4: client add support for DHCP server allow listSusant Sahani2020-07-061-1/+1
|
* tree-wide: avoid some loaded termsLennart Poettering2020-06-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | https://tools.ietf.org/html/draft-knodel-terminology-02 https://lwn.net/Articles/823224/ This gets rid of most but not occasions of these loaded terms: 1. scsi_id and friends are something that is supposed to be removed from our tree (see #7594) 2. The test suite defines an API used by the ubuntu CI. We can remove this too later, but this needs to be done in sync with the ubuntu CI. 3. In some cases the terms are part of APIs we call or where we expose concepts the kernel names the way it names them. (In particular all remaining uses of the word "slave" in our codebase are like this, it's used by the POSIX PTY layer, by the network subsystem, the mount API and the block device subsystem). Getting rid of the term in these contexts would mean doing some major fixes of the kernel ABI first. Regarding the replacements: when whitelist/blacklist is used as noun we replace with with allow list/deny list, and when used as verb with allow-list/deny-list.
* network: DHCPv4- Allow to set DHCP lease lifetimeSusant Sahani2020-05-201-0/+1
|
* network: DHCPv6 - Add support to send user classSusant Sahani2020-05-191-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Frame 115: 171 bytes on wire (1368 bits), 171 bytes captured (1368 bits) on interface veth-peer, id 0 Ethernet II, Src: 1e:04:f8:b8:2f:d4 (1e:04:f8:b8:2f:d4), Dst: IPv6mcast_01:00:02 (33:33:00:01:00:02) Internet Protocol Version 6, Src: fe80::1c04:f8ff:feb8:2fd4, Dst: ff02::1:2 User Datagram Protocol, Src Port: 546, Dst Port: 547 DHCPv6 Message type: Solicit (1) Transaction ID: 0x673257 Rapid Commit Option: Rapid Commit (14) Length: 0 Identity Association for Non-temporary Address Option: Identity Association for Non-temporary Address (3) Length: 12 Value: d0cc94090000000000000000 IAID: d0cc9409 T1: 0 T2: 0 Fully Qualified Domain Name Option: Fully Qualified Domain Name (39) Length: 6 Value: 01045a657573 0000 0... = Reserved: 0x00 .... .0.. = N bit: Server should perform DNS updates .... ..0. = O bit: Server has not overridden client's S bit preference .... ...1 = S bit: Server should perform forward DNS updates Client FQDN: Zeus User Class Option: User Class (15) Length: 17 Value: 000f68656c6c6f30313233343031323334 Identity Association for Prefix Delegation Option: Identity Association for Prefix Delegation (25) Length: 12 Value: d0cc94090000000000000000 IAID: d0cc9409 T1: 0 T2: 0 Option Request Option: Option Request (6) Length: 10 Value: 001700180038001f000e Requested Option code: DNS recursive name server (23) Requested Option code: Domain Search List (24) Requested Option code: NTP Server (56) Requested Option code: Simple Network Time Protocol Server (31) Requested Option code: Rapid Commit (14) Client Identifier Option: Client Identifier (1) Length: 14 Value: 00020000ab11d258482fc7eee651 DUID: 00020000ab11d258482fc7eee651 DUID Type: assigned by vendor based on Enterprise number (2) Enterprise ID: Tom Gundersen (systemd) (43793) Identifier: d258482fc7eee651 Elapsed time Option: Elapsed time (8) Length: 2 Value: 0bd0 Elapsed time: 30240ms
* network: DHCPv6 - Add support set arbitary request optionsSusant Sahani2020-05-171-1/+0
|
* network: DHCPv4 - introduce The Manufacturer Usage Description (MUD)Susant Sahani2020-03-301-0/+1
|
* network: Move config_parse_ip_service_type to networkd-dhcp4.c andSusant Sahani2020-03-031-0/+1
| | | | rename
* network: unify config_parse_dhcp_server_option_data() and ↵Yu Watanabe2019-11-181-1/+0
| | | | config_parse_dhcp_send_option()
* network: rename SendOptions= to SendOption=Zbigniew Jędrzejewski-Szmek2019-10-301-1/+1
| | | | | | | | | The name with plural made more sense where multiple options could be specified in one line. After changes in the pull request, this option only accepts one value, so from users' POV it should be singular. (The field in the data structure remains plural, because it actually stores multiple values.)
* network: DHCPv4 client: add support to send arbitary option and dataSusant Sahani2019-10-151-0/+1
|
* network dhcp4: Add support send request options in a generic mannerSusant Sahani2019-09-201-0/+1
|
* network: move conf parsers and function prototypesYu Watanabe2019-06-301-0/+28