Lines Matching refs:length
131 int length = strlen(parameter); in build_parameters() local
135 if (length == 2 && parameter[0] == '-') { in build_parameters()
137 --length; in build_parameters()
142 if (offset + length >= size) { in build_parameters()
149 memcpy(¶meters[offset + 1], parameter, length); in build_parameters()
150 offset += 1 + length; in build_parameters()
220 int length = read(interface, packet, sizeof(packet)); in main() local
221 if (length > 0) { in main()
223 send(tunnel, packet, length, MSG_NOSIGNAL); in main()
235 length = recv(tunnel, packet, sizeof(packet), 0); in main()
236 if (length == 0) { in main()
239 if (length > 0) { in main()
243 write(interface, packet, length); in main()