Home
last modified time | relevance | path

Searched refs:mud_url (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/libsystemd-network/
Dsd-lldp-tx.c64 char *mud_url; member
89 free(lldp_tx->mud_url); in lldp_tx_free()
207 int sd_lldp_tx_set_mud_url(sd_lldp_tx *lldp_tx, const char *mud_url) { in sd_lldp_tx_set_mud_url() argument
211 if (!isempty(mud_url)) { in sd_lldp_tx_set_mud_url()
214 if (strlen(mud_url) >= 256) in sd_lldp_tx_set_mud_url()
217 if (!http_url_is_valid(mud_url)) in sd_lldp_tx_set_mud_url()
221 return free_and_strdup(&lldp_tx->mud_url, empty_to_null(mud_url)); in sd_lldp_tx_set_mud_url()
242 2 + sizeof(SD_LLDP_OUI_IANA_MUD) + strlen_ptr(lldp_tx->mud_url) + in lldp_tx_calculate_maximum_packet_size()
431 lldp_tx->mud_url); in lldp_tx_create_packet()
Dlldp-neighbor.c67 free(n->mud_url); in lldp_neighbor_free()
311 … r = parse_string(n->lldp_rx, &n->mud_url, p + sizeof(SD_LLDP_OUI_IANA_MUD), in lldp_neighbor_parse()
615 if (!n->mud_url) in sd_lldp_neighbor_get_mud_url()
618 *ret = n->mud_url; in sd_lldp_neighbor_get_mud_url()
Dlldp-neighbor.h57 char *mud_url; member
/systemd-251/src/systemd/
Dsd-lldp-tx.h63 int sd_lldp_tx_set_mud_url(sd_lldp_tx *lldp_tx, const char *mud_url);