Home
last modified time | relevance | path

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

/openthread-2.7.6/tools/spi-hdlc-adapter/
Dspi-hdlc-adapter.c198 static int sMTU = MAX_FRAME_SIZE - HEADER_LEN; variable
1093 ret = (int)read(sHdlcInputFd, &sSpiTxFrameBuffer[HEADER_LEN], (size_t)sMTU); in pull_raw()
1682 sMTU = atoi(optarg); in main()
1683 if (sMTU > MAX_FRAME_SIZE - HEADER_LEN) in main()
1685 syslog(LOG_ERR, "Specified MTU of %d is too large, maximum is %d bytes.", sMTU, in main()
1689 if (sMTU < 1) in main()
1691 syslog(LOG_ERR, "Specified MTU of %d is too small, minimum is 1 byte.", sMTU); in main()
1694 syslog(LOG_NOTICE, "MTU set to %d bytes", sMTU); in main()