Searched refs:inbuf (Results 1 – 2 of 2) sorted by relevance
/net-tools-3.4.0/ |
D | tunslip6.c | 78 void write_to_serial(int outfd, void *inbuf, int len); 175 unsigned char inbuf[2000]; in serial_to_tun() member 191 if(inbufptr >= sizeof(uip.inbuf)) { in serial_to_tun() 215 if(uip.inbuf[0] == '!') { in serial_to_tun() 216 if(uip.inbuf[1] == 'M') { in serial_to_tun() 221 macs[pos++] = uip.inbuf[2 + i]; in serial_to_tun() 239 } else if(uip.inbuf[0] == '?') { in serial_to_tun() 240 if(uip.inbuf[1] == 'P') { in serial_to_tun() 266 } else if(uip.inbuf[0] == DEBUG_LINE_MARKER) { in serial_to_tun() 267 fwrite(uip.inbuf + 1, inbufptr - 1, 1, stdout); in serial_to_tun() [all …]
|
/net-tools-3.4.0/mbedtls-2.4.0/tests/suites/ |
D | test_suite_cipher.function | 141 unsigned char inbuf[64]; 186 memset( inbuf, 0x20 + i, sizeof( inbuf ) ); 206 /* encode length number of bytes from inbuf */ 207 TEST_ASSERT( 0 == mbedtls_cipher_update( &ctx_enc, inbuf, length, encbuf, &outlen ) ); 245 TEST_ASSERT( 0 == memcmp(inbuf, decbuf, length) ); 268 unsigned char inbuf[64]; 278 memset( inbuf, 5, 64 ); 299 /* encode length number of bytes from inbuf */ 300 TEST_ASSERT( 0 == mbedtls_cipher_update( &ctx, inbuf, length, encbuf, &outlen ) ); 374 unsigned char inbuf[64]; [all …]
|