42 #define DHCP_IPV4_BROADCAST_ADDRESS "255.255.255.255"
51 static const uint16_t BOOTP_BROADCAST = 32768L;
251 static const uint16_t DHCP4_CLIENT_PORT = 68;
252 static const uint16_t DHCP4_SERVER_PORT = 67;
256 static const uint32_t DHCP_OPTIONS_COOKIE = 0x63825363;
260 static const uint16_t RAI_OPTION_AGENT_CIRCUIT_ID = 1;
261 static const uint16_t RAI_OPTION_REMOTE_ID = 2;
263 static const uint16_t RAI_OPTION_DOCSIS_DEVICE_CLASS = 4;
264 static const uint16_t RAI_OPTION_LINK_SELECTION = 5;
265 static const uint16_t RAI_OPTION_SUBSCRIBER_ID = 6;
266 static const uint16_t RAI_OPTION_RADIUS = 7;
267 static const uint16_t RAI_OPTION_AUTH = 8;
268 static const uint16_t RAI_OPTION_VSI = 9;
269 static const uint16_t RAI_OPTION_RELAY_FLAGS = 10;
270 static const uint16_t RAI_OPTION_SERVER_ID_OVERRIDE = 11;
271 static const uint16_t RAI_OPTION_RELAY_ID = 12;
272 static const uint16_t RAI_OPTION_ACCESS_TECHNO_TYPE = 13;
273 static const uint16_t RAI_OPTION_ACCESS_NETWORK_NAME = 14;
274 static const uint16_t RAI_OPTION_ACCESS_POINT_NAME = 15;
275 static const uint16_t RAI_OPTION_ACCESS_POINT_BSSID = 16;
276 static const uint16_t RAI_OPTION_OPERATOR_ID = 17;
277 static const uint16_t RAI_OPTION_OPERATOR_REALM = 18;
278 static const uint16_t RAI_OPTION_RELAY_PORT = 19;
279 static const uint16_t RAI_OPTION_VIRTUAL_SUBNET_SELECT = 151;
280 static const uint16_t RAI_OPTION_VIRTUAL_SUBNET_SELECT_CTRL = 152;
287 #define FQDN_NO_CLIENT_UPDATE 1
288 #define FQDN_SERVER_UPDATE 2
289 #define FQDN_ENCODED 3
290 #define FQDN_RCODE1 4
291 #define FQDN_RCODE2 5
292 #define FQDN_HOSTNAME 6
293 #define FQDN_DOMAINNAME 7
295 #define FQDN_SUBOPTION_COUNT 8
298 #define VENDOR_ISC_SUBOPTIONS 2495
303 static const uint8_t CLIENT_ID_OPTION_TYPE_DUID = 255;
Message Type option missing.
The traffic captures we have from cable modems as well as this list by IANA: http://www.iana.org/assignments/ arp-parameters/arp-parameters.xhtml suggest that Ethernet (1) should be used in DOCSIS environment.
not specified or undefined
HType
Possible values for hardware type (htype) field.
Defines the logger used by the top-level component of kea-dhcp-ddns.