Searched refs:ret_len (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/libsystemd-network/ |
D | dhcp-identifier.c | 67 …t8_t *addr, size_t addr_len, uint16_t arp_type, usec_t t, struct duid *ret_duid, size_t *ret_len) { in dhcp_identifier_set_duid_llt() argument 72 assert(ret_len); in dhcp_identifier_set_duid_llt() 94 *ret_len = offsetof(struct duid, llt.haddr) + addr_len; in dhcp_identifier_set_duid_llt() 99 …(const uint8_t *addr, size_t addr_len, uint16_t arp_type, struct duid *ret_duid, size_t *ret_len) { in dhcp_identifier_set_duid_ll() argument 102 assert(ret_len); in dhcp_identifier_set_duid_ll() 118 *ret_len = offsetof(struct duid, ll.haddr) + addr_len; in dhcp_identifier_set_duid_ll() 123 int dhcp_identifier_set_duid_en(bool test_mode, struct duid *ret_duid, size_t *ret_len) { in dhcp_identifier_set_duid_en() argument 129 assert(ret_len); in dhcp_identifier_set_duid_en() 149 *ret_len = offsetof(struct duid, en.id) + sizeof(ret_duid->en.id); in dhcp_identifier_set_duid_en() 152 …0, 0x02, 0x00, 0x00, 0xab, 0x11, 0x61, 0x77, 0x40, 0xde, 0x13, 0x42, 0xc3, 0xa2 }, *ret_len) == 0); in dhcp_identifier_set_duid_en() [all …]
|
D | dhcp-identifier.h | 58 int dhcp_identifier_set_duid_en(bool test_mode, struct duid *ret_duid, size_t *ret_len); 67 size_t *ret_len);
|
D | sd-dhcp6-lease.c | 144 int dhcp6_lease_get_clientid(sd_dhcp6_lease *lease, uint8_t **ret_id, size_t *ret_len) { in dhcp6_lease_get_clientid() argument 152 if (ret_len) in dhcp6_lease_get_clientid() 153 *ret_len = lease->clientid_len; in dhcp6_lease_get_clientid() 176 int dhcp6_lease_get_serverid(sd_dhcp6_lease *lease, uint8_t **ret_id, size_t *ret_len) { in dhcp6_lease_get_serverid() argument 184 if (ret_len) in dhcp6_lease_get_serverid() 185 *ret_len = lease->serverid_len; in dhcp6_lease_get_serverid()
|
D | dhcp6-lease-internal.h | 50 int dhcp6_lease_get_clientid(sd_dhcp6_lease *lease, uint8_t **ret_id, size_t *ret_len); 52 int dhcp6_lease_get_serverid(sd_dhcp6_lease *lease, uint8_t **ret_id, size_t *ret_len);
|
/systemd-251/src/basic/ |
D | hexdecoct.c | 111 int unhexmem_full(const char *p, size_t l, bool secure, void **ret, size_t *ret_len) { in unhexmem_full() argument 151 if (ret_len) in unhexmem_full() 152 *ret_len = (size_t) (z - buf); in unhexmem_full()
|