Systemd/src/systemd
Susant Sahani 564ca98484 networkd: dhcp server Support Vendor specific 43
Implementes https://tools.ietf.org/html/rfc2132

```
[DHCPServer]
SendRawOption=26:uint32:1400
SendRawOption=23:uint8:10

```
Frame 448: 350 bytes on wire (2800 bits), 350 bytes captured (2800 bits) on interface 0
Linux cooked capture
Internet Protocol Version 4, Src: 192.168.5.1, Dst: 192.168.5.11
User Datagram Protocol, Src Port: 67, Dst Port: 68
Dynamic Host Configuration Protocol (ACK)
    Message type: Boot Reply (2)
    Hardware type: Ethernet (0x01)
    Hardware address length: 6
    Hops: 0
    Transaction ID: 0x71f8de9d
    Seconds elapsed: 0
    Bootp flags: 0x0000 (Unicast)
    Client IP address: 0.0.0.0
    Your (client) IP address: 192.168.5.11
    Next server IP address: 0.0.0.0
    Relay agent IP address: 0.0.0.0
    Client MAC address: 1e:04:f8:b8:2f:d4 (1e:04:f8:b8:2f:d4)
    Client hardware address padding: 00000000000000000000
    Server host name not given
    Boot file name not given
    Magic cookie: DHCP
    Option: (53) DHCP Message Type (ACK)
        Length: 1
        DHCP: ACK (5)
    Option: (51) IP Address Lease Time
        Length: 4
        IP Address Lease Time: (3600s) 1 hour
    Option: (1) Subnet Mask (255.255.255.0)
        Length: 4
        Subnet Mask: 255.255.255.0
    Option: (3) Router
        Length: 4
        Router: 192.168.5.1
    Option: (6) Domain Name Server
        Length: 4
        Domain Name Server: 192.168.5.1
    Option: (42) Network Time Protocol Servers
        Length: 4
        Network Time Protocol Server: 192.168.5.1
    Option: (101) TCode
        Length: 13
        TZ TCode: Europe/Berlin
    Option: (43) Vendor-Specific Information
        Length: 9
        Value: 1701311a0431343030
    Option: (54) DHCP Server Identifier (192.168.5.1)
        Length: 4
        DHCP Server Identifier: 192.168.5.1
    Option: (255) End
        Option End: 255

```
2019-10-31 09:03:43 +09:00
..
_sd-common.h Use c99 static array size declarations in exported functions too 2019-01-04 12:37:25 +01:00
meson.build meson: use cross compilation compatible c++ check 2018-12-28 12:17:06 +09:00
sd-bus-protocol.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-bus-vtable.h codespell: fix spelling errors 2019-04-29 16:47:18 +02:00
sd-bus.h sd-bus: add define for the maximum name length 2019-04-11 14:07:22 +02:00
sd-daemon.h sd-daemon: don't mention strerror_safe() in examples in public headers 2019-07-23 15:56:41 +02:00
sd-device.h sd-device: drop priority and description from sd_device_monitor_attach_event() and sd_device_monitor_start() 2018-11-10 22:53:00 +09:00
sd-dhcp-client.h network: DHCPv4 client: add support to send arbitary option and data 2019-10-15 00:14:02 +09:00
sd-dhcp-lease.h network: DHCP server Add support to transmit SIP server 2019-09-20 21:22:23 +09:00
sd-dhcp-server.h networkd: dhcp server Support Vendor specific 43 2019-10-31 09:03:43 +09:00
sd-dhcp6-client.h network: DHCPv6 client add support for prefix delegation hint 2019-10-01 23:52:40 +09:00
sd-dhcp6-lease.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-event.h sd-event: add sd_event_source_disable_unrefp() too 2019-05-10 16:55:37 +02:00
sd-hwdb.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-id128.h tree-wide: drop duplicated blank lines 2019-07-15 18:41:27 +02:00
sd-ipv4acd.h tree-wide: drop copyright headers from frequent contributors 2018-06-20 11:58:53 +02:00
sd-ipv4ll.h tree-wide: use proper unicode © instead of (C) where we can 2018-06-14 10:20:20 +02:00
sd-journal.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-lldp.h Merge pull request #11241 from bengal/lldp-802-3-subtypes 2019-01-06 18:15:51 +01:00
sd-login.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00
sd-messages.h core: ExecCondition= for services 2019-07-17 11:35:02 +02:00
sd-ndisc.h ndisc: improve debug log message 2018-11-06 20:15:09 +09:00
sd-netlink.h network: introduce TrafficControl 2019-10-30 09:33:51 +09:00
sd-network.h network: DHCP server Add support to transmit SIP server 2019-09-20 21:22:23 +09:00
sd-path.h sd-path: drop redundant "= 0ULL" assignment in enum 2018-11-09 17:19:45 +01:00
sd-radv.h network: Add support to advertie ipv6 route 2019-09-17 12:09:59 +02:00
sd-resolve.h tree-wide: add whitespace between type and variable name 2018-12-04 09:29:54 +01:00
sd-utf8.h tree-wide: drop empty lines in the begining of comments 2018-06-29 10:50:23 +09:00