Searched refs:cfg_proto (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/Documentation/networking/timestamping/
H A Dtxtimestamp.c65 static int cfg_proto = SOCK_STREAM; variable
275 if (family == AF_INET6 && cfg_proto != SOCK_STREAM) { do_test()
282 if (cfg_proto == SOCK_RAW) { do_test()
292 fd = socket(family, cfg_proto, cfg_ipproto); do_test()
296 if (cfg_proto == SOCK_STREAM) { do_test()
336 if (cfg_proto == SOCK_RAW) { do_test()
362 if (cfg_proto != SOCK_STREAM) { do_test()
428 cfg_proto = SOCK_RAW; parse_opt()
433 cfg_proto = SOCK_RAW; parse_opt()
438 cfg_proto = SOCK_DGRAM; parse_opt()
458 if (cfg_proto != SOCK_STREAM && cfg_payload_len > 1472) parse_opt()
513 if (cfg_proto == SOCK_STREAM) { do_main()
538 fprintf(stderr, "protocol: %s\n", sock_names[cfg_proto]); main()

Completed in 28 milliseconds