Searched refs:dhcp_option_parse (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/libsystemd-network/ |
D | test-dhcp-option.c | 79 assert_se(dhcp_option_parse(&message, 0, NULL, NULL, NULL) == -EINVAL); in test_invalid_buffer_length() 80 … assert_se(dhcp_option_parse(&message, sizeof(DHCPMessage) - 1, NULL, NULL, NULL) == -EINVAL); in test_invalid_buffer_length() 105 assert_se(dhcp_option_parse(message, len, NULL, NULL, NULL) >= 0); in test_message_init() 262 … assert_se((res = dhcp_option_parse(message, buflen, test_options_cb, NULL, NULL)) == -ENOMSG); in test_options() 264 … assert_se((res = dhcp_option_parse(message, buflen, test_options_cb, desc, NULL)) >= 0); in test_options() 267 … assert_se((res = dhcp_option_parse(message, buflen, test_options_cb, desc, NULL)) < 0); in test_options() 276 … assert_se(dhcp_option_parse(message, sizeof(DHCPMessage) + desc->len, NULL, NULL, NULL) >= 0); in test_option_removal() 278 … assert_se(dhcp_option_parse(message, sizeof(DHCPMessage) + desc->len, NULL, NULL, NULL) < 0); in test_option_removal()
|
D | test-dhcp-client.c | 261 res = dhcp_option_parse(dhcp, size, check_options, NULL, NULL); in test_discover_message_verify() 432 res = dhcp_option_parse(request, size, check_options, NULL, NULL); in test_addr_acq_recv_request() 462 res = dhcp_option_parse(discover, size, check_options, NULL, NULL); in test_addr_acq_recv_discover()
|
D | dhcp-internal.h | 53 int dhcp_option_parse(DHCPMessage *message, size_t len, dhcp_option_callback_t cb, void *userdata, …
|
D | dhcp-option.c | 361 int dhcp_option_parse(DHCPMessage *message, size_t len, dhcp_option_callback_t cb, void *userdata, … in dhcp_option_parse() function
|
D | sd-dhcp-client.c | 1525 r = dhcp_option_parse(offer, len, dhcp_lease_parse_options, lease, NULL); in client_handle_offer() 1568 r = dhcp_option_parse(force, len, NULL, NULL, NULL); in client_handle_forcerenew() 1619 r = dhcp_option_parse(ack, len, dhcp_lease_parse_options, lease, &error_message); in client_handle_ack()
|
D | sd-dhcp-server.c | 927 … int message_type = dhcp_option_parse(message, sizeof(DHCPMessage) + opt_length, NULL, NULL, NULL); in dhcp_server_relay_message() 1084 type = dhcp_option_parse(message, length, parse_request, req, &error_message); in dhcp_server_handle_message()
|