Lines Matching refs:addr_len
89 uint8_t addr_len = sizeof(struct in_addr); in icmpv4_update_record_route() local
142 if ((ptr + addr_len) > opt_len) { in icmpv4_update_record_route()
147 if (net_pkt_write_u8(reply, ptr + addr_len)) { in icmpv4_update_record_route()
164 if (net_pkt_write(reply, (void *)src, addr_len)) { in icmpv4_update_record_route()
168 len += addr_len; in icmpv4_update_record_route()
169 offset += addr_len; in icmpv4_update_record_route()
197 uint8_t addr_len = sizeof(struct in_addr); in icmpv4_update_time_stamp() local
275 new_entry_len = addr_len + sizeof(uint32_t); in icmpv4_update_time_stamp()
318 if (net_pkt_write(reply, (void *)src, addr_len)) { in icmpv4_update_time_stamp()
322 len += addr_len; in icmpv4_update_time_stamp()
330 offset += (addr_len + sizeof(uint32_t)); in icmpv4_update_time_stamp()