Systemd/src/systemd
Susant Sahani af1c0de0e1 networkd: add support to send DHCP user class option (#7499)
This patch add support to enables to send User Class option code 77
RFC 3004.

This option MAY carry multiple User Classes.

The format of this option is as follows:

         Code   Len   Value
        +-----+-----+---------------------  . . .  --+
        | 77  |  N  | User Class Data ('Len' octets) |
        +-----+-----+---------------------  . . .  --+

   where Value consists of one or more instances of User Class Data.
   Each instance of User Class Data is formatted as follows:

         UC_Len_i     User_Class_Data_i
        +--------+------------------------  . . .  --+
        |  L_i   | Opaque-Data ('UC_Len_i' octets)   |
        +--------+------------------------  . . .  --+

UserClass=
A DHCPv4 client can use UserClass option to identify the type or category of user or applications
it represents. The information contained in this option is an string that represents the user class
of which the client is a member. Each class sets an identifying string of information to be used by the DHCP service to classify clients. Takes a whitespace-separated list.

UserClass= hello world how are you

Closes: RFC: #5134
2018-05-07 14:21:02 +02:00
..
_sd-common.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
meson.build tree-wide: drop license boilerplate 2018-04-06 18:58:55 +02:00
sd-bus-protocol.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-bus-vtable.h ISO-C compatibility: Remove empty initializer (#8713) 2018-04-12 21:31:19 +02:00
sd-bus.h sd-bus: allow description to be set for system/user busses (#8594) 2018-03-29 16:14:11 +02:00
sd-daemon.h core: add a new sd_notify() message for removing fds from the FD store again 2017-11-27 17:04:04 +01:00
sd-device.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-dhcp-client.h networkd: add support to send DHCP user class option (#7499) 2018-05-07 14:21:02 +02:00
sd-dhcp-lease.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-dhcp-server.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-dhcp6-client.h dhcp6: Add functionality to request DHCPv6 IA PD 2018-01-04 15:22:44 +02:00
sd-dhcp6-lease.h dhcp6: Add function to iterate and fetch delegated prefixes 2018-01-04 15:22:44 +02:00
sd-event.h Add fd close support to sd_event_source 2018-01-24 17:57:27 +01:00
sd-hwdb.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-id128.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-ipv4acd.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-ipv4ll.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-journal.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-lldp.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-login.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-messages.h Make taint message structured and add catalog entry 2017-12-14 22:14:38 +01:00
sd-ndisc.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-netlink.h networkd: add support for wireguard interface type 2018-01-09 14:00:49 +01:00
sd-network.h Add a "RequiredForOnline=" Link attribute for .network files (#7347) 2017-11-30 18:03:50 +01:00
sd-path.h systemd-path: allow the default search path to be queried 2018-04-16 16:09:46 +02:00
sd-radv.h radv: Add function to remove prefixes 2018-01-04 15:22:44 +02:00
sd-resolve.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00
sd-utf8.h Add SPDX license identifiers to source files under the LGPL 2017-11-19 19:08:15 +01:00