Lines Matching refs:fprintf

39 			fprintf(stderr, "Error: bpf_tc_hook_destroy: %s\n", strerror(-err));  in cleanup()
40 fprintf(stderr, "Failed to destroy the TC hook\n"); in cleanup()
48 fprintf(stderr, "Error: bpf_prog_get_fd_by_id: %s\n", strerror(-prog_fd)); in cleanup()
51 fprintf(stderr, "Error: bpf_set_link_xdp_fd: %s\n", strerror(-err)); in cleanup()
52 fprintf(stderr, "Failed to detach XDP program\n"); in cleanup()
60 fprintf(stderr, "Error: bpf_set_link_xdp_fd_opts: %s\n", strerror(-err)); in cleanup()
63 fprintf(stderr, "Failed to detach XDP program\n"); in cleanup()
73fprintf(stderr, "Usage: %s [--iface <iface>|--prog <prog_id>] [--mss4 <mss ipv4> --mss6 <mss ipv6>… in usage()
202 fprintf(stderr, "Error: bpf_object__open_file: %s\n", strerror(-err)); in syncookie_attach()
208 fprintf(stderr, "Error: bpf_object__open_file: %s\n", strerror(-err)); in syncookie_attach()
214 fprintf(stderr, "Error: bpf_object__find_program_by_name: program was not found\n"); in syncookie_attach()
222 fprintf(stderr, "Error: bpf_prog_get_info_by_fd: %s\n", in syncookie_attach()
241 fprintf(stderr, "Error: bpf_tc_hook_create: %s\n", in syncookie_attach()
247 fprintf(stderr, "Error: bpf_tc_attach: %s\n", in syncookie_attach()
256 fprintf(stderr, "Error: bpf_set_link_xdp_fd: %s\n", in syncookie_attach()
286 fprintf(stderr, "Error: bpf_prog_get_fd_by_id: %s\n", strerror(-prog_fd)); in syncookie_open_bpf_maps()
298 fprintf(stderr, "Error: bpf_prog_get_info_by_fd: %s\n", in syncookie_open_bpf_maps()
304 fprintf(stderr, "Error: Found %u BPF maps, expected at least 2\n", in syncookie_open_bpf_maps()
316 fprintf(stderr, "Error: bpf_map_get_fd_by_id: %s\n", strerror(-err)); in syncookie_open_bpf_maps()
324 fprintf(stderr, "Error: bpf_map_get_info_by_fd: %s\n", in syncookie_open_bpf_maps()
379 fprintf(stderr, "Error: bpf_get_link_xdp_id: %s\n", in main()
401 fprintf(stderr, "Replacing allowed ports\n"); in main()
410 fprintf(stderr, "Error: bpf_map_update_elem: %s\n", strerror(-err)); in main()
411 fprintf(stderr, "Failed to add port %u (index %u)\n", in main()
415 fprintf(stderr, "Added port %u\n", port); in main()
420 fprintf(stderr, "Error: bpf_map_update_elem: %s\n", strerror(-err)); in main()
421 fprintf(stderr, "Failed to add the terminator value 0 (index %u)\n", in main()
430 fprintf(stderr, "Replacing TCP/IP options\n"); in main()
434 fprintf(stderr, "Error: bpf_map_update_elem: %s\n", strerror(-err)); in main()
450 fprintf(stderr, "Error: bpf_map_lookup_elem: %s\n", strerror(-err)); in main()