Home
last modified time | relevance | path

Searched refs:message_type (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/libsystemd-network/
Ddhcp-option.c277 uint8_t *message_type, char **error_message, dhcp_option_callback_t cb, in parse_options() argument
309 if (message_type) in parse_options()
310 *message_type = *option; in parse_options()
364 uint8_t message_type = 0; in dhcp_option_parse() local
375 … r = parse_options(message->options, len, &overload, &message_type, &error_message, cb, userdata); in dhcp_option_parse()
380 …r = parse_options(message->file, sizeof(message->file), NULL, &message_type, &error_message, cb, u… in dhcp_option_parse()
386 …r = parse_options(message->sname, sizeof(message->sname), NULL, &message_type, &error_message, cb,… in dhcp_option_parse()
391 if (message_type == 0) in dhcp_option_parse()
394 if (_error_message && IN_SET(message_type, DHCP_NAK, DHCP_DECLINE)) in dhcp_option_parse()
397 return message_type; in dhcp_option_parse()
Dsd-dhcp-server.c927 … int message_type = dhcp_option_parse(message, sizeof(DHCPMessage) + opt_length, NULL, NULL, NULL); in dhcp_server_relay_message() local
928 if (message_type < 0) in dhcp_server_relay_message()
929 return message_type; in dhcp_server_relay_message()
940 bool l2_broadcast = requested_broadcast(message) || message_type == DHCP_NAK; in dhcp_server_relay_message()
941 const be32_t destination = message_type == DHCP_NAK ? INADDR_ANY : message->ciaddr; in dhcp_server_relay_message()
/systemd-251/src/network/
Dnetworkd-link.c2645 uint16_t message_type; in link_getlink_handler_internal() local
2662 r = sd_netlink_message_get_type(m, &message_type); in link_getlink_handler_internal()
2667 if (message_type != RTM_NEWLINK) { in link_getlink_handler_internal()