Lines Matching refs:ram_len
171 uint32_t program_len, uint32_t ram_len, const char* pkt, uint32_t filter_age) { in packet_handler() argument
179 ret = apf_run(NULL, (uint32_t*)program, program_len, ram_len, packet, packet_len, in packet_handler()
182 ret = accept_packet(program, program_len, ram_len, packet, packet_len, in packet_handler()
202 uint32_t program_len, uint32_t ram_len, const char* filename, in file_handler() argument
234 result = apf_run(NULL, (uint32_t*)program, program_len, ram_len, apf_packet, in file_handler()
237 result = accept_packet(program, program_len, ram_len, apf_packet, in file_handler()
368 uint32_t ram_len = program_len + data_len; in main() local
370 ram_len += 3; in main()
371 ram_len &= ~3; in main()
372 if (data_len < 20) ram_len += 20; in main()
376 program = realloc(program, ram_len); in main()
377 memcpy(program + ram_len - data_len, data, data_len); in main()
382 file_handler(use_apf_v6_interpreter, program, program_len, ram_len, in main()
385 packet_handler(use_apf_v6_interpreter, program, program_len, ram_len, in main()
390 print_hex(program + ram_len - data_len, data_len); in main()
394 print_counter(program + ram_len - data_len, data_len); in main()