_info 557 B

1234567891011121314151617181920212223242526
  1. #include "config.h"
  2. #include <stdio.h>
  3. #include <string.h>
  4. /**
  5. * jacobson_karels - Jacobson/Karels Round Trip Time algorithm
  6. *
  7. * This implements the Jacobson/Karels algorithm for estimating round
  8. * trip time and appropriate timeouts over a network link.
  9. *
  10. * Author: David Gibson <david@gibson.dropbear.id>
  11. * License: LGPL (v2.1 or any later version)
  12. */
  13. int main(int argc, char *argv[])
  14. {
  15. /* Expect exactly one argument */
  16. if (argc != 2)
  17. return 1;
  18. if (strcmp(argv[1], "depends") == 0) {
  19. printf("ccan/minmax\n");
  20. return 0;
  21. }
  22. return 1;
  23. }