Searched refs:cfg_port (Results 1 – 7 of 7) sorted by relevance
34 static int cfg_port = 8000; variable93 addr.sin6_port = htons(cfg_port); in do_socket()205 cfg_port = htons(strtoul(optarg, NULL, 0)); in parse_opts()
23 static unsigned short cfg_port = 9000; variable143 udphdr.source = htons(cfg_port + 1); in send_fragment()144 udphdr.dest = htons(cfg_port); in send_fragment()338 addr.sin_port = htons(cfg_port); in run_test_v4()349 addr.sin6_port = htons(cfg_port); in run_test_v6()
91 static int cfg_port = 8787; variable267 addr4->sin_port = htons(cfg_port); in setup_sockaddr()275 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()337 cfg_port = atoi(optarg); in main()
49 static int cfg_port = 8000; variable96 addr4->sin_port = htons(cfg_port); in setup_sockaddr()102 addr6->sin6_port = htons(cfg_port); in setup_sockaddr()283 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
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()
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()743 cfg_port = strtoul(optarg, NULL, 0); in parse_opts()
61 static unsigned short cfg_port = 9000; variable632 addr.sin_port = htons(cfg_port); in run_test_v4()643 addr.sin6_port = htons(cfg_port); in run_test_v6()