Searched refs:error_len (Results 1 – 3 of 3) sorted by relevance
395 u16_t error_len = LWIP_MIN(len, sizeof(pppoe_error_tmp)-1); in pppoe_dispatch_disc_pkt() local396 strncpy(pppoe_error_tmp, (char*)pb->payload + off + sizeof(pt), error_len); in pppoe_dispatch_disc_pkt()397 pppoe_error_tmp[error_len-1] = '\0'; in pppoe_dispatch_disc_pkt()
490 u16_t error_len = LWIP_MIN(len, sizeof(error_tmp)-1); in pppoe_disc_input() local491 strncpy(error_tmp, (char*)pb->payload + off + sizeof(pt), error_len); in pppoe_disc_input()492 error_tmp[error_len] = '\0'; in pppoe_disc_input()
489 u16_t error_len = LWIP_MIN(len, sizeof(error_tmp)-1); in pppoe_disc_input() local490 strncpy(error_tmp, (char*)pb->payload + off + sizeof(pt), error_len); in pppoe_disc_input()491 error_tmp[error_len] = '\0'; in pppoe_disc_input()
Completed in 8 milliseconds