Searched refs:cfg_port (Results 1 – 9 of 9) sorted by relevance
38 static int cfg_port = 8000; variable69 addr4->sin_port = htons(cfg_port); in setup_sockaddr()75 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()320 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
24 static unsigned short cfg_port = 9000; variable145 udphdr.source = htons(cfg_port + 1); in send_fragment()146 udphdr.dest = htons(cfg_port); in send_fragment()414 addr.sin_port = htons(cfg_port); in run_test_v4()425 addr.sin6_port = htons(cfg_port); in run_test_v6()
77 static int cfg_port = 8787; variable263 addr4->sin_port = htons(cfg_port); in setup_sockaddr()271 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()362 cfg_port = atoi(optarg); in main()
30 static uint16_t cfg_port = 8000; variable281 addr6.sin6_port = htons(cfg_port); in main()290 addr4.sin_port = htons(cfg_port); in main()
47 static uint16_t cfg_port = 8000; variable141 udph->dest = htons(cfg_port); in build_udp_header()265 raddr.sin_port = htons(cfg_port); in setup_rx()
62 static int cfg_port = 8000; variable123 addr4->sin_port = htons(cfg_port); in setup_sockaddr()129 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()461 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
83 static int cfg_port = 8000; variable305 addr4->sin_port = htons(cfg_port); in setup_sockaddr()313 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()744 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
60 static unsigned short cfg_port = 9000; variable624 addr.sin_port = htons(cfg_port); in run_test_v4()635 addr.sin6_port = htons(cfg_port); in run_test_v6()
23 static const int cfg_port = 8000; variable129 if (tcph.dest != __bpf_constant_htons(cfg_port)) in encap_ipv4()237 if (tcph.dest != __bpf_constant_htons(cfg_port)) in encap_ipv6()