1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322
|
<!DOCTYPE html>
<html lang="en" class="RFC">
<head>
<meta charset="utf-8">
<meta content="Common,Latin" name="scripts">
<meta content="initial-scale=1.0" name="viewport">
<title>RFC 8923: A Minimal Set of Transport Services for End Systems</title>
<meta content="Michael Welzl" name="author">
<meta content="Stein Gjessing" name="author">
<meta content="
This document recommends a minimal set of Transport Services offered
by end systems and gives guidance on choosing among the available
mechanisms and protocols. It is based on the set of transport features
in RFC 8303.
" name="description">
<meta content="xml2rfc 3.3.0" name="generator">
<meta content="taps" name="keyword">
<meta content="transport services" name="keyword">
<meta content="8923" name="rfc.number">
<!-- Generator version information:
xml2rfc 3.3.0
Python 3.6.10
appdirs 1.4.4
ConfigArgParse 1.2.3
google-i18n-address 2.3.5
html5lib 1.0.1
intervaltree 3.0.2
Jinja2 2.11.2
kitchen 1.2.6
lxml 4.4.2
pycairo 1.19.0
pycountry 19.8.18
pyflakes 2.1.1
PyYAML 5.3.1
requests 2.22.0
setuptools 40.6.2
six 1.14.0
WeasyPrint 51
-->
<link href="rfc8923.xml" rel="alternate" type="application/rfc+xml">
<link href="#copyright" rel="license">
<style type="text/css">/*
NOTE: Changes at the bottom of this file overrides some earlier settings.
Once the style has stabilized and has been adopted as an official RFC style,
this can be consolidated so that style settings occur only in one place, but
for now the contents of this file consists first of the initial CSS work as
provided to the RFC Formatter (xml2rfc) work, followed by itemized and
commented changes found necssary during the development of the v3
formatters.
*/
/* fonts */
@import url('https://fonts.googleapis.com/css?family=Noto+Sans'); /* Sans-serif */
@import url('https://fonts.googleapis.com/css?family=Noto+Serif'); /* Serif (print) */
@import url('https://fonts.googleapis.com/css?family=Roboto+Mono'); /* Monospace */
@viewport {
zoom: 1.0;
width: extend-to-zoom;
}
@-ms-viewport {
width: extend-to-zoom;
zoom: 1.0;
}
/* general and mobile first */
html {
}
body {
max-width: 90%;
margin: 1.5em auto;
color: #222;
background-color: #fff;
font-size: 14px;
font-family: 'Noto Sans', Arial, Helvetica, sans-serif;
line-height: 1.6;
scroll-behavior: smooth;
}
.ears {
display: none;
}
/* headings */
#title, h1, h2, h3, h4, h5, h6 {
margin: 1em 0 0.5em;
font-weight: bold;
line-height: 1.3;
}
#title {
clear: both;
border-bottom: 1px solid #ddd;
margin: 0 0 0.5em 0;
padding: 1em 0 0.5em;
}
.author {
padding-bottom: 4px;
}
h1 {
font-size: 26px;
margin: 1em 0;
}
h2 {
font-size: 22px;
margin-top: -20px; /* provide offset for in-page anchors */
padding-top: 33px;
}
h3 {
font-size: 18px;
margin-top: -36px; /* provide offset for in-page anchors */
padding-top: 42px;
}
h4 {
font-size: 16px;
margin-top: -36px; /* provide offset for in-page anchors */
padding-top: 42px;
}
h5, h6 {
font-size: 14px;
}
#n-copyright-notice {
border-bottom: 1px solid #ddd;
padding-bottom: 1em;
margin-bottom: 1em;
}
/* general structure */
p {
padding: 0;
margin: 0 0 1em 0;
text-align: left;
}
div, span {
position: relative;
}
div {
margin: 0;
}
.alignRight.art-text {
background-color: #f9f9f9;
border: 1px solid #eee;
border-radius: 3px;
padding: 1em 1em 0;
margin-bottom: 1.5em;
}
.alignRight.art-text pre {
padding: 0;
}
.alignRight {
margin: 1em 0;
}
.alignRight > *:first-child {
border: none;
margin: 0;
float: right;
clear: both;
}
.alignRight > *:nth-child(2) {
clear: both;
display: block;
border: none;
}
svg {
display: block;
}
.alignCenter.art-text {
background-color: #f9f9f9;
border: 1px solid #eee;
border-radius: 3px;
padding: 1em 1em 0;
margin-bottom: 1.5em;
}
.alignCenter.art-text pre {
padding: 0;
}
.alignCenter {
margin: 1em 0;
}
.alignCenter > *:first-child {
border: none;
/* this isn't optimal, but it's an existence proof. PrinceXML doesn't
support flexbox yet.
*/
display: table;
margin: 0 auto;
}
/* lists */
ol, ul {
padding: 0;
margin: 0 0 1em 2em;
}
ol ol, ul ul, ol ul, ul ol {
margin-left: 1em;
}
li {
margin: 0 0 0.25em 0;
}
.ulCompact li {
margin: 0;
}
ul.empty, .ulEmpty {
list-style-type: none;
}
ul.empty li, .ulEmpty li {
margin-top: 0.5em;
}
ul.compact, .ulCompact,
ol.compact, .olCompact {
line-height: 100%;
margin: 0 0 0 2em;
}
/* definition lists */
dl {
}
dl > dt {
float: left;
margin-right: 1em;
}
/*
dl.nohang > dt {
float: none;
}
*/
dl > dd {
margin-bottom: .8em;
min-height: 1.3em;
}
dl.compact > dd, .dlCompact > dd {
margin-bottom: 0em;
}
dl > dd > dl {
margin-top: 0.5em;
margin-bottom: 0em;
}
/* links */
a {
text-decoration: none;
}
a[href] {
color: #22e; /* Arlen: WCAG 2019 */
}
a[href]:hover {
background-color: #f2f2f2;
}
figcaption a[href],
a[href].selfRef {
color: #222;
}
/* XXX probably not this:
a.selfRef:hover {
background-color: transparent;
cursor: default;
} */
/* Figures */
tt, code, pre, code {
background-color: #f9f9f9;
font-family: 'Roboto Mono', monospace;
}
pre {
border: 1px solid #eee;
margin: 0;
padding: 1em;
}
img {
max-width: 100%;
}
figure {
margin: 0;
}
figure blockquote {
margin: 0.8em 0.4em 0.4em;
}
figcaption {
font-style: italic;
margin: 0 0 1em 0;
}
@media screen {
pre {
overflow-x: auto;
max-width: 100%;
max-width: calc(100% - 22px);
}
}
/* aside, blockquote */
aside, blockquote {
margin-left: 0;
padding: 1.2em 2em;
}
blockquote {
background-color: #f9f9f9;
color: #111; /* Arlen: WCAG 2019 */
border: 1px solid #ddd;
border-radius: 3px;
margin: 1em 0;
}
cite {
display: block;
text-align: right;
font-style: italic;
}
/* tables */
table {
width: 100%;
margin: 0 0 1em;
border-collapse: collapse;
border: 1px solid #eee;
}
th, td {
text-align: left;
vertical-align: top;
padding: 0.5em 0.75em;
}
th {
text-align: left;
background-color: #e9e9e9;
}
tr:nth-child(2n+1) > td {
background-color: #f5f5f5;
}
table caption {
font-style: italic;
margin: 0;
padding: 0;
text-align: left;
}
table p {
/* XXX to avoid bottom margin on table row signifiers. If paragraphs should
be allowed within tables more generally, it would be far better to select on a class. */
margin: 0;
}
/* pilcrow */
a.pilcrow {
color: #666; /* Arlen: AHDJ 2019 */
text-decoration: none;
visibility: hidden;
user-select: none;
-ms-user-select: none;
-o-user-select:none;
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
}
@media screen {
aside:hover > a.pilcrow,
p:hover > a.pilcrow,
blockquote:hover > a.pilcrow,
div:hover > a.pilcrow,
li:hover > a.pilcrow,
pre:hover > a.pilcrow {
visibility: visible;
}
a.pilcrow:hover {
background-color: transparent;
}
}
/* misc */
hr {
border: 0;
border-top: 1px solid #eee;
}
.bcp14 {
font-variant: small-caps;
}
.role {
font-variant: all-small-caps;
}
/* info block */
#identifiers {
margin: 0;
font-size: 0.9em;
}
#identifiers dt {
width: 3em;
clear: left;
}
#identifiers dd {
float: left;
margin-bottom: 0;
}
#identifiers .authors .author {
display: inline-block;
margin-right: 1.5em;
}
#identifiers .authors .org {
font-style: italic;
}
/* The prepared/rendered info at the very bottom of the page */
.docInfo {
color: #666; /* Arlen: WCAG 2019 */
font-size: 0.9em;
font-style: italic;
margin-top: 2em;
}
.docInfo .prepared {
float: left;
}
.docInfo .prepared {
float: right;
}
/* table of contents */
#toc {
padding: 0.75em 0 2em 0;
margin-bottom: 1em;
}
nav.toc ul {
margin: 0 0.5em 0 0;
padding: 0;
list-style: none;
}
nav.toc li {
line-height: 1.3em;
margin: 0.75em 0;
padding-left: 1.2em;
text-indent: -1.2em;
}
/* references */
.references dt {
text-align: right;
font-weight: bold;
min-width: 7em;
}
.references dd {
margin-left: 8em;
overflow: auto;
}
.refInstance {
margin-bottom: 1.25em;
}
.references .ascii {
margin-bottom: 0.25em;
}
/* index */
.index ul {
margin: 0 0 0 1em;
padding: 0;
list-style: none;
}
.index ul ul {
margin: 0;
}
.index li {
margin: 0;
text-indent: -2em;
padding-left: 2em;
padding-bottom: 5px;
}
.indexIndex {
margin: 0.5em 0 1em;
}
.index a {
font-weight: 700;
}
/* make the index two-column on all but the smallest screens */
@media (min-width: 600px) {
.index ul {
-moz-column-count: 2;
-moz-column-gap: 20px;
}
.index ul ul {
-moz-column-count: 1;
-moz-column-gap: 0;
}
}
/* authors */
address.vcard {
font-style: normal;
margin: 1em 0;
}
address.vcard .nameRole {
font-weight: 700;
margin-left: 0;
}
address.vcard .label {
font-family: "Noto Sans",Arial,Helvetica,sans-serif;
margin: 0.5em 0;
}
address.vcard .type {
display: none;
}
.alternative-contact {
margin: 1.5em 0 1em;
}
hr.addr {
border-top: 1px dashed;
margin: 0;
color: #ddd;
max-width: calc(100% - 16px);
}
/* temporary notes */
.rfcEditorRemove::before {
position: absolute;
top: 0.2em;
right: 0.2em;
padding: 0.2em;
content: "The RFC Editor will remove this note";
color: #9e2a00; /* Arlen: WCAG 2019 */
background-color: #ffd; /* Arlen: WCAG 2019 */
}
.rfcEditorRemove {
position: relative;
padding-top: 1.8em;
background-color: #ffd; /* Arlen: WCAG 2019 */
border-radius: 3px;
}
.cref {
background-color: #ffd; /* Arlen: WCAG 2019 */
padding: 2px 4px;
}
.crefSource {
font-style: italic;
}
/* alternative layout for smaller screens */
@media screen and (max-width: 1023px) {
body {
padding-top: 2em;
}
#title {
padding: 1em 0;
}
h1 {
font-size: 24px;
}
h2 {
font-size: 20px;
margin-top: -18px; /* provide offset for in-page anchors */
padding-top: 38px;
}
#identifiers dd {
max-width: 60%;
}
#toc {
position: fixed;
z-index: 2;
top: 0;
right: 0;
padding: 0;
margin: 0;
background-color: inherit;
border-bottom: 1px solid #ccc;
}
#toc h2 {
margin: -1px 0 0 0;
padding: 4px 0 4px 6px;
padding-right: 1em;
min-width: 190px;
font-size: 1.1em;
text-align: right;
background-color: #444;
color: white;
cursor: pointer;
}
#toc h2::before { /* css hamburger */
float: right;
position: relative;
width: 1em;
height: 1px;
left: -164px;
margin: 6px 0 0 0;
background: white none repeat scroll 0 0;
box-shadow: 0 4px 0 0 white, 0 8px 0 0 white;
content: "";
}
#toc nav {
display: none;
padding: 0.5em 1em 1em;
overflow: auto;
height: calc(100vh - 48px);
border-left: 1px solid #ddd;
}
}
/* alternative layout for wide screens */
@media screen and (min-width: 1024px) {
body {
max-width: 724px;
margin: 42px auto;
padding-left: 1.5em;
padding-right: 29em;
}
#toc {
position: fixed;
top: 42px;
right: 42px;
width: 25%;
margin: 0;
padding: 0 1em;
z-index: 1;
}
#toc h2 {
border-top: none;
border-bottom: 1px solid #ddd;
font-size: 1em;
font-weight: normal;
margin: 0;
padding: 0.25em 1em 1em 0;
}
#toc nav {
display: block;
height: calc(90vh - 84px);
bottom: 0;
padding: 0.5em 0 0;
overflow: auto;
}
img { /* future proofing */
max-width: 100%;
height: auto;
}
}
/* pagination */
@media print {
body {
width: 100%;
}
p {
orphans: 3;
widows: 3;
}
#n-copyright-notice {
border-bottom: none;
}
#toc, #n-introduction {
page-break-before: always;
}
#toc {
border-top: none;
padding-top: 0;
}
figure, pre {
page-break-inside: avoid;
}
figure {
overflow: scroll;
}
h1, h2, h3, h4, h5, h6 {
page-break-after: avoid;
}
h2+*, h3+*, h4+*, h5+*, h6+* {
page-break-before: avoid;
}
pre {
white-space: pre-wrap;
word-wrap: break-word;
font-size: 10pt;
}
table {
border: 1px solid #ddd;
}
td {
border-top: 1px solid #ddd;
}
}
/* This is commented out here, as the string-set: doesn't
pass W3C validation currently */
/*
.ears thead .left {
string-set: ears-top-left content();
}
.ears thead .center {
string-set: ears-top-center content();
}
.ears thead .right {
string-set: ears-top-right content();
}
.ears tfoot .left {
string-set: ears-bottom-left content();
}
.ears tfoot .center {
string-set: ears-bottom-center content();
}
.ears tfoot .right {
string-set: ears-bottom-right content();
}
*/
@page :first {
padding-top: 0;
@top-left {
content: normal;
border: none;
}
@top-center {
content: normal;
border: none;
}
@top-right {
content: normal;
border: none;
}
}
@page {
size: A4;
margin-bottom: 45mm;
padding-top: 20px;
/* The follwing is commented out here, but set appropriately by in code, as
the content depends on the document */
/*
@top-left {
content: 'Internet-Draft';
vertical-align: bottom;
border-bottom: solid 1px #ccc;
}
@top-left {
content: string(ears-top-left);
vertical-align: bottom;
border-bottom: solid 1px #ccc;
}
@top-center {
content: string(ears-top-center);
vertical-align: bottom;
border-bottom: solid 1px #ccc;
}
@top-right {
content: string(ears-top-right);
vertical-align: bottom;
border-bottom: solid 1px #ccc;
}
@bottom-left {
content: string(ears-bottom-left);
vertical-align: top;
border-top: solid 1px #ccc;
}
@bottom-center {
content: string(ears-bottom-center);
vertical-align: top;
border-top: solid 1px #ccc;
}
@bottom-right {
content: '[Page ' counter(page) ']';
vertical-align: top;
border-top: solid 1px #ccc;
}
*/
}
/* Changes introduced to fix issues found during implementation */
/* Make sure links are clickable even if overlapped by following H* */
a {
z-index: 2;
}
/* Separate body from document info even without intervening H1 */
section {
clear: both;
}
/* Top align author divs, to avoid names without organization dropping level with org names */
.author {
vertical-align: top;
}
/* Leave room in document info to show Internet-Draft on one line */
#identifiers dt {
width: 8em;
}
/* Don't waste quite as much whitespace between label and value in doc info */
#identifiers dd {
margin-left: 1em;
}
/* Give floating toc a background color (needed when it's a div inside section */
#toc {
background-color: white;
}
/* Make the collapsed ToC header render white on gray also when it's a link */
@media screen and (max-width: 1023px) {
#toc h2 a,
#toc h2 a:link,
#toc h2 a:focus,
#toc h2 a:hover,
#toc a.toplink,
#toc a.toplink:hover {
color: white;
background-color: #444;
text-decoration: none;
}
}
/* Give the bottom of the ToC some whitespace */
@media screen and (min-width: 1024px) {
#toc {
padding: 0 0 1em 1em;
}
}
/* Style section numbers with more space between number and title */
.section-number {
padding-right: 0.5em;
}
/* prevent monospace from becoming overly large */
tt, code, pre, code {
font-size: 95%;
}
/* Fix the height/width aspect for ascii art*/
pre.sourcecode,
.art-text pre {
line-height: 1.12;
}
/* Add styling for a link in the ToC that points to the top of the document */
a.toplink {
float: right;
margin-right: 0.5em;
}
/* Fix the dl styling to match the RFC 7992 attributes */
dl > dt,
dl.dlParallel > dt {
float: left;
margin-right: 1em;
}
dl.dlNewline > dt {
float: none;
}
/* Provide styling for table cell text alignment */
table td.text-left,
table th.text-left {
text-align: left;
}
table td.text-center,
table th.text-center {
text-align: center;
}
table td.text-right,
table th.text-right {
text-align: right;
}
/* Make the alternative author contact informatio look less like just another
author, and group it closer with the primary author contact information */
.alternative-contact {
margin: 0.5em 0 0.25em 0;
}
address .non-ascii {
margin: 0 0 0 2em;
}
/* With it being possible to set tables with alignment
left, center, and right, { width: 100%; } does not make sense */
table {
width: auto;
}
/* Avoid reference text that sits in a block with very wide left margin,
because of a long floating dt label.*/
.references dd {
overflow: visible;
}
/* Control caption placement */
caption {
caption-side: bottom;
}
/* Limit the width of the author address vcard, so names in right-to-left
script don't end up on the other side of the page. */
address.vcard {
max-width: 30em;
margin-right: auto;
}
/* For address alignment dependent on LTR or RTL scripts */
address div.left {
text-align: left;
}
address div.right {
text-align: right;
}
/* Provide table alignment support. We can't use the alignX classes above
since they do unwanted things with caption and other styling. */
table.right {
margin-left: auto;
margin-right: 0;
}
table.center {
margin-left: auto;
margin-right: auto;
}
table.left {
margin-left: 0;
margin-right: auto;
}
/* Give the table caption label the same styling as the figcaption */
caption a[href] {
color: #222;
}
@media print {
.toplink {
display: none;
}
/* avoid overwriting the top border line with the ToC header */
#toc {
padding-top: 1px;
}
/* Avoid page breaks inside dl and author address entries */
.vcard {
page-break-inside: avoid;
}
}
/* Tweak the bcp14 keyword presentation */
.bcp14 {
font-variant: small-caps;
font-weight: bold;
font-size: 0.9em;
}
/* Tweak the invisible space above H* in order not to overlay links in text above */
h2 {
margin-top: -18px; /* provide offset for in-page anchors */
padding-top: 31px;
}
h3 {
margin-top: -18px; /* provide offset for in-page anchors */
padding-top: 24px;
}
h4 {
margin-top: -18px; /* provide offset for in-page anchors */
padding-top: 24px;
}
/* Float artwork pilcrow to the right */
@media screen {
.artwork a.pilcrow {
display: block;
line-height: 0.7;
margin-top: 0.15em;
}
}
/* Make pilcrows on dd visible */
@media screen {
dd:hover > a.pilcrow {
visibility: visible;
}
}
/* Make the placement of figcaption match that of a table's caption
by removing the figure's added bottom margin */
.alignLeft.art-text,
.alignCenter.art-text,
.alignRight.art-text {
margin-bottom: 0;
}
.alignLeft,
.alignCenter,
.alignRight {
margin: 1em 0 0 0;
}
/* In print, the pilcrow won't show on hover, so prevent it from taking up space,
possibly even requiring a new line */
@media print {
a.pilcrow {
display: none;
}
}
/* Styling for the external metadata */
div#external-metadata {
background-color: #eee;
padding: 0.5em;
margin-bottom: 0.5em;
display: none;
}
div#internal-metadata {
padding: 0.5em; /* to match the external-metadata padding */
}
/* Styling for title RFC Number */
h1#rfcnum {
clear: both;
margin: 0 0 -1em;
padding: 1em 0 0 0;
}
/* Make .olPercent look the same as <ol><li> */
dl.olPercent > dd {
margin-bottom: 0.25em;
min-height: initial;
}
/* Give aside some styling to set it apart */
aside {
border-left: 1px solid #ddd;
margin: 1em 0 1em 2em;
padding: 0.2em 2em;
}
aside > dl,
aside > ol,
aside > ul,
aside > table,
aside > p {
margin-bottom: 0.5em;
}
/* Additional page break settings */
@media print {
figcaption, table caption {
page-break-before: avoid;
}
}
/* Font size adjustments for print */
@media print {
body { font-size: 10pt; line-height: normal; max-width: 96%; }
h1 { font-size: 1.72em; padding-top: 1.5em; } /* 1*1.2*1.2*1.2 */
h2 { font-size: 1.44em; padding-top: 1.5em; } /* 1*1.2*1.2 */
h3 { font-size: 1.2em; padding-top: 1.5em; } /* 1*1.2 */
h4 { font-size: 1em; padding-top: 1.5em; }
h5, h6 { font-size: 1em; margin: initial; padding: 0.5em 0 0.3em; }
}
/* Sourcecode margin in print, when there's no pilcrow */
@media print {
.artwork,
.sourcecode {
margin-bottom: 1em;
}
}
/* Avoid narrow tables forcing too narrow table captions, which may render badly */
table {
min-width: 20em;
}
/* ol type a */
ol.type-a { list-style-type: lower-alpha; }
ol.type-A { list-style-type: upper-alpha; }
ol.type-i { list-style-type: lower-roman; }
ol.type-I { list-style-type: lower-roman; }
/* Apply the print table and row borders in general, on request from the RPC,
and increase the contrast between border and odd row background sligthtly */
table {
border: 1px solid #ddd;
}
td {
border-top: 1px solid #ddd;
}
tr:nth-child(2n+1) > td {
background-color: #f8f8f8;
}
/* Use style rules to govern display of the TOC. */
@media screen and (max-width: 1023px) {
#toc nav { display: none; }
#toc.active nav { display: block; }
}
/* Add support for keepWithNext */
.keepWithNext {
break-after: avoid-page;
break-after: avoid-page;
}
/* Add support for keepWithPrevious */
.keepWithPrevious {
break-before: avoid-page;
}
/* Change the approach to avoiding breaks inside artwork etc. */
figure, pre, table, .artwork, .sourcecode {
break-before: avoid-page;
break-after: auto;
}
/* Avoid breaks between <dt> and <dd> */
dl {
break-before: auto;
break-inside: auto;
}
dt {
break-before: auto;
break-after: avoid-page;
}
dd {
break-before: avoid-page;
break-after: auto;
orphans: 3;
widows: 3
}
span.break, dd.break {
margin-bottom: 0;
min-height: 0;
break-before: auto;
break-inside: auto;
break-after: auto;
}
/* Undo break-before ToC */
@media print {
#toc {
break-before: auto;
}
}
/* Text in compact lists should not get extra bottim margin space,
since that would makes the list not compact */
ul.compact p, .ulCompact p,
ol.compact p, .olCompact p {
margin: 0;
}
/* But the list as a whole needs the extra space at the end */
section ul.compact,
section .ulCompact,
section ol.compact,
section .olCompact {
margin-bottom: 1em; /* same as p not within ul.compact etc. */
}
/* The tt and code background above interferes with for instance table cell
backgrounds. Changed to something a bit more selective. */
tt, code {
background-color: transparent;
}
p tt, p code, li tt, li code {
background-color: #f8f8f8;
}
/* Tweak the pre margin -- 0px doesn't come out well */
pre {
margin-top: 0.5px;
}
/* Tweak the comact list text */
ul.compact, .ulCompact,
ol.compact, .olCompact,
dl.compact, .dlCompact {
line-height: normal;
}
/* Don't add top margin for nested lists */
li > ul, li > ol, li > dl,
dd > ul, dd > ol, dd > dl,
dl > dd > dl {
margin-top: initial;
}
/* Elements that should not be rendered on the same line as a <dt> */
/* This should match the element list in writer.text.TextWriter.render_dl() */
dd > div.artwork:first-child,
dd > aside:first-child,
dd > figure:first-child,
dd > ol:first-child,
dd > div:first-child > pre.sourcecode,
dd > table:first-child,
dd > ul:first-child {
clear: left;
}
/* fix for weird browser behaviour when <dd/> is empty */
dt+dd:empty::before{
content: "\00a0";
}
</style>
<link href="rfc-local.css" rel="stylesheet" type="text/css">
<link href="https://dx.doi.org/10.17487/rfc8923" rel="alternate">
<link href="urn:issn:2070-1721" rel="alternate">
<link href="https://datatracker.ietf.org/doc/draft-ietf-taps-minset-11" rel="prev">
</head>
<body>
<script src="https://www.rfc-editor.org/js/metadata.min.js"></script>
<table class="ears">
<thead><tr>
<td class="left">RFC 8923</td>
<td class="center">Minimal Transport Services</td>
<td class="right">October 2020</td>
</tr></thead>
<tfoot><tr>
<td class="left">Welzl & Gjessing</td>
<td class="center">Informational</td>
<td class="right">[Page]</td>
</tr></tfoot>
</table>
<div id="external-metadata" class="document-information"></div>
<div id="internal-metadata" class="document-information">
<dl id="identifiers">
<dt class="label-stream">Stream:</dt>
<dd class="stream">Internet Engineering Task Force (IETF)</dd>
<dt class="label-rfc">RFC:</dt>
<dd class="rfc"><a href="https://www.rfc-editor.org/rfc/rfc8923" class="eref">8923</a></dd>
<dt class="label-category">Category:</dt>
<dd class="category">Informational</dd>
<dt class="label-published">Published:</dt>
<dd class="published">
<time datetime="2020-10" class="published">October 2020</time>
</dd>
<dt class="label-issn">ISSN:</dt>
<dd class="issn">2070-1721</dd>
<dt class="label-authors">Authors:</dt>
<dd class="authors">
<div class="author">
<div class="author-name">M. Welzl</div>
<div class="org">University of Oslo</div>
</div>
<div class="author">
<div class="author-name">S. Gjessing</div>
<div class="org">University of Oslo</div>
</div>
</dd>
</dl>
</div>
<h1 id="rfcnum">RFC 8923</h1>
<h1 id="title">A Minimal Set of Transport Services for End Systems</h1>
<section id="section-abstract">
<h2 id="abstract"><a href="#abstract" class="selfRef">Abstract</a></h2>
<p id="section-abstract-1">This document recommends a minimal set of Transport Services offered
by end systems and gives guidance on choosing among the available
mechanisms and protocols. It is based on the set of transport features
in RFC 8303.<a href="#section-abstract-1" class="pilcrow">¶</a></p>
</section>
<div id="status-of-memo">
<section id="section-boilerplate.1">
<h2 id="name-status-of-this-memo">
<a href="#name-status-of-this-memo" class="section-name selfRef">Status of This Memo</a>
</h2>
<p id="section-boilerplate.1-1">
This document is not an Internet Standards Track specification; it is
published for informational purposes.<a href="#section-boilerplate.1-1" class="pilcrow">¶</a></p>
<p id="section-boilerplate.1-2">
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Not all documents
approved by the IESG are candidates for any level of Internet
Standard; see Section 2 of RFC 7841.<a href="#section-boilerplate.1-2" class="pilcrow">¶</a></p>
<p id="section-boilerplate.1-3">
Information about the current status of this document, any
errata, and how to provide feedback on it may be obtained at
<span><a href="https://www.rfc-editor.org/info/rfc8923">https://www.rfc-editor.org/info/rfc8923</a></span>.<a href="#section-boilerplate.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="copyright">
<section id="section-boilerplate.2">
<h2 id="name-copyright-notice">
<a href="#name-copyright-notice" class="section-name selfRef">Copyright Notice</a>
</h2>
<p id="section-boilerplate.2-1">
Copyright (c) 2020 IETF Trust and the persons identified as the
document authors. All rights reserved.<a href="#section-boilerplate.2-1" class="pilcrow">¶</a></p>
<p id="section-boilerplate.2-2">
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<span><a href="https://trustee.ietf.org/license-info">https://trustee.ietf.org/license-info</a></span>) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with
respect to this document. Code Components extracted from this
document must include Simplified BSD License text as described in
Section 4.e of the Trust Legal Provisions and are provided without
warranty as described in the Simplified BSD License.<a href="#section-boilerplate.2-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="toc">
<section id="section-toc.1">
<a href="#" onclick="scroll(0,0)" class="toplink">▲</a><h2 id="name-table-of-contents">
<a href="#name-table-of-contents" class="section-name selfRef">Table of Contents</a>
</h2>
<nav class="toc"><ul class="ulEmpty compact toc">
<li class="ulEmpty compact toc" id="section-toc.1-1.1">
<p id="section-toc.1-1.1.1" class="keepWithNext"><a href="#section-1" class="xref">1</a>. <a href="#name-introduction" class="xref">Introduction</a><a href="#section-toc.1-1.1.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.2">
<p id="section-toc.1-1.2.1" class="keepWithNext"><a href="#section-2" class="xref">2</a>. <a href="#name-terminology" class="xref">Terminology</a><a href="#section-toc.1-1.2.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.3">
<p id="section-toc.1-1.3.1" class="keepWithNext"><a href="#section-3" class="xref">3</a>. <a href="#name-deriving-the-minimal-set" class="xref">Deriving the Minimal Set</a><a href="#section-toc.1-1.3.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.4">
<p id="section-toc.1-1.4.1"><a href="#section-4" class="xref">4</a>. <a href="#name-the-reduced-set-of-transpor" class="xref">The Reduced Set of Transport Features</a><a href="#section-toc.1-1.4.1" class="pilcrow">¶</a></p>
<ul class="ulEmpty toc compact">
<li class="ulEmpty toc compact" id="section-toc.1-1.4.2.1">
<p id="section-toc.1-1.4.2.1.1"><a href="#section-4.1" class="xref">4.1</a>. <a href="#name-connection-related-transpor" class="xref">CONNECTION-Related Transport Features</a><a href="#section-toc.1-1.4.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.4.2.2">
<p id="section-toc.1-1.4.2.2.1"><a href="#section-4.2" class="xref">4.2</a>. <a href="#name-data-transfer-related-trans" class="xref">DATA-Transfer-Related Transport Features</a><a href="#section-toc.1-1.4.2.2.1" class="pilcrow">¶</a></p>
<ul class="ulEmpty compact toc">
<li class="ulEmpty compact toc" id="section-toc.1-1.4.2.2.2.1">
<p id="section-toc.1-1.4.2.2.2.1.1"><a href="#section-4.2.1" class="xref">4.2.1</a>. <a href="#name-sending-data" class="xref">Sending Data</a><a href="#section-toc.1-1.4.2.2.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.4.2.2.2.2">
<p id="section-toc.1-1.4.2.2.2.2.1"><a href="#section-4.2.2" class="xref">4.2.2</a>. <a href="#name-receiving-data" class="xref">Receiving Data</a><a href="#section-toc.1-1.4.2.2.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.4.2.2.2.3">
<p id="section-toc.1-1.4.2.2.2.3.1"><a href="#section-4.2.3" class="xref">4.2.3</a>. <a href="#name-errors" class="xref">Errors</a><a href="#section-toc.1-1.4.2.2.2.3.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
</ul>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.5">
<p id="section-toc.1-1.5.1"><a href="#section-5" class="xref">5</a>. <a href="#name-discussion" class="xref">Discussion</a><a href="#section-toc.1-1.5.1" class="pilcrow">¶</a></p>
<ul class="ulEmpty toc compact">
<li class="ulEmpty toc compact" id="section-toc.1-1.5.2.1">
<p id="section-toc.1-1.5.2.1.1"><a href="#section-5.1" class="xref">5.1</a>. <a href="#name-sending-messages-receiving-" class="xref">Sending Messages, Receiving Bytes</a><a href="#section-toc.1-1.5.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.5.2.2">
<p id="section-toc.1-1.5.2.2.1"><a href="#section-5.2" class="xref">5.2</a>. <a href="#name-stream-schedulers-without-s" class="xref">Stream Schedulers without Streams</a><a href="#section-toc.1-1.5.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.5.2.3">
<p id="section-toc.1-1.5.2.3.1"><a href="#section-5.3" class="xref">5.3</a>. <a href="#name-early-data-transmission" class="xref">Early Data Transmission</a><a href="#section-toc.1-1.5.2.3.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.5.2.4">
<p id="section-toc.1-1.5.2.4.1"><a href="#section-5.4" class="xref">5.4</a>. <a href="#name-sender-running-dry" class="xref">Sender Running Dry</a><a href="#section-toc.1-1.5.2.4.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.5.2.5">
<p id="section-toc.1-1.5.2.5.1"><a href="#section-5.5" class="xref">5.5</a>. <a href="#name-capacity-profile" class="xref">Capacity Profile</a><a href="#section-toc.1-1.5.2.5.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.5.2.6">
<p id="section-toc.1-1.5.2.6.1"><a href="#section-5.6" class="xref">5.6</a>. <a href="#name-security" class="xref">Security</a><a href="#section-toc.1-1.5.2.6.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.5.2.7">
<p id="section-toc.1-1.5.2.7.1"><a href="#section-5.7" class="xref">5.7</a>. <a href="#name-packet-size" class="xref">Packet Size</a><a href="#section-toc.1-1.5.2.7.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.6">
<p id="section-toc.1-1.6.1"><a href="#section-6" class="xref">6</a>. <a href="#name-the-minimal-set-of-transpor" class="xref">The Minimal Set of Transport Features</a><a href="#section-toc.1-1.6.1" class="pilcrow">¶</a></p>
<ul class="ulEmpty toc compact">
<li class="ulEmpty toc compact" id="section-toc.1-1.6.2.1">
<p id="section-toc.1-1.6.2.1.1"><a href="#section-6.1" class="xref">6.1</a>. <a href="#name-establishment-availability-" class="xref">ESTABLISHMENT, AVAILABILITY, and TERMINATION</a><a href="#section-toc.1-1.6.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.6.2.2">
<p id="section-toc.1-1.6.2.2.1"><a href="#section-6.2" class="xref">6.2</a>. <a href="#name-maintenance" class="xref">MAINTENANCE</a><a href="#section-toc.1-1.6.2.2.1" class="pilcrow">¶</a></p>
<ul class="ulEmpty compact toc">
<li class="ulEmpty compact toc" id="section-toc.1-1.6.2.2.2.1">
<p id="section-toc.1-1.6.2.2.2.1.1"><a href="#section-6.2.1" class="xref">6.2.1</a>. <a href="#name-connection-groups" class="xref">Connection Groups</a><a href="#section-toc.1-1.6.2.2.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.6.2.2.2.2">
<p id="section-toc.1-1.6.2.2.2.2.1"><a href="#section-6.2.2" class="xref">6.2.2</a>. <a href="#name-individual-connections" class="xref">Individual Connections</a><a href="#section-toc.1-1.6.2.2.2.2.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.6.2.3">
<p id="section-toc.1-1.6.2.3.1"><a href="#section-6.3" class="xref">6.3</a>. <a href="#name-data-transfer" class="xref">DATA Transfer</a><a href="#section-toc.1-1.6.2.3.1" class="pilcrow">¶</a></p>
<ul class="ulEmpty compact toc">
<li class="ulEmpty compact toc" id="section-toc.1-1.6.2.3.2.1">
<p id="section-toc.1-1.6.2.3.2.1.1"><a href="#section-6.3.1" class="xref">6.3.1</a>. <a href="#name-sending-data-2" class="xref">Sending Data</a><a href="#section-toc.1-1.6.2.3.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.6.2.3.2.2">
<p id="section-toc.1-1.6.2.3.2.2.1"><a href="#section-6.3.2" class="xref">6.3.2</a>. <a href="#name-receiving-data-2" class="xref">Receiving Data</a><a href="#section-toc.1-1.6.2.3.2.2.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
</ul>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.7">
<p id="section-toc.1-1.7.1"><a href="#section-7" class="xref">7</a>. <a href="#name-iana-considerations" class="xref">IANA Considerations</a><a href="#section-toc.1-1.7.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.8">
<p id="section-toc.1-1.8.1"><a href="#section-8" class="xref">8</a>. <a href="#name-security-considerations" class="xref">Security Considerations</a><a href="#section-toc.1-1.8.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.9">
<p id="section-toc.1-1.9.1"><a href="#section-9" class="xref">9</a>. <a href="#name-references" class="xref">References</a><a href="#section-toc.1-1.9.1" class="pilcrow">¶</a></p>
<ul class="ulEmpty toc compact">
<li class="ulEmpty toc compact" id="section-toc.1-1.9.2.1">
<p id="section-toc.1-1.9.2.1.1"><a href="#section-9.1" class="xref">9.1</a>. <a href="#name-normative-references" class="xref">Normative References</a><a href="#section-toc.1-1.9.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.9.2.2">
<p id="section-toc.1-1.9.2.2.1"><a href="#section-9.2" class="xref">9.2</a>. <a href="#name-informative-references" class="xref">Informative References</a><a href="#section-toc.1-1.9.2.2.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.10">
<p id="section-toc.1-1.10.1"><a href="#section-appendix.a" class="xref">Appendix A</a>. <a href="#name-the-superset-of-transport-f" class="xref">The Superset of Transport Features</a><a href="#section-toc.1-1.10.1" class="pilcrow">¶</a></p>
<ul class="ulEmpty toc compact">
<li class="ulEmpty toc compact" id="section-toc.1-1.10.2.1">
<p id="section-toc.1-1.10.2.1.1"><a href="#section-a.1" class="xref">A.1</a>. <a href="#name-connection-related-transport" class="xref">CONNECTION-Related Transport Features</a><a href="#section-toc.1-1.10.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty toc compact" id="section-toc.1-1.10.2.2">
<p id="section-toc.1-1.10.2.2.1"><a href="#section-a.2" class="xref">A.2</a>. <a href="#name-data-transfer-related-transp" class="xref">DATA-Transfer-Related Transport Features</a><a href="#section-toc.1-1.10.2.2.1" class="pilcrow">¶</a></p>
<ul class="ulEmpty compact toc">
<li class="ulEmpty compact toc" id="section-toc.1-1.10.2.2.2.1">
<p id="section-toc.1-1.10.2.2.2.1.1"><a href="#section-a.2.1" class="xref">A.2.1</a>. <a href="#name-sending-data-3" class="xref">Sending Data</a><a href="#section-toc.1-1.10.2.2.2.1.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.10.2.2.2.2">
<p id="section-toc.1-1.10.2.2.2.2.1"><a href="#section-a.2.2" class="xref">A.2.2</a>. <a href="#name-receiving-data-3" class="xref">Receiving Data</a><a href="#section-toc.1-1.10.2.2.2.2.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.10.2.2.2.3">
<p id="section-toc.1-1.10.2.2.2.3.1"><a href="#section-a.2.3" class="xref">A.2.3</a>. <a href="#name-errors-2" class="xref">Errors</a><a href="#section-toc.1-1.10.2.2.2.3.1" class="pilcrow">¶</a></p>
</li>
</ul>
</li>
</ul>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.11">
<p id="section-toc.1-1.11.1"><a href="#section-appendix.b" class="xref"></a><a href="#name-acknowledgements" class="xref">Acknowledgements</a><a href="#section-toc.1-1.11.1" class="pilcrow">¶</a></p>
</li>
<li class="ulEmpty compact toc" id="section-toc.1-1.12">
<p id="section-toc.1-1.12.1"><a href="#section-appendix.c" class="xref"></a><a href="#name-authors-addresses" class="xref">Authors' Addresses</a><a href="#section-toc.1-1.12.1" class="pilcrow">¶</a></p>
</li>
</ul>
</nav>
</section>
</div>
<div id="sec-intro">
<section id="section-1">
<h2 id="name-introduction">
<a href="#section-1" class="section-number selfRef">1. </a><a href="#name-introduction" class="section-name selfRef">Introduction</a>
</h2>
<p id="section-1-1">Currently, the set of Transport Services that most applications use
is based on TCP and UDP (and protocols that are layered on top of them);
this limits the ability for the network stack to make use of features of
other transport protocols. For example, if a protocol supports
out-of-order message delivery but applications always assume that the
network provides an ordered byte stream, then the network stack can not
immediately deliver a message that arrives out of order; doing so would
break a fundamental assumption of the application. The net result is
unnecessary head-of-line blocking delay.<a href="#section-1-1" class="pilcrow">¶</a></p>
<p id="section-1-2">By exposing the Transport Services of multiple transport protocols, a
transport system can make it possible for applications to use these
services without being statically bound to a specific transport
protocol. The first step towards the design of such a system was taken
by <span>[<a href="#RFC8095" class="xref">RFC8095</a>]</span>, which surveys a large
number of transports, and <span>[<a href="#RFC8303" class="xref">RFC8303</a>]</span> as
well as <span>[<a href="#RFC8304" class="xref">RFC8304</a>]</span>, which identify the
specific transport features that are exposed to applications by the
protocols TCP, Multipath TCP (MPTCP), UDP(-Lite), and Stream Control
Transmission Protocol (SCTP), as well as the Low Extra Delay Background
Transport (LEDBAT) congestion control mechanism. LEDBAT was included as
the only congestion control mechanism in this list because the "low
extra delay background transport" service that it offers is
significantly different from the typical service provided by other
congestion control mechanisms. This memo is based on these documents
and follows the same terminology (also listed below). Because the
considered transport protocols conjointly cover a wide range of
transport features, there is reason to hope that the resulting set (and
the reasoning that led to it) will also apply to many aspects of other
transport protocols that may be in use today or may be designed in the
future.<a href="#section-1-2" class="pilcrow">¶</a></p>
<p id="section-1-3">By decoupling applications from transport protocols, a transport
system provides a different abstraction level than the Berkeley sockets
interface <span>[<a href="#POSIX" class="xref">POSIX</a>]</span>. As with high-
vs. low-level programming languages, a higher abstraction level allows
more freedom for automation below the interface, yet it takes some
control away from the application programmer. This is the design
trade-off that a transport system developer is facing, and this document
provides guidance on the design of this abstraction level. Some
transport features are currently rarely offered by APIs, yet they must
be offered or they can never be used. Other transport features are
offered by the APIs of the protocols covered here, but not exposing them
in an API would allow for more freedom to automate protocol usage in a
transport system. The minimal set presented here is an effort to find a
middle ground that can be recommended for transport systems to
implement, on the basis of the transport features discussed in <span>[<a href="#RFC8303" class="xref">RFC8303</a>]</span>.<a href="#section-1-3" class="pilcrow">¶</a></p>
<p id="section-1-4">Applications use a wide variety of APIs today. While this document
was created to ensure the API developed in the Transport Services (TAPS)
Working Group <span>[<a href="#I-D.ietf-taps-interface" class="xref">TAPS-INTERFACE</a>]</span> includes the most important transport features, the
minimal set presented here must be reflected in *all* network APIs in
order for the underlying functionality to become usable everywhere. For
example, it does not help an application that talks to a library that
offers its own communication interface if the underlying Berkeley
Sockets API is extended to offer "unordered message delivery", but the
library only exposes an ordered byte stream. Both the Berkeley Sockets
API and the library would have to expose the "unordered message
delivery" transport feature (alternatively, there may be ways for
certain types of libraries to use this transport feature without
exposing it, based on knowledge about the applications, but this is not
the general case). Similarly, transport protocols such as the Stream
Control Transmission Protocol (SCTP) offer multi-streaming, which cannot
be utilized, e.g., to prioritize messages between streams, unless
applications communicate the priorities and the group of connections
upon which these priorities should be applied. In most situations, in
the interest of being as flexible and efficient as possible, the best
choice will be for a library to expose at least all of the transport
features that are recommended as a "minimal set" here.<a href="#section-1-4" class="pilcrow">¶</a></p>
<p id="section-1-5">
This "minimal set" can be implemented "one-sided" over TCP. This means
that a sender-side transport system can talk to a standard TCP receiver,
and a receiver-side transport system can talk to a standard TCP sender.
If certain limitations are put in place, the "minimal set" can also be
implemented "one-sided" over UDP. While the possibility of such "one-sided"
implementation may help deployment, it comes at the cost of limiting the
set to services that can also be provided by TCP (or, with further
limitations, UDP). Thus, the minimal set of transport features here is
applicable for many, but not all, applications; some application
protocols have requirements that are not met by this "minimal set".<a href="#section-1-5" class="pilcrow">¶</a></p>
<p id="section-1-6">
Note that, throughout this document, protocols are meant to be used
natively. For example, when transport features of TCP, or "implementation over"
TCP is discussed, this refers to native usage of TCP rather
than TCP being encapsulated in some other transport protocol
such as UDP.<a href="#section-1-6" class="pilcrow">¶</a></p>
</section>
</div>
<section id="section-2">
<h2 id="name-terminology">
<a href="#section-2" class="section-number selfRef">2. </a><a href="#name-terminology" class="section-name selfRef">Terminology</a>
</h2>
<span class="break"></span><dl class="dlParallel" id="section-2-1">
<dt id="section-2-1.1">Transport Feature:</dt>
<dd style="margin-left: 1.5em" id="section-2-1.2">
A specific end-to-end feature that the transport layer
provides to an application. Examples include
confidentiality, reliable delivery, ordered delivery,
message-versus-stream orientation, etc.<a href="#section-2-1.2" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-1.3">Transport Service:</dt>
<dd style="margin-left: 1.5em" id="section-2-1.4">
A set of Transport Features, without an association to any given
framing protocol, that provides a complete service to an application.<a href="#section-2-1.4" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-1.5">Transport Protocol:</dt>
<dd style="margin-left: 1.5em" id="section-2-1.6">
An implementation that provides one or more different Transport Services
using a specific framing and header format on the wire.<a href="#section-2-1.6" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-1.7">Application:</dt>
<dd style="margin-left: 1.5em" id="section-2-1.8">
An entity that uses a transport-layer interface for end-to-end delivery of data
across the network (this may also be an upper-layer protocol or tunnel
encapsulation).<a href="#section-2-1.8" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-1.9">Application-specific knowledge:</dt>
<dd style="margin-left: 1.5em" id="section-2-1.10">
Knowledge that only applications have.<a href="#section-2-1.10" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-1.11">End system:</dt>
<dd style="margin-left: 1.5em" id="section-2-1.12">
An entity that communicates with one or more other end systems using
a transport protocol. An end system provides a transport-layer interface
to applications.<a href="#section-2-1.12" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-1.13">Connection:</dt>
<dd style="margin-left: 1.5em" id="section-2-1.14">
Shared state of two or more end systems that persists
across messages that are transmitted between these end systems.<a href="#section-2-1.14" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-1.15">Connection Group:</dt>
<dd style="margin-left: 1.5em" id="section-2-1.16">
A set of connections that share the same configuration
(configuring one of them causes all other connections in
the same group to be configured in the same way). We call
connections that belong to a connection group "grouped",
while "ungrouped" connections are not a part of a
connection group.<a href="#section-2-1.16" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-2-1.17">Socket:</dt>
<dd style="margin-left: 1.5em" id="section-2-1.18">
The combination of a destination IP address and a destination port number.<a href="#section-2-1.18" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
</dl>
<p id="section-2-2">Moreover, throughout the document, the protocol name "UDP(-Lite)" is used when
discussing transport features that are equivalent for UDP and UDP-Lite; similarly,
the protocol name "TCP" refers to both TCP and MPTCP.<a href="#section-2-2" class="pilcrow">¶</a></p>
</section>
<div id="deriving">
<section id="section-3">
<h2 id="name-deriving-the-minimal-set">
<a href="#section-3" class="section-number selfRef">3. </a><a href="#name-deriving-the-minimal-set" class="section-name selfRef">Deriving the Minimal Set</a>
</h2>
<p id="section-3-1">
We assume that applications have no specific requirements that
need knowledge about the network, e.g., regarding the choice of
network interface or the end-to-end path. Even with these
assumptions, there are certain requirements that are strictly
kept by transport protocols today, and these must also be kept
by a transport system. Some of these requirements relate to
transport features that we call "Functional".<a href="#section-3-1" class="pilcrow">¶</a></p>
<p id="section-3-2">Functional transport features provide functionality that cannot be
used without the application knowing about them, or else they violate
assumptions that might cause the application to fail. For example,
ordered message delivery is a functional transport feature: it cannot be
configured without the application knowing about it because the
application's assumption could be that messages always arrive in
order. Failure includes any change of the application behavior that is
not performance oriented, e.g., security.<a href="#section-3-2" class="pilcrow">¶</a></p>
<p id="section-3-3">"Change DSCP" and "Disable Nagle algorithm" are examples of transport
features that we call "Optimizing"; if a transport system autonomously
decides to enable or disable them, an application will not fail, but a
transport system may be able to communicate more efficiently if the
application is in control of this optimizing transport feature. These
transport features require application-specific knowledge (e.g., about
delay/bandwidth requirements or the length of future data blocks that
are to be transmitted).<a href="#section-3-3" class="pilcrow">¶</a></p>
<p id="section-3-4">
The transport features of IETF transport protocols that do not
require application-specific knowledge and could therefore be
utilized by a transport system on its own without involving
the application are called "Automatable".<a href="#section-3-4" class="pilcrow">¶</a></p>
<p id="section-3-5">We approach the construction of a minimal set of transport features
in the following way:<a href="#section-3-5" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-3-6">
<li id="section-3-6.1">Categorization (<a href="#super" class="xref">Appendix A</a>): The
superset of transport features from <span>[<a href="#RFC8303" class="xref">RFC8303</a>]</span> is presented, and transport features are
categorized as Functional, Optimizing, or Automatable for later
reduction.<a href="#section-3-6.1" class="pilcrow">¶</a>
</li>
<li id="section-3-6.2">Reduction (<a href="#Reduction" class="xref">Section 4</a>): A shorter
list of transport features is derived from the categorization in the
first step. This removes all transport features that do not require
application-specific knowledge or would result in semantically
incorrect behavior if they were implemented over TCP or UDP.<a href="#section-3-6.2" class="pilcrow">¶</a>
</li>
<li id="section-3-6.3">Discussion (<a href="#Discussion" class="xref">Section 5</a>): The
resulting list shows a number of peculiarities that are discussed, to
provide a basis for constructing the minimal set.<a href="#section-3-6.3" class="pilcrow">¶</a>
</li>
<li id="section-3-6.4">Construction (<a href="#minset" class="xref">Section 6</a>): Based on
the reduced set and the discussion of the transport features therein,
a minimal set is constructed.<a href="#section-3-6.4" class="pilcrow">¶</a>
</li>
</ol>
<p id="section-3-7">Following <span>[<a href="#RFC8303" class="xref">RFC8303</a>]</span> and retaining its
terminology, we divide the transport features into two main groups as
follows:<a href="#section-3-7" class="pilcrow">¶</a></p>
<ol start="1" type="1" class="normal type-1" id="section-3-8">
<li id="section-3-8.1">
<p id="section-3-8.1.1">CONNECTION-related transport features<a href="#section-3-8.1.1" class="pilcrow">¶</a></p>
<ul class="compact">
<li class="compact" id="section-3-8.1.2.1">ESTABLISHMENT<a href="#section-3-8.1.2.1" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-3-8.1.2.2">AVAILABILITY<a href="#section-3-8.1.2.2" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-3-8.1.2.3">MAINTENANCE<a href="#section-3-8.1.2.3" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-3-8.1.2.4">TERMINATION<a href="#section-3-8.1.2.4" class="pilcrow">¶</a>
</li>
</ul>
</li>
<li id="section-3-8.2">
<p id="section-3-8.2.1">DATA-Transfer-related transport features<a href="#section-3-8.2.1" class="pilcrow">¶</a></p>
<ul class="compact">
<li class="compact" id="section-3-8.2.2.1">Sending Data<a href="#section-3-8.2.2.1" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-3-8.2.2.2">Receiving Data<a href="#section-3-8.2.2.2" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-3-8.2.2.3">Errors<a href="#section-3-8.2.2.3" class="pilcrow">¶</a>
</li>
</ul>
</li>
</ol>
</section>
</div>
<div id="Reduction">
<section id="section-4">
<h2 id="name-the-reduced-set-of-transpor">
<a href="#section-4" class="section-number selfRef">4. </a><a href="#name-the-reduced-set-of-transpor" class="section-name selfRef">The Reduced Set of Transport Features</a>
</h2>
<p id="section-4-1">By hiding automatable transport features from the application, a transport system can
gain opportunities to automate the usage of network-related functionality. This can facilitate
using the transport system
for the application programmer and it allows for optimizations that may not be possible
for an application. For instance, system-wide configurations
regarding the usage of multiple interfaces can better be exploited if the choice of the
interface is not entirely up to the application. Therefore, since they are not strictly
necessary to expose in a transport system,
we do not include automatable transport features in the reduced set of transport
features. This leaves us with only the transport features that
are either optimizing or functional.<a href="#section-4-1" class="pilcrow">¶</a></p>
<p id="section-4-2">A transport system should be able to communicate via TCP or UDP if
alternative transport protocols are found not to work. For many
transport features, this is possible, often by simply not doing
anything when a specific request is made. For some transport features,
however, it was identified that direct usage of neither TCP nor UDP is
possible; in these cases, even not doing anything would incur
semantically incorrect behavior. Whenever an application would make use
of one of these transport features, this would eliminate the possibility
to use TCP or UDP. Thus, we only keep the functional and optimizing
transport features for which an implementation over either TCP or UDP is
possible in our reduced set.<a href="#section-4-2" class="pilcrow">¶</a></p>
<p id="section-4-3">The following list contains the transport features from <a href="#super" class="xref">Appendix A</a>, reduced using these rules. The
"minimal set" derived in this document is meant to be implementable
"one-sided" over TCP and, with limitations, UDP. In the list, we
therefore precede a transport feature with "T:" if an implementation
over TCP is possible, "U:" if an implementation over UDP is possible,
and "T,U:" if an implementation over either TCP or UDP is possible.<a href="#section-4-3" class="pilcrow">¶</a></p>
<div id="conn-reduced">
<section id="section-4.1">
<h3 id="name-connection-related-transpor">
<a href="#section-4.1" class="section-number selfRef">4.1. </a><a href="#name-connection-related-transpor" class="section-name selfRef">CONNECTION-Related Transport Features</a>
</h3>
<p id="section-4.1-1">ESTABLISHMENT:<a href="#section-4.1-1" class="pilcrow">¶</a></p>
<ul class="compact">
<li class="compact" id="section-4.1-2.1">T,U: Connect<a href="#section-4.1-2.1" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-2.2">T,U: Specify number of attempts and/or timeout for the first establishment message<a href="#section-4.1-2.2" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-2.3">T,U: Disable MPTCP<a href="#section-4.1-2.3" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-2.4">T: Configure authentication<a href="#section-4.1-2.4" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-2.5">T: Hand over a message to reliably transfer (possibly multiple
times) before connection establishment<a href="#section-4.1-2.5" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-2.6">T: Hand over a message to reliably transfer during connection establishment<a href="#section-4.1-2.6" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-4.1-3">AVAILABILITY:<a href="#section-4.1-3" class="pilcrow">¶</a></p>
<ul class="compact">
<li class="compact" id="section-4.1-4.1">T,U: Listen<a href="#section-4.1-4.1" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-4.2">T,U: Disable MPTCP<a href="#section-4.1-4.2" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-4.3">T: Configure authentication<a href="#section-4.1-4.3" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-4.1-5">MAINTENANCE:<a href="#section-4.1-5" class="pilcrow">¶</a></p>
<ul class="compact">
<li class="compact" id="section-4.1-6.1">T: Change timeout for aborting connection (using retransmit limit or time value)<a href="#section-4.1-6.1" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.2">T: Suggest timeout to the peer<a href="#section-4.1-6.2" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.3">T,U: Disable Nagle algorithm<a href="#section-4.1-6.3" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.4">T,U: Notification of Excessive Retransmissions (early warning below abortion threshold)<a href="#section-4.1-6.4" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.5">T,U: Specify DSCP field<a href="#section-4.1-6.5" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.6">T,U: Notification of ICMP error message arrival<a href="#section-4.1-6.6" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.7">T: Change authentication parameters<a href="#section-4.1-6.7" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.8">T: Obtain authentication information<a href="#section-4.1-6.8" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.9">T,U: Set Cookie life value<a href="#section-4.1-6.9" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.10">T,U: Choose a scheduler to operate between streams of an association<a href="#section-4.1-6.10" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.11">T,U: Configure priority or weight for a scheduler<a href="#section-4.1-6.11" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.12">T,U: Disable checksum when sending<a href="#section-4.1-6.12" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.13">T,U: Disable checksum requirement when receiving<a href="#section-4.1-6.13" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.14">T,U: Specify checksum coverage used by the sender<a href="#section-4.1-6.14" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.15">T,U: Specify minimum checksum coverage required by receiver<a href="#section-4.1-6.15" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.16">T,U: Specify DF field<a href="#section-4.1-6.16" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.17">T,U: Get max. transport-message size that may be sent using a non-fragmented IP packet from the configured interface<a href="#section-4.1-6.17" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.18">T,U: Get max. transport-message size that may be received from the configured interface<a href="#section-4.1-6.18" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.19">T,U: Obtain ECN field<a href="#section-4.1-6.19" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-6.20">T,U: Enable and configure a "Low Extra Delay Background Transfer"<a href="#section-4.1-6.20" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-4.1-7">TERMINATION:<a href="#section-4.1-7" class="pilcrow">¶</a></p>
<ul class="compact">
<li class="compact" id="section-4.1-8.1">T: Close after reliably delivering all remaining data, causing
an event informing the application on the other side<a href="#section-4.1-8.1" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-8.2">T: Abort without delivering remaining data, causing an event
informing the application on the other side<a href="#section-4.1-8.2" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-8.3">T,U: Abort without delivering remaining data, not causing an
event informing the application on the other side<a href="#section-4.1-8.3" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.1-8.4">T,U: Timeout event when data could not be delivered for too long<a href="#section-4.1-8.4" class="pilcrow">¶</a>
</li>
</ul>
</section>
</div>
<div id="data-reduced">
<section id="section-4.2">
<h3 id="name-data-transfer-related-trans">
<a href="#section-4.2" class="section-number selfRef">4.2. </a><a href="#name-data-transfer-related-trans" class="section-name selfRef">DATA-Transfer-Related Transport Features</a>
</h3>
<div id="data-sending-reduced">
<section id="section-4.2.1">
<h4 id="name-sending-data">
<a href="#section-4.2.1" class="section-number selfRef">4.2.1. </a><a href="#name-sending-data" class="section-name selfRef">Sending Data</a>
</h4>
<ul class="compact">
<li class="compact" id="section-4.2.1-1.1">T: Reliably transfer data, with congestion control<a href="#section-4.2.1-1.1" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.1-1.2">T: Reliably transfer a message, with congestion control<a href="#section-4.2.1-1.2" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.1-1.3">T,U: Unreliably transfer a message<a href="#section-4.2.1-1.3" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.1-1.4">T: Configurable Message Reliability<a href="#section-4.2.1-1.4" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.1-1.5">T: Ordered message delivery (potentially slower than unordered)<a href="#section-4.2.1-1.5" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.1-1.6">T,U: Unordered message delivery (potentially faster than ordered)<a href="#section-4.2.1-1.6" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.1-1.7">T,U: Request not to bundle messages<a href="#section-4.2.1-1.7" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.1-1.8">T: Specifying a key id to be used to authenticate a message<a href="#section-4.2.1-1.8" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.1-1.9">T,U: Request not to delay the acknowledgement (SACK) of a message<a href="#section-4.2.1-1.9" class="pilcrow">¶</a>
</li>
</ul>
</section>
</div>
<div id="data-receiving-reduced">
<section id="section-4.2.2">
<h4 id="name-receiving-data">
<a href="#section-4.2.2" class="section-number selfRef">4.2.2. </a><a href="#name-receiving-data" class="section-name selfRef">Receiving Data</a>
</h4>
<ul class="compact">
<li class="compact" id="section-4.2.2-1.1">T,U: Receive data (with no message delimiting)<a href="#section-4.2.2-1.1" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.2-1.2">U: Receive a message<a href="#section-4.2.2-1.2" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.2-1.3">T,U: Information about partial message arrival<a href="#section-4.2.2-1.3" class="pilcrow">¶</a>
</li>
</ul>
</section>
</div>
<div id="data-errors-reduced">
<section id="section-4.2.3">
<h4 id="name-errors">
<a href="#section-4.2.3" class="section-number selfRef">4.2.3. </a><a href="#name-errors" class="section-name selfRef">Errors</a>
</h4>
<p id="section-4.2.3-1">This section describes sending failures that are associated with
a specific call to in the "Sending Data" category (<a href="#data-sending-pass3" class="xref">Appendix A.2.1</a>).<a href="#section-4.2.3-1" class="pilcrow">¶</a></p>
<ul class="compact">
<li class="compact" id="section-4.2.3-2.1">T,U: Notification of send failures<a href="#section-4.2.3-2.1" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.3-2.2">T,U: Notification that the stack has no more user data to send<a href="#section-4.2.3-2.2" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-4.2.3-2.3">T,U: Notification to a receiver that a partial message delivery has been aborted<a href="#section-4.2.3-2.3" class="pilcrow">¶</a>
</li>
</ul>
</section>
</div>
</section>
</div>
</section>
</div>
<div id="Discussion">
<section id="section-5">
<h2 id="name-discussion">
<a href="#section-5" class="section-number selfRef">5. </a><a href="#name-discussion" class="section-name selfRef">Discussion</a>
</h2>
<p id="section-5-1">The reduced set in the previous section exhibits a number of
peculiarities, which we will discuss in the following. This section
focuses on TCP because, with the exception of one particular transport
feature ("Receive a message"; we will discuss this in <a href="#sendmsg" class="xref">Section 5.1</a>), the list shows that UDP is
strictly a subset of TCP. We can first try to understand how to build a
transport system that can run over TCP, and then narrow down the result
further to allow that the system can always run over either TCP or UDP
(which effectively means removing everything related to reliability,
ordering, authentication, and closing/aborting with a notification to the
peer).<a href="#section-5-1" class="pilcrow">¶</a></p>
<p id="section-5-2">Note that, because the functional transport features of UDP are, with
the exception of "Receive a message", a subset of TCP, TCP can be used
as a replacement for UDP whenever an application does not need message
delimiting (e.g., because the application-layer protocol already does
it). This has been recognized by many applications that already do this
in practice, by trying to communicate with UDP at first and falling
back to TCP in case of a connection failure.<a href="#section-5-2" class="pilcrow">¶</a></p>
<div id="sendmsg">
<section id="section-5.1">
<h3 id="name-sending-messages-receiving-">
<a href="#section-5.1" class="section-number selfRef">5.1. </a><a href="#name-sending-messages-receiving-" class="section-name selfRef">Sending Messages, Receiving Bytes</a>
</h3>
<p id="section-5.1-1">For implementing a transport system over TCP, there are several
transport features related to sending, but only a single transport
feature related to receiving: "Receive data (with no message
delimiting)" (and, strangely, "information about partial message
arrival"). Notably, the transport feature "Receive a message" is also
the only non-automatable transport feature of UDP(-Lite) for which no
implementation over TCP is possible.<a href="#section-5.1-1" class="pilcrow">¶</a></p>
<p id="section-5.1-2">To support these TCP receiver semantics, we define an
"Application-Framed Byte Stream" (AFra Byte Stream).
AFra Byte Streams allow senders to operate on messages while
minimizing changes to the TCP socket API. In particular,
nothing changes on the receiver side; data can be accepted
via a normal TCP socket.<a href="#section-5.1-2" class="pilcrow">¶</a></p>
<p id="section-5.1-3">In an AFra Byte Stream, the sending application can optionally
inform the transport about message boundaries and required properties
per message (configurable order and reliability, or embedding a
request not to delay the acknowledgement of a message). Whenever the
sending application specifies per-message properties that relax the
notion of reliable in-order delivery of bytes, it must assume that the
receiving application is 1) able to determine message boundaries,
provided that messages are always kept intact, and 2) able to accept
these relaxed per-message properties. Any signaling of such
information to the peer is up to an application-layer protocol and
considered out of scope of this document.<a href="#section-5.1-3" class="pilcrow">¶</a></p>
<p id="section-5.1-4">For example, if an application requests to transfer
fixed-size messages of 100 bytes with partial reliability,
this needs the receiving application to be prepared to accept
data in chunks of 100 bytes. Then, if some of these 100-byte
messages are missing (e.g., if SCTP with Configurable
Reliability is used), this is the expected application
behavior. With TCP, no messages would be missing, but this is
also correct for the application, and the possible
retransmission delay is acceptable within the best-effort
service model (see <span><a href="https://www.rfc-editor.org/rfc/rfc7305#section-3.5" class="relref">Section 3.5</a> of [<a href="#RFC7305" class="xref">RFC7305</a>]</span>). Still, the receiving application would
separate the byte stream into 100-byte chunks.<a href="#section-5.1-4" class="pilcrow">¶</a></p>
<p id="section-5.1-5">Note that this usage of messages does not require all messages to
be equal in size. Many application protocols use some form of
Type-Length-Value (TLV) encoding, e.g., by defining a header including
length fields; another alternative is the use of byte stuffing methods
such as Consistent Overhead Byte Stuffing (COBS) <span>[<a href="#COBS" class="xref">COBS</a>]</span>. If an application
needs message numbers, e.g., to restore the correct sequence of
messages, these must also be encoded by the application itself, as SCTP's
transport features that are related to the sequence number are not provided by
the "minimum set" (in the interest of enabling usage of TCP).<a href="#section-5.1-5" class="pilcrow">¶</a></p>
</section>
</div>
<div id="nostream">
<section id="section-5.2">
<h3 id="name-stream-schedulers-without-s">
<a href="#section-5.2" class="section-number selfRef">5.2. </a><a href="#name-stream-schedulers-without-s" class="section-name selfRef">Stream Schedulers without Streams</a>
</h3>
<p id="section-5.2-1">We have already stated that multi-streaming does not require application-specific knowledge.
Potential benefits or disadvantages of, e.g., using two streams of an SCTP association
versus using two separate SCTP associations or TCP connections are related to knowledge
about the network and the particular transport protocol in use, not the application.
However, the transport features "Choose a scheduler to operate between streams of
an association" and "Configure priority or weight for a scheduler" operate on streams.
Here, streams identify communication channels between which a scheduler operates, and
they can be assigned a priority. Moreover, the transport features in the MAINTENANCE
category all operate on associations in case of SCTP, i.e., they apply to all streams in
that association.<a href="#section-5.2-1" class="pilcrow">¶</a></p>
<p id="section-5.2-2">With only these semantics necessary to represent, the interface to
a transport system becomes easier if we assume that connections may be
not only a transport protocol's connection or association, but could
also be a stream of an existing SCTP association, for example. We only
need to allow for a way to define a possible grouping of
connections. Then, all MAINTENANCE transport features can be said to
operate on connection groups, not connections, and a scheduler
operates on the connections within a group.<a href="#section-5.2-2" class="pilcrow">¶</a></p>
<p id="section-5.2-3">To be compatible with multiple transport protocols and uniformly
allow access to both transport connections and streams of a
multi-streaming protocol, the semantics of opening and closing need to
be the most restrictive subset of all of the underlying options. For
example, TCP's support of half-closed connections can be seen as a
feature on top of the more restrictive "ABORT"; this feature cannot be
supported because not all protocols used by a transport system
(including streams of an association) support half-closed connections.<a href="#section-5.2-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="earlydata">
<section id="section-5.3">
<h3 id="name-early-data-transmission">
<a href="#section-5.3" class="section-number selfRef">5.3. </a><a href="#name-early-data-transmission" class="section-name selfRef">Early Data Transmission</a>
</h3>
<p id="section-5.3-1">There are two transport features related to transferring a message
early: "Hand over a message to reliably transfer (possibly multiple
times) before connection establishment", which relates to TCP Fast
Open <span>[<a href="#RFC7413" class="xref">RFC7413</a>]</span>, and "Hand over a
message to reliably transfer during connection establishment", which
relates to SCTP's ability to transfer data together with the
COOKIE-Echo chunk. Also without TCP Fast Open, TCP can transfer data
during the handshake, together with the SYN packet; however, the
receiver of this data may not hand it over to the application until
the handshake has completed. Also, different from TCP Fast Open, this
data is not delimited as a message by TCP (thus, not visible as a
"message"). This functionality is commonly available in TCP and
supported in several implementations, even though the TCP
specification does not explain how to provide it to applications.<a href="#section-5.3-1" class="pilcrow">¶</a></p>
<p id="section-5.3-2">A transport system could differentiate between the cases of
transmitting data "before" (possibly multiple times) or "during" the
handshake. Alternatively, it could also assume that data that are
handed over early will be transmitted as early as possible, and
"before" the handshake would only be used for messages that are
explicitly marked as "idempotent" (i.e., it would be acceptable to
transfer them multiple times).<a href="#section-5.3-2" class="pilcrow">¶</a></p>
<p id="section-5.3-3">The amount of data that can successfully be transmitted before or
during the handshake depends on various factors: the transport
protocol, the use of header options, the choice of IPv4 and IPv6, and
the Path MTU. A transport system should therefore allow a sending
application to query the maximum amount of data it can possibly
transmit before (or, if exposed, during) connection establishment.<a href="#section-5.3-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="rundry">
<section id="section-5.4">
<h3 id="name-sender-running-dry">
<a href="#section-5.4" class="section-number selfRef">5.4. </a><a href="#name-sender-running-dry" class="section-name selfRef">Sender Running Dry</a>
</h3>
<p id="section-5.4-1">The transport feature "Notification that the stack has no more user
data to send" relates to SCTP's "SENDER DRY" notification. Such
notifications can, in principle, be used to avoid having an
unnecessarily large send buffer, yet ensure that the transport sender
always has data available when it has an opportunity to transmit it.
This has been found to be very beneficial for some applications <span>[<a href="#WWDC2015" class="xref">WWDC2015</a>]</span>. However, "SENDER DRY" truly
means that the entire send buffer (including both unsent and
unacknowledged data) has emptied, i.e., when it notifies the sender,
it is already too late; the transport protocol already missed an
opportunity to send data. Some modern TCP implementations now include
the unspecified "TCP_NOTSENT_LOWAT" socket option that was proposed in
<span>[<a href="#WWDC2015" class="xref">WWDC2015</a>]</span>, which limits the amount of
unsent data that TCP can keep in the socket buffer; this allows
specifying at which buffer filling level the socket becomes writable,
rather than waiting for the buffer to run empty.<a href="#section-5.4-1" class="pilcrow">¶</a></p>
<p id="section-5.4-2">SCTP allows configuring the sender-side buffer too; the
automatable Transport Feature "Configure send buffer size" provides
this functionality, but only for the complete buffer, which includes
both unsent and unacknowledged data. SCTP does not allow to control
these two sizes separately. It therefore makes sense for a transport
system to allow for uniform access to "TCP_NOTSENT_LOWAT" as well as
the "SENDER DRY" notification.<a href="#section-5.4-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="profile">
<section id="section-5.5">
<h3 id="name-capacity-profile">
<a href="#section-5.5" class="section-number selfRef">5.5. </a><a href="#name-capacity-profile" class="section-name selfRef">Capacity Profile</a>
</h3>
<p id="section-5.5-1">The transport features:<a href="#section-5.5-1" class="pilcrow">¶</a></p>
<ul class="compact">
<li class="compact" id="section-5.5-2.1">Disable Nagle algorithm<a href="#section-5.5-2.1" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-5.5-2.2">Enable and configure a "Low Extra Delay Background Transfer"<a href="#section-5.5-2.2" class="pilcrow">¶</a>
</li>
<li class="compact" id="section-5.5-2.3">Specify DSCP field<a href="#section-5.5-2.3" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-5.5-3">
All relate to a QoS-like application need such as "low
latency" or "scavenger". In the interest of flexibility of
a transport system, they could therefore be offered in a
uniform, more abstract way, where a transport system
could, e.g., decide by itself how to use combinations of
LEDBAT-like congestion control and certain DSCP values,
and an application would only specify a general "capacity
profile" (a description of how it wants to use the
available capacity). A need for "lowest possible latency
at the expense of overhead" could then translate into
automatically disabling the Nagle algorithm.<a href="#section-5.5-3" class="pilcrow">¶</a></p>
<p id="section-5.5-4">In some cases, the Nagle algorithm is best controlled directly by
the application because it is not only related to a general profile
but also to knowledge about the size of future messages. For
fine-grain control over Nagle-like functionality, the "Request not to
bundle messages" is available.<a href="#section-5.5-4" class="pilcrow">¶</a></p>
</section>
</div>
<div id="security">
<section id="section-5.6">
<h3 id="name-security">
<a href="#section-5.6" class="section-number selfRef">5.6. </a><a href="#name-security" class="section-name selfRef">Security</a>
</h3>
<p id="section-5.6-1">Both TCP and SCTP offer authentication. TCP authenticates complete
segments. SCTP allows configuring which of SCTP's chunk types must
always be authenticated; if this is exposed as such, it creates an
undesirable dependency on the transport protocol. For compatibility
with TCP, a transport system should only allow to configure complete
transport layer packets, including headers, IP pseudo-header (if any)
and payload.<a href="#section-5.6-1" class="pilcrow">¶</a></p>
<p id="section-5.6-2">Security is discussed in a separate document <span>[<a href="#RFC8922" class="xref">RFC8922</a>]</span>. The minimal set presented in the present document
excludes all security-related transport features from <a href="#super" class="xref">Appendix A</a>: "Configure authentication", "Change
authentication parameters", "Obtain authentication information", and
"Set Cookie life value", as well as "Specifying a key id to be used to
authenticate a message". It also excludes security transport features
not listed in <a href="#super" class="xref">Appendix A</a>, including
content privacy to in-path devices.<a href="#section-5.6-2" class="pilcrow">¶</a></p>
</section>
</div>
<div id="packetsize">
<section id="section-5.7">
<h3 id="name-packet-size">
<a href="#section-5.7" class="section-number selfRef">5.7. </a><a href="#name-packet-size" class="section-name selfRef">Packet Size</a>
</h3>
<p id="section-5.7-1">UDP(-Lite) has a transport feature called "Specify DF field". This
yields an error message in the case of sending a message that exceeds the
Path MTU, which is necessary for a UDP-based application to be able to
implement Path MTU Discovery (a function that UDP-based applications
must do by themselves). The "Get max. transport-message size that may
be sent using a non-fragmented IP packet from the configured
interface" transport feature yields an upper limit for the Path MTU
(minus headers) and can therefore help to implement Path MTU Discovery
more efficiently.<a href="#section-5.7-1" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
<div id="minset">
<section id="section-6">
<h2 id="name-the-minimal-set-of-transpor">
<a href="#section-6" class="section-number selfRef">6. </a><a href="#name-the-minimal-set-of-transpor" class="section-name selfRef">The Minimal Set of Transport Features</a>
</h2>
<p id="section-6-1"> Based on the categorization, reduction, and discussion in <a href="#deriving" class="xref">Section 3</a>, this section describes a minimal
set of transport features that end systems should offer. Any
configuration based on the described minimum set of transport feature can
always be realized over TCP but also gives the transport system
flexibility to choose another transport if implemented. In the text of
this section, "not UDP" is used to indicate elements of the system that
cannot be implemented over UDP. Conversely, all elements of the system
that are not marked with "not UDP" can also be implemented over UDP.<a href="#section-6-1" class="pilcrow">¶</a></p>
<p id="section-6-2"> The arguments laid out in <a href="#Discussion" class="xref">Section 5</a> ("discussion") were used to make the final
representation of the minimal set as short, simple, and general as
possible. There may be situations where these arguments do not apply,
e.g., implementers may have specific reasons to expose multi-streaming
as a visible functionality to applications, or the restrictive
open/close semantics may be problematic under some circumstances. In
such cases, the representation in <a href="#Reduction" class="xref">Section 4</a> ("reduction") should be considered.<a href="#section-6-2" class="pilcrow">¶</a></p>
<p id="section-6-3"> As in <a href="#deriving" class="xref">Section 3</a>, <a href="#Reduction" class="xref">Section 4</a>, and <span>[<a href="#RFC8303" class="xref">RFC8303</a>]</span>, we categorize the minimal set of transport features
as 1) CONNECTION related (ESTABLISHMENT, AVAILABILITY, MAINTENANCE,
TERMINATION) and 2) DATA Transfer related (Sending Data, Receiving Data,
Errors). Here, the focus is on connections that the transport system
offers as an abstraction to the application, as opposed to connections
of transport protocols that the transport system uses.<a href="#section-6-3" class="pilcrow">¶</a></p>
<div id="minset-init">
<section id="section-6.1">
<h3 id="name-establishment-availability-">
<a href="#section-6.1" class="section-number selfRef">6.1. </a><a href="#name-establishment-availability-" class="section-name selfRef">ESTABLISHMENT, AVAILABILITY, and TERMINATION</a>
</h3>
<p id="section-6.1-1">A connection must first be "created" to allow for some initial
configuration to be carried out before the transport system can
actively or passively establish communication with a remote end
system. As a configuration of the newly created connection, an
application can choose to disallow usage of MPTCP. Furthermore, all
configuration parameters in <a href="#minset-groupconfig" class="xref">Section 6.2</a> can be used initially, although some of them may
only take effect when a connection has been established with a chosen
transport protocol. Configuring a connection early helps a transport
system make the right decisions. For example, grouping information can
influence whether or not the transport system implements a connection as a stream
of a multi-streaming protocol's existing association.<a href="#section-6.1-1" class="pilcrow">¶</a></p>
<p id="section-6.1-2">
For ungrouped connections, early configuration is
necessary because it allows the transport system to know
which protocols it should try to use. In particular, a
transport system that only makes a one-time choice for a
particular protocol must know early about strict
requirements that must be kept, or it can end up in a
deadlock situation (e.g., having chosen UDP and later be
asked to support reliable transfer). As an example
description of how to correctly handle these cases, we
provide the following decision tree (this is derived from
<a href="#conn-reduced" class="xref">Section 4.1</a> excluding
authentication, as explained in <a href="#Security" class="xref">Section 8</a>):<a href="#section-6.1-2" class="pilcrow">¶</a></p>
<div class="artwork art-text alignLeft" id="section-6.1-3">
<pre>
+----------------------------------------------------------+
| Will it ever be necessary to offer any of the following? |
| * Reliably transfer data |
| * Notify the peer of closing/aborting |
| * Preserve data ordering |
+----------------------------------------------------------+
| |
|Yes |No
| (SCTP or TCP) | (All protocols
| can be used.) | can be used.)
V V
+--------------------------------------+ +-----------------------------+
| Is any of the following useful to | | Is any of the following |
| the application? | | useful to the application? |
| * Choosing a scheduler to operate | | * Specify checksum coverage |
| between connections in a group, | | used by the sender |
| with the possibility to configure | | * Specify minimum checksum |
| a priority or weight per connection| | coverage required by the |
| * Configurable message reliability | | receiver |
| * Unordered message delivery | +-----------------------------+
| * Request not to delay the | | |
| acknowledgement (SACK) of a message| |Yes |No
+--------------------------------------+ | |
| | | |
|Yes |No | |
V | V V
SCTP is | UDP-Lite is UDP is
preferred. | preferred. preferred.
V
+------------------------------------------------------+
| Is any of the following useful to the application? |
| * Hand over a message to reliably transfer (possibly |
| multiple times) before connection establishment |
| * Suggest timeout to the peer |
| * Notification of Excessive Retransmissions (early |
| warning below abortion threshold) |
| * Notification of ICMP error message arrival |
+------------------------------------------------------+
| |
|Yes |No
V V
TCP is preferred. SCTP and TCP
are equally preferable.
</pre><a href="#section-6.1-3" class="pilcrow">¶</a>
</div>
<p id="section-6.1-4">Note that this decision tree is not optimal for all cases. For
example, if an application wants to use "Specify checksum coverage
used by the sender", which is only offered by UDP-Lite, and "Configure
priority or weight for a scheduler", which is only offered by SCTP,
the above decision tree will always choose UDP-Lite, making it
impossible to use SCTP's schedulers with priorities between grouped
connections. Also, several other factors may influence the decisions
for or against a protocol, e.g., penetration rates, the ability to
work through NATs, etc. We caution implementers to be aware of the
full set of trade-offs, for which we recommend consulting the list in
<a href="#conn-reduced" class="xref">Section 4.1</a> when deciding how to
initialize a connection.<a href="#section-6.1-4" class="pilcrow">¶</a></p>
<p id="section-6.1-5">To summarize, the following parameters serve as input for the
transport system to help it choose and configure a suitable
protocol:<a href="#section-6.1-5" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlParallel" id="section-6.1-6">
<dt id="section-6.1-6.1">Reliability:
</dt>
<dd style="margin-left: 1.5em" id="section-6.1-6.2">a boolean that should be set to true when any of the following will be
useful to the application: reliably transfer data; notify the peer of
closing/aborting; or preserve data ordering.<a href="#section-6.1-6.2" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.1-6.3">Checksum coverage:
</dt>
<dd style="margin-left: 1.5em" id="section-6.1-6.4">a boolean to specify whether it will be useful to the application to
specify checksum coverage when sending or receiving.<a href="#section-6.1-6.4" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.1-6.5">Configure message priority:
</dt>
<dd style="margin-left: 1.5em" id="section-6.1-6.6">a boolean that should be set to true when any of the following
per-message configuration or prioritization mechanisms will be useful to the
application: choosing a scheduler to operate between grouped connections, with
the possibility to configure a priority or weight per connection; configurable
message reliability; unordered message delivery; or requesting not to delay the
acknowledgement (SACK) of a message.<a href="#section-6.1-6.6" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.1-6.7">Early message timeout notifications:
</dt>
<dd style="margin-left: 1.5em" id="section-6.1-6.8">a boolean that should be set to true when any of the following will be
useful to the application: hand over a message to reliably transfer (possibly
multiple times) before connection establishment; suggest timeout to the peer;
notification of excessive retransmissions (early warning below abortion
threshold); or notification of ICMP error message arrival.<a href="#section-6.1-6.8" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
</dl>
<p id="section-6.1-7">Once a connection is created, it can be queried for the maximum
amount of data that an application can possibly expect to have
reliably transmitted before or during transport connection
establishment (with zero being a possible answer) (see <a href="#minset-maintenance-grouped" class="xref">Section 6.2.1</a>). An
application can also give the connection a message for reliable
transmission before or during connection establishment (not UDP); the
transport system will then try to transmit it as early as possible. An
application can facilitate sending a message particularly early by
marking it as "idempotent" (see <a href="#minset-datatrans-sending" class="xref">Section 6.3.1</a>); in this case,
the receiving application must be prepared to potentially receive
multiple copies of the message (because idempotent messages are
reliably transferred, asking for idempotence is not necessary for
systems that support UDP).<a href="#section-6.1-7" class="pilcrow">¶</a></p>
<p id="section-6.1-8">
After creation, a transport system can actively establish
communication with a peer, or it can passively listen for
incoming connection requests. Note that active
establishment may or may not trigger a notification on the
listening side. It is possible that the first notification
on the listening side is the arrival of the first data
that the active side sends (a receiver-side transport
system could handle this by continuing to block a "Listen"
call, immediately followed, for example, by issuing
"Receive"; callback-based implementations could simply
skip the equivalent of "Listen"). This also means that the
active opening side is assumed to be the first side
sending data.<a href="#section-6.1-8" class="pilcrow">¶</a></p>
<p id="section-6.1-9">A transport system can actively close a connection, i.e., terminate
it after reliably delivering all remaining data to the peer (if
reliable data delivery was requested earlier (not UDP)), in which case
the peer is notified that the connection is closed. Alternatively, a
connection can be aborted without delivering outstanding data to the
peer. In case reliable or partially reliable data delivery was
requested earlier (not UDP), the peer is notified that the connection
is aborted. A timeout can be configured to abort a connection when
data could not be delivered for too long (not UDP); however,
timeout-based abortion does not notify the peer application that the
connection has been aborted. Because half-closed connections are not
supported, when a host implementing a transport system receives a
notification that the peer is closing or aborting the connection (not
UDP), its peer may not be able to read outstanding data. This means
that unacknowledged data residing in a transport system's send buffer
may have to be dropped from that buffer upon arrival of a "close" or
"abort" notification from the peer.<a href="#section-6.1-9" class="pilcrow">¶</a></p>
</section>
</div>
<div id="minset-groupconfig">
<section id="section-6.2">
<h3 id="name-maintenance">
<a href="#section-6.2" class="section-number selfRef">6.2. </a><a href="#name-maintenance" class="section-name selfRef">MAINTENANCE</a>
</h3>
<p id="section-6.2-1">A transport system must offer means to group connections, but it
cannot guarantee truly grouping them using the transport protocols
that it uses (e.g., it cannot be guaranteed that connections become
multiplexed as streams on a single SCTP association when SCTP may not
be available). The transport system must therefore ensure that group-
versus non-group-configurations are handled correctly in some way
(e.g., by applying the configuration to all grouped connections even
when they are not multiplexed, or informing the application about
grouping success or failure).<a href="#section-6.2-1" class="pilcrow">¶</a></p>
<p id="section-6.2-2">As a general rule, any configuration described below should be carried
out as early as possible to aid the transport system's decision making.<a href="#section-6.2-2" class="pilcrow">¶</a></p>
<div id="minset-maintenance-grouped">
<section id="section-6.2.1">
<h4 id="name-connection-groups">
<a href="#section-6.2.1" class="section-number selfRef">6.2.1. </a><a href="#name-connection-groups" class="section-name selfRef">Connection Groups</a>
</h4>
<p id="section-6.2.1-1">The following transport features and notifications (some directly
from <a href="#Reduction" class="xref">Section 4</a>; some new or
changed, based on the discussion in <a href="#Discussion" class="xref">Section 5</a>) automatically apply to all grouped connections:<a href="#section-6.2.1-1" class="pilcrow">¶</a></p>
<p id="section-6.2.1-2">Configure a timeout (not UDP)<br>This can be done with the following parameters:<a href="#section-6.2.1-2" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-6.2.1-3.1">A timeout value for aborting connections, in seconds.<a href="#section-6.2.1-3.1" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-6.2.1-3.2">A timeout value to be suggested to the peer (if possible), in seconds.<a href="#section-6.2.1-3.2" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-6.2.1-3.3">The number of retransmissions after which the application
should be notified of "Excessive Retransmissions".<a href="#section-6.2.1-3.3" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-6.2.1-4">Configure urgency<br>This can be done with the following parameters:<a href="#section-6.2.1-4" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-6.2.1-5.1">A number to identify the type of scheduler that should be used
to operate between connections in the group (no guarantees
given). Schedulers are defined in <span>[<a href="#RFC8260" class="xref">RFC8260</a>]</span>.<a href="#section-6.2.1-5.1" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-6.2.1-5.2">A "capacity profile" number to identify how an application
wants to use its available capacity. Choices can be "lowest
possible latency at the expense of overhead" (which would disable
any Nagle-like algorithm), "scavenger", or values that help
determine the DSCP value for a connection.<a href="#section-6.2.1-5.2" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-6.2.1-5.3">A buffer limit (in bytes); when the sender has less than the
provided limit of bytes in the buffer, the application may be
notified. Notifications are not guaranteed, and it is optional for
a transport system to support buffer limit values greater than 0.
Note that this limit and its notification should operate across
the buffers of the whole transport system, i.e., also any
potential buffers that the transport system itself may use on top
of the transport's send buffer.<a href="#section-6.2.1-5.3" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-6.2.1-6">Following <a href="#packetsize" class="xref">Section 5.7</a>, these properties can be queried:<a href="#section-6.2.1-6" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-6.2.1-7.1">The maximum message size that may be sent without
fragmentation via the configured interface. This is optional for a
transport system to offer and may return an error ("not
available"). It can aid applications implementing Path MTU
Discovery.<a href="#section-6.2.1-7.1" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-6.2.1-7.2">The maximum transport message size that can be sent, in
bytes. Irrespective of fragmentation, there is a size limit for
the messages that can be handed over to SCTP or UDP(-Lite);
because the service provided by a transport system is independent
of the transport protocol, it must allow an application to query
this value: the maximum size of a message in an
Application-Framed Byte Stream (see <a href="#sendmsg" class="xref">Section 5.1</a>). This may also return an error when data is
not delimited ("not available").<a href="#section-6.2.1-7.2" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-6.2.1-7.3">The maximum transport message size that can be received from
the configured interface, in bytes (or "not available").<a href="#section-6.2.1-7.3" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-6.2.1-7.4">The maximum amount of data that can possibly be sent before or
during connection establishment, in bytes.<a href="#section-6.2.1-7.4" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-6.2.1-8">In addition to the already mentioned closing/aborting
notifications and possible send errors, the following notifications
can occur:<a href="#section-6.2.1-8" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlParallel" id="section-6.2.1-9">
<dt id="section-6.2.1-9.1">Excessive Retransmissions:
</dt>
<dd style="margin-left: 1.5em" id="section-6.2.1-9.2">The configured (or a default) number of retransmissions has been
reached, yielding this early warning below an abortion threshold.<a href="#section-6.2.1-9.2" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.2.1-9.3">ICMP Arrival (parameter: ICMP message):
</dt>
<dd style="margin-left: 1.5em" id="section-6.2.1-9.4">An ICMP packet carrying the conveyed ICMP message has arrived.<a href="#section-6.2.1-9.4" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.2.1-9.5">ECN Arrival (parameter: ECN value):
</dt>
<dd style="margin-left: 1.5em" id="section-6.2.1-9.6">A packet carrying the conveyed Explicit Congestion Notification (ECN) value has arrived. This can be
useful for applications implementing congestion control.<a href="#section-6.2.1-9.6" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.2.1-9.7">Timeout (parameter: s seconds):
</dt>
<dd style="margin-left: 1.5em" id="section-6.2.1-9.8">Data could not be delivered for s seconds.<a href="#section-6.2.1-9.8" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.2.1-9.9">Drain:
</dt>
<dd style="margin-left: 1.5em" id="section-6.2.1-9.10">The send buffer has either drained below the configured buffer limit
or it has become completely empty. This is a generic notification that
tries to enable uniform access to "TCP_NOTSENT_LOWAT" as well as the
"SENDER DRY" notification (as discussed in <a href="#rundry" class="xref">Section 5.4</a>; SCTP's "SENDER
DRY" is a special case where the threshold (for unsent data) is 0 and
there is also no more unacknowledged data in the send buffer).<a href="#section-6.2.1-9.10" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
</dl>
</section>
</div>
<div id="minset-maintenance-individual">
<section id="section-6.2.2">
<h4 id="name-individual-connections">
<a href="#section-6.2.2" class="section-number selfRef">6.2.2. </a><a href="#name-individual-connections" class="section-name selfRef">Individual Connections</a>
</h4>
<p id="section-6.2.2-1">Configure priority or weight for a scheduler, as described in
<span>[<a href="#RFC8260" class="xref">RFC8260</a>]</span>.<a href="#section-6.2.2-1" class="pilcrow">¶</a></p>
<p id="section-6.2.2-2">Configure checksum usage: This can be done with the following
parameters, but there is no guarantee that any checksum limitations
will indeed be enforced (the default behavior is "full coverage,
checksum enabled"):<a href="#section-6.2.2-2" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-6.2.2-3.1">a boolean to enable/disable usage of a checksum when sending<a href="#section-6.2.2-3.1" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-6.2.2-3.2">the desired coverage (in bytes) of the checksum used when sending<a href="#section-6.2.2-3.2" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-6.2.2-3.3">a boolean to enable/disable requiring a checksum when receiving<a href="#section-6.2.2-3.3" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-6.2.2-3.4">the required minimum coverage (in bytes) of the checksum when receiving<a href="#section-6.2.2-3.4" class="pilcrow">¶</a>
</li>
</ul>
</section>
</div>
</section>
</div>
<div id="minset-datatrans">
<section id="section-6.3">
<h3 id="name-data-transfer">
<a href="#section-6.3" class="section-number selfRef">6.3. </a><a href="#name-data-transfer" class="section-name selfRef">DATA Transfer</a>
</h3>
<div id="minset-datatrans-sending">
<section id="section-6.3.1">
<h4 id="name-sending-data-2">
<a href="#section-6.3.1" class="section-number selfRef">6.3.1. </a><a href="#name-sending-data-2" class="section-name selfRef">Sending Data</a>
</h4>
<p id="section-6.3.1-1">When sending a message, no guarantees are given about the
preservation of message boundaries to the peer; if message
boundaries are needed, the receiving application at the peer must
know about them beforehand (or the transport system cannot use
TCP). Note that an application should already be able to hand over
data before the transport system establishes a connection with a
chosen transport protocol. Regarding the message that is being
handed over, the following parameters can be used:<a href="#section-6.3.1-1" class="pilcrow">¶</a></p>
<span class="break"></span><dl class="dlParallel" id="section-6.3.1-2">
<dt id="section-6.3.1-2.1">Reliability:
</dt>
<dd style="margin-left: 1.5em" id="section-6.3.1-2.2">This parameter is used to convey a choice of: fully reliable with
congestion control (not UDP), unreliable without congestion control,
unreliable with congestion control (not UDP), and partially reliable with
congestion control (see <span>[<a href="#RFC3758" class="xref">RFC3758</a>]</span> and
<span>[<a href="#RFC7496" class="xref">RFC7496</a>]</span> for details on how to specify
partial reliability) (not UDP). The latter two choices are optional for a
transport system to offer and may result in full reliability. Note that
applications sending unreliable data without congestion control should
themselves perform congestion control in accordance with <span>[<a href="#RFC8085" class="xref">RFC8085</a>]</span>.<a href="#section-6.3.1-2.2" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.3.1-2.3">Ordered (not UDP):
</dt>
<dd style="margin-left: 1.5em" id="section-6.3.1-2.4">This boolean lets an application choose between ordered
message delivery (true) and possibly unordered, potentially faster message
delivery (false).<a href="#section-6.3.1-2.4" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.3.1-2.5">Bundle:
</dt>
<dd style="margin-left: 1.5em" id="section-6.3.1-2.6">This boolean expresses a preference for allowing to bundle messages
(true) or not (false). No guarantees are given.<a href="#section-6.3.1-2.6" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.3.1-2.7">DelAck:
</dt>
<dd style="margin-left: 1.5em" id="section-6.3.1-2.8">This boolean, if false, lets an application request that the peer not
delay the acknowledgement for this message.<a href="#section-6.3.1-2.8" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.3.1-2.9">Fragment:
</dt>
<dd style="margin-left: 1.5em" id="section-6.3.1-2.10">This boolean expresses a preference for allowing to fragment
messages (true) or not (false), at the IP level. No guarantees are given.<a href="#section-6.3.1-2.10" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
<dt id="section-6.3.1-2.11">Idempotent (not UDP):
</dt>
<dd style="margin-left: 1.5em" id="section-6.3.1-2.12">This boolean expresses whether a message is idempotent (true) or not
(false). Idempotent messages may arrive multiple times at the receiver
(but they will arrive at least once). When data is idempotent, it can be
used by the receiver immediately on a connection establishment
attempt. Thus, if data is handed over before the transport system
establishes a connection with a chosen transport protocol, stating that a
message is idempotent facilitates transmitting it to the peer application
particularly early.<a href="#section-6.3.1-2.12" class="pilcrow">¶</a>
</dd>
<dd class="break"></dd>
</dl>
<p id="section-6.3.1-3">An application can be notified of a failure to send a specific
message. There is no guarantee of such notifications, i.e., send
failures can also silently occur.<a href="#section-6.3.1-3" class="pilcrow">¶</a></p>
</section>
</div>
<div id="minset-datatrans-receiving">
<section id="section-6.3.2">
<h4 id="name-receiving-data-2">
<a href="#section-6.3.2" class="section-number selfRef">6.3.2. </a><a href="#name-receiving-data-2" class="section-name selfRef">Receiving Data</a>
</h4>
<p id="section-6.3.2-1">A receiving application obtains an "Application-Framed
Byte Stream" (AFra Byte Stream); this concept is further described in
<a href="#sendmsg" class="xref">Section 5.1</a>. In line with TCP's
receiver semantics, an AFra Byte Stream is just a stream of bytes to
the receiver. If message boundaries were specified by the sender, a
receiver-side transport system implementing only the minimum set of
Transport Services defined here will still not inform the receiving
application about them (this limitation is only needed for transport
systems that are implemented to directly use TCP).<a href="#section-6.3.2-1" class="pilcrow">¶</a></p>
<p id="section-6.3.2-2">Different from TCP's semantics, if the sending application has
allowed that messages are not fully reliably transferred, or
delivered out of order, then such reordering or unreliability may
be reflected per message in the arriving data. Messages will always
stay intact, i.e., if an incomplete message is contained at the end
of the arriving data block, this message is guaranteed to continue
in the next arriving data block.<a href="#section-6.3.2-2" class="pilcrow">¶</a></p>
</section>
</div>
</section>
</div>
</section>
</div>
<div id="IANA">
<section id="section-7">
<h2 id="name-iana-considerations">
<a href="#section-7" class="section-number selfRef">7. </a><a href="#name-iana-considerations" class="section-name selfRef">IANA Considerations</a>
</h2>
<p id="section-7-1">This document has no IANA actions.<a href="#section-7-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="Security">
<section id="section-8">
<h2 id="name-security-considerations">
<a href="#section-8" class="section-number selfRef">8. </a><a href="#name-security-considerations" class="section-name selfRef">Security Considerations</a>
</h2>
<p id="section-8-1">Authentication, confidentiality protection, and integrity protection
are identified as transport features by <span>[<a href="#RFC8095" class="xref">RFC8095</a>]</span>. Often, these features are provided by a protocol or
layer on top of the transport protocol; none of the full-featured
standards-track transport protocols in <span>[<a href="#RFC8303" class="xref">RFC8303</a>]</span>, which this document is based upon, provide all of
these transport features on its own. Therefore, they are not considered
in this document, with the exception of native authentication
capabilities of TCP and SCTP for which the security considerations in
<span>[<a href="#RFC5925" class="xref">RFC5925</a>]</span> and <span>[<a href="#RFC4895" class="xref">RFC4895</a>]</span> apply.
The minimum requirements for a secure transport system are discussed in a
separate document <span>[<a href="#RFC8922" class="xref">RFC8922</a>]</span>.<a href="#section-8-1" class="pilcrow">¶</a></p>
</section>
</div>
<section id="section-9">
<h2 id="name-references">
<a href="#section-9" class="section-number selfRef">9. </a><a href="#name-references" class="section-name selfRef">References</a>
</h2>
<section id="section-9.1">
<h3 id="name-normative-references">
<a href="#section-9.1" class="section-number selfRef">9.1. </a><a href="#name-normative-references" class="section-name selfRef">Normative References</a>
</h3>
<dl class="references">
<dt id="RFC8095">[RFC8095]</dt>
<dd>
<span class="refAuthor">Fairhurst, G., Ed.</span><span class="refAuthor">, Trammell, B., Ed.</span><span class="refAuthor">, and M. Kuehlewind, Ed.</span>, <span class="refTitle">"Services Provided by IETF Transport Protocols and Congestion Control Mechanisms"</span>, <span class="seriesInfo">RFC 8095</span>, <span class="seriesInfo">DOI 10.17487/RFC8095</span>, <time datetime="2017-03" class="refDate">March 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8095">https://www.rfc-editor.org/info/rfc8095</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8303">[RFC8303]</dt>
<dd>
<span class="refAuthor">Welzl, M.</span><span class="refAuthor">, Tuexen, M.</span><span class="refAuthor">, and N. Khademi</span>, <span class="refTitle">"On the Usage of Transport Features Provided by IETF Transport Protocols"</span>, <span class="seriesInfo">RFC 8303</span>, <span class="seriesInfo">DOI 10.17487/RFC8303</span>, <time datetime="2018-02" class="refDate">February 2018</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8303">https://www.rfc-editor.org/info/rfc8303</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8922">[RFC8922]</dt>
<dd>
<span class="refAuthor">Enghardt, T.</span><span class="refAuthor">, Pauly, T.</span><span class="refAuthor">, Perkins, C.</span><span class="refAuthor">, Rose, K.</span><span class="refAuthor">, and C. Wood</span>, <span class="refTitle">"A Survey of the Interaction between Security Protocols and Transport Services"</span>, <span class="seriesInfo">RFC 8922</span>, <span class="seriesInfo">DOI 10.17487/RFC8922</span>, <time datetime="2020-10" class="refDate">October 2020</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8922">https://www.rfc-editor.org/info/rfc8922</a>></span>. </dd>
<dd class="break"></dd>
</dl>
</section>
<section id="section-9.2">
<h3 id="name-informative-references">
<a href="#section-9.2" class="section-number selfRef">9.2. </a><a href="#name-informative-references" class="section-name selfRef">Informative References</a>
</h3>
<dl class="references">
<dt id="COBS">[COBS]</dt>
<dd>
<span class="refAuthor">Cheshire, S.</span><span class="refAuthor"> and M. Baker</span>, <span class="refTitle">"Consistent overhead byte stuffing"</span>, <span class="refContent">IEEE/ACM Transactions on Networking, Volume 7, Issue 2
</span>, <span class="seriesInfo">DOI 10.1109/90.769765</span>, <time datetime="1999-04" class="refDate">April 1999</time>, <span><<a href="https://doi.org/10.1109/90.769765">https://doi.org/10.1109/90.769765</a>></span>. </dd>
<dd class="break"></dd>
<dt id="POSIX">[POSIX]</dt>
<dd>
<span class="refAuthor">The Open Group</span>, <span class="refTitle">"IEEE Standard for Information Technology--Portable Operating System Interface (POSIX(R)) Base Specifications, Issue 7"</span>, <span class="refContent">(Revision of IEEE Std 1003.1-2008)</span>, <span class="seriesInfo">IEEE Std 1003.1-2017</span>, <time datetime="2018-01" class="refDate">January 2018</time>, <span><<a href="https://www.opengroup.org/onlinepubs/9699919799/functions/contents.html">https://www.opengroup.org/onlinepubs/9699919799/functions/contents.html</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC3758">[RFC3758]</dt>
<dd>
<span class="refAuthor">Stewart, R.</span><span class="refAuthor">, Ramalho, M.</span><span class="refAuthor">, Xie, Q.</span><span class="refAuthor">, Tuexen, M.</span><span class="refAuthor">, and P. Conrad</span>, <span class="refTitle">"Stream Control Transmission Protocol (SCTP) Partial Reliability Extension"</span>, <span class="seriesInfo">RFC 3758</span>, <span class="seriesInfo">DOI 10.17487/RFC3758</span>, <time datetime="2004-05" class="refDate">May 2004</time>, <span><<a href="https://www.rfc-editor.org/info/rfc3758">https://www.rfc-editor.org/info/rfc3758</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC4895">[RFC4895]</dt>
<dd>
<span class="refAuthor">Tuexen, M.</span><span class="refAuthor">, Stewart, R.</span><span class="refAuthor">, Lei, P.</span><span class="refAuthor">, and E. Rescorla</span>, <span class="refTitle">"Authenticated Chunks for the Stream Control Transmission Protocol (SCTP)"</span>, <span class="seriesInfo">RFC 4895</span>, <span class="seriesInfo">DOI 10.17487/RFC4895</span>, <time datetime="2007-08" class="refDate">August 2007</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4895">https://www.rfc-editor.org/info/rfc4895</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC4987">[RFC4987]</dt>
<dd>
<span class="refAuthor">Eddy, W.</span>, <span class="refTitle">"TCP SYN Flooding Attacks and Common Mitigations"</span>, <span class="seriesInfo">RFC 4987</span>, <span class="seriesInfo">DOI 10.17487/RFC4987</span>, <time datetime="2007-08" class="refDate">August 2007</time>, <span><<a href="https://www.rfc-editor.org/info/rfc4987">https://www.rfc-editor.org/info/rfc4987</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC5925">[RFC5925]</dt>
<dd>
<span class="refAuthor">Touch, J.</span><span class="refAuthor">, Mankin, A.</span><span class="refAuthor">, and R. Bonica</span>, <span class="refTitle">"The TCP Authentication Option"</span>, <span class="seriesInfo">RFC 5925</span>, <span class="seriesInfo">DOI 10.17487/RFC5925</span>, <time datetime="2010-06" class="refDate">June 2010</time>, <span><<a href="https://www.rfc-editor.org/info/rfc5925">https://www.rfc-editor.org/info/rfc5925</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC6897">[RFC6897]</dt>
<dd>
<span class="refAuthor">Scharf, M.</span><span class="refAuthor"> and A. Ford</span>, <span class="refTitle">"Multipath TCP (MPTCP) Application Interface Considerations"</span>, <span class="seriesInfo">RFC 6897</span>, <span class="seriesInfo">DOI 10.17487/RFC6897</span>, <time datetime="2013-03" class="refDate">March 2013</time>, <span><<a href="https://www.rfc-editor.org/info/rfc6897">https://www.rfc-editor.org/info/rfc6897</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC7305">[RFC7305]</dt>
<dd>
<span class="refAuthor">Lear, E., Ed.</span>, <span class="refTitle">"Report from the IAB Workshop on Internet Technology Adoption and Transition (ITAT)"</span>, <span class="seriesInfo">RFC 7305</span>, <span class="seriesInfo">DOI 10.17487/RFC7305</span>, <time datetime="2014-07" class="refDate">July 2014</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7305">https://www.rfc-editor.org/info/rfc7305</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC7413">[RFC7413]</dt>
<dd>
<span class="refAuthor">Cheng, Y.</span><span class="refAuthor">, Chu, J.</span><span class="refAuthor">, Radhakrishnan, S.</span><span class="refAuthor">, and A. Jain</span>, <span class="refTitle">"TCP Fast Open"</span>, <span class="seriesInfo">RFC 7413</span>, <span class="seriesInfo">DOI 10.17487/RFC7413</span>, <time datetime="2014-12" class="refDate">December 2014</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7413">https://www.rfc-editor.org/info/rfc7413</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC7496">[RFC7496]</dt>
<dd>
<span class="refAuthor">Tuexen, M.</span><span class="refAuthor">, Seggelmann, R.</span><span class="refAuthor">, Stewart, R.</span><span class="refAuthor">, and S. Loreto</span>, <span class="refTitle">"Additional Policies for the Partially Reliable Stream Control Transmission Protocol Extension"</span>, <span class="seriesInfo">RFC 7496</span>, <span class="seriesInfo">DOI 10.17487/RFC7496</span>, <time datetime="2015-04" class="refDate">April 2015</time>, <span><<a href="https://www.rfc-editor.org/info/rfc7496">https://www.rfc-editor.org/info/rfc7496</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8085">[RFC8085]</dt>
<dd>
<span class="refAuthor">Eggert, L.</span><span class="refAuthor">, Fairhurst, G.</span><span class="refAuthor">, and G. Shepherd</span>, <span class="refTitle">"UDP Usage Guidelines"</span>, <span class="seriesInfo">BCP 145</span>, <span class="seriesInfo">RFC 8085</span>, <span class="seriesInfo">DOI 10.17487/RFC8085</span>, <time datetime="2017-03" class="refDate">March 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8085">https://www.rfc-editor.org/info/rfc8085</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8260">[RFC8260]</dt>
<dd>
<span class="refAuthor">Stewart, R.</span><span class="refAuthor">, Tuexen, M.</span><span class="refAuthor">, Loreto, S.</span><span class="refAuthor">, and R. Seggelmann</span>, <span class="refTitle">"Stream Schedulers and User Message Interleaving for the Stream Control Transmission Protocol"</span>, <span class="seriesInfo">RFC 8260</span>, <span class="seriesInfo">DOI 10.17487/RFC8260</span>, <time datetime="2017-11" class="refDate">November 2017</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8260">https://www.rfc-editor.org/info/rfc8260</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8304">[RFC8304]</dt>
<dd>
<span class="refAuthor">Fairhurst, G.</span><span class="refAuthor"> and T. Jones</span>, <span class="refTitle">"Transport Features of the User Datagram Protocol (UDP) and Lightweight UDP (UDP-Lite)"</span>, <span class="seriesInfo">RFC 8304</span>, <span class="seriesInfo">DOI 10.17487/RFC8304</span>, <time datetime="2018-02" class="refDate">February 2018</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8304">https://www.rfc-editor.org/info/rfc8304</a>></span>. </dd>
<dd class="break"></dd>
<dt id="RFC8622">[RFC8622]</dt>
<dd>
<span class="refAuthor">Bless, R.</span>, <span class="refTitle">"A Lower-Effort Per-Hop Behavior (LE PHB) for Differentiated Services"</span>, <span class="seriesInfo">RFC 8622</span>, <span class="seriesInfo">DOI 10.17487/RFC8622</span>, <time datetime="2019-06" class="refDate">June 2019</time>, <span><<a href="https://www.rfc-editor.org/info/rfc8622">https://www.rfc-editor.org/info/rfc8622</a>></span>. </dd>
<dd class="break"></dd>
<dt id="SCTP-STREAM-1">[SCTP-STREAM-1]</dt>
<dd>
<span class="refAuthor">Weinrank, F.</span><span class="refAuthor"> and M. Tuexen</span>, <span class="refTitle">"Transparent Flow Mapping for NEAT"</span>, <span class="refContent">IFIP Networking 2017</span>, <span class="refContent">Workshop on Future of Internet Transport (FIT 2017)</span>, <time datetime="2017-06" class="refDate">June 2017</time>. </dd>
<dd class="break"></dd>
<dt id="SCTP-STREAM-2">[SCTP-STREAM-2]</dt>
<dd>
<span class="refAuthor">Welzl, M.</span><span class="refAuthor">, Niederbacher, F.</span><span class="refAuthor">, and S. Gjessing</span>, <span class="refTitle">"Beneficial Transparent Deployment of SCTP: The Missing Pieces"</span>, <span class="refContent">IEEE GlobeCom 2011</span>, <span class="seriesInfo">DOI 10.1109/GLOCOM.2011.6133554</span>, <time datetime="2011-12" class="refDate">December 2011</time>, <span><<a href="https://doi.org/10.1109/GLOCOM.2011.6133554">https://doi.org/10.1109/GLOCOM.2011.6133554</a>></span>. </dd>
<dd class="break"></dd>
<dt id="I-D.ietf-taps-interface">[TAPS-INTERFACE]</dt>
<dd>
<span class="refAuthor">Trammell, B.</span><span class="refAuthor">, Welzl, M.</span><span class="refAuthor">, Enghardt, T.</span><span class="refAuthor">, Fairhurst, G.</span><span class="refAuthor">, Kuehlewind, M.</span><span class="refAuthor">, Perkins, C.</span><span class="refAuthor">, Tiesel, P. S.</span><span class="refAuthor">, Wood, C. A.</span><span class="refAuthor">, and T. Pauly</span>, <span class="refTitle">"An Abstract Application Layer Interface to Transport Services"</span>, <span class="refContent">Work in Progress</span>, <span class="seriesInfo">Internet-Draft, draft-ietf-taps-interface-09</span>, <time datetime="2020-07-27" class="refDate">27 July 2020</time>, <span><<a href="https://tools.ietf.org/html/draft-ietf-taps-interface-09">https://tools.ietf.org/html/draft-ietf-taps-interface-09</a>></span>. </dd>
<dd class="break"></dd>
<dt id="WWDC2015">[WWDC2015]</dt>
<dd>
<span class="refAuthor">Lakhera, P.</span><span class="refAuthor"> and S. Cheshire</span>, <span class="refTitle">"Your App and Next Generation Networks"</span>, <span class="refContent">Apple Worldwide Developers Conference 2015</span>, <span class="refContent">San Francisco, USA</span>, <time datetime="2015-06" class="refDate">June 2015</time>, <span><<a href="https://developer.apple.com/videos/wwdc/2015/?id=719">https://developer.apple.com/videos/wwdc/2015/?id=719</a>></span>. </dd>
<dd class="break"></dd>
</dl>
</section>
</section>
<div id="super">
<section id="section-appendix.a">
<h2 id="name-the-superset-of-transport-f">
<a href="#section-appendix.a" class="section-number selfRef">Appendix A. </a><a href="#name-the-superset-of-transport-f" class="section-name selfRef">The Superset of Transport Features</a>
</h2>
<p id="section-appendix.a-1">
In this description, transport features are presented
following the nomenclature
"CATEGORY.[SUBCATEGORY].FEATURENAME.PROTOCOL", equivalent
to "pass 2" in <span>[<a href="#RFC8303" class="xref">RFC8303</a>]</span>.
We also sketch how functional or optimizing transport
features can be implemented by a transport system. The
"minimal set" derived in this document is meant to be
implementable "one-sided" over TCP and, with limitations,
UDP. Hence, for all transport features that are
categorized as "functional" or "optimizing", and for which
no matching TCP and/or UDP primitive exists in "pass 2" of
<span>[<a href="#RFC8303" class="xref">RFC8303</a>]</span>, a brief
discussion on how to implement them over TCP and/or UDP is
included.<a href="#section-appendix.a-1" class="pilcrow">¶</a></p>
<p id="section-appendix.a-2">We designate some transport features as "automatable" on the basis of
a broader decision that affects multiple transport features:<a href="#section-appendix.a-2" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-appendix.a-3.1">Most transport features that are related to multi-streaming were
designated as "automatable". This was done because the decision on
whether or not to use multi-streaming does not depend on
application-specific knowledge. This means that a connection that is
exhibited to an application could be implemented by using a single
stream of an SCTP association instead of mapping it to a complete SCTP
association or TCP connection. This could be achieved by using more
than one stream when an SCTP association is first established
(CONNECT.SCTP parameter "outbound stream count"), maintaining an
internal stream number, and using this stream number when sending data
(SEND.SCTP parameter "stream number"). Closing or aborting a
connection could then simply free the stream number for future use.
This is discussed further in <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-appendix.a-3.1" class="pilcrow">¶</a>
</li>
<li class="normal" id="section-appendix.a-3.2">With the exception of "Disable MPTCP", all transport features that
are related to using multiple paths or the choice of the network
interface were designated as "automatable". For example, "Listen"
could always listen on all available interfaces and "Connect" could
use the default interface for the destination IP address.<a href="#section-appendix.a-3.2" class="pilcrow">¶</a>
</li>
</ul>
<p id="section-appendix.a-4">
Finally, in three cases, transport features are aggregated
and/or slightly changed from <span>[<a href="#RFC8303" class="xref">RFC8303</a>]</span> in the description below. These
transport features are marked as "CHANGED FROM
RFC 8303". These do not add any new functionality but just
represent a simple refactoring step that helps to
streamline the derivation process (e.g., by removing a
choice of a parameter for the sake of applications that
may not care about this choice). The corresponding
transport features are automatable, and they are listed
immediately below the "CHANGED FROM RFC 8303" transport
feature.<a href="#section-appendix.a-4" class="pilcrow">¶</a></p>
<div id="conn-super">
<section id="section-a.1">
<h2 id="name-connection-related-transport">
<a href="#section-a.1" class="section-number selfRef">A.1. </a><a href="#name-connection-related-transport" class="section-name selfRef">CONNECTION-Related Transport Features</a>
</h2>
<p id="section-a.1-1">ESTABLISHMENT:<a href="#section-a.1-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-a.1-2.1">
<p id="section-a.1-2.1.1">Connect<a href="#section-a.1-2.1.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.1.2">
Protocols: TCP, SCTP, UDP(-Lite)<a href="#section-a.1-2.1.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.1.3">
Functional because the notion of a connection
is often reflected in applications as an
expectation to be able to communicate after a
"Connect" succeeded, with a communication
sequence relating to this transport feature
that is defined by the application
protocol.<a href="#section-a.1-2.1.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.1.4">
Implementation: via CONNECT.TCP, CONNECT.SCTP or CONNECT.UDP(-Lite).<a href="#section-a.1-2.1.4" class="pilcrow">¶</a></p>
<p id="section-a.1-2.1.5"></p>
</li>
<li class="normal" id="section-a.1-2.2">
<p id="section-a.1-2.2.1">Specify which IP Options must always be used<a href="#section-a.1-2.2.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.2.2">
Protocols: TCP, UDP(-Lite)<a href="#section-a.1-2.2.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.2.3">
Automatable because IP Options relate to
knowledge about the network, not the
application.<a href="#section-a.1-2.2.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.2.4"></p>
</li>
<li class="normal" id="section-a.1-2.3">
<p id="section-a.1-2.3.1">Request multiple streams<a href="#section-a.1-2.3.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.3.2">
Protocols: SCTP<a href="#section-a.1-2.3.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.3.3">
Automatable because using multi-streaming does
not require application-specific knowledge
(example implementations of using
multi-streaming without involving the
application are described in <span>[<a href="#SCTP-STREAM-1" class="xref">SCTP-STREAM-1</a>]</span> and
<span>[<a href="#SCTP-STREAM-2" class="xref">SCTP-STREAM-2</a>]</span>).<a href="#section-a.1-2.3.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.3.4">
Implementation: see <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-a.1-2.3.4" class="pilcrow">¶</a></p>
<p id="section-a.1-2.3.5"></p>
</li>
<li class="normal" id="section-a.1-2.4">
<p id="section-a.1-2.4.1">Limit the number of inbound streams<a href="#section-a.1-2.4.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.4.2">
Protocols: SCTP<a href="#section-a.1-2.4.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.4.3">
Automatable because using multi-streaming does not require application-specific knowledge.<a href="#section-a.1-2.4.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.4.4">
Implementation: see <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-a.1-2.4.4" class="pilcrow">¶</a></p>
<p id="section-a.1-2.4.5"></p>
</li>
<li class="normal" id="section-a.1-2.5">
<p id="section-a.1-2.5.1">Specify number of attempts and/or timeout for the first establishment message<a href="#section-a.1-2.5.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.5.2">
Protocols: TCP, SCTP<a href="#section-a.1-2.5.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.5.3">
Functional because this is closely related to
potentially assumed reliable data delivery for
data that is sent before or during connection
establishment.<a href="#section-a.1-2.5.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.5.4">
Implementation: using a parameter of CONNECT.TCP and CONNECT.SCTP.<a href="#section-a.1-2.5.4" class="pilcrow">¶</a></p>
<p id="section-a.1-2.5.5">
Implementation over UDP: do nothing (this is
irrelevant in the case of UDP because there,
reliable data delivery is not assumed).<a href="#section-a.1-2.5.5" class="pilcrow">¶</a></p>
<p id="section-a.1-2.5.6"></p>
</li>
<li class="normal" id="section-a.1-2.6">
<p id="section-a.1-2.6.1">Obtain multiple sockets<a href="#section-a.1-2.6.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.6.2">
Protocols: SCTP<a href="#section-a.1-2.6.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.6.3">
Automatable because the non-parallel usage of multiple paths to communicate between the same end
hosts relates to knowledge about
the network, not the application.<a href="#section-a.1-2.6.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.6.4"></p>
</li>
<li class="normal" id="section-a.1-2.7">
<p id="section-a.1-2.7.1">Disable MPTCP<a href="#section-a.1-2.7.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.7.2">
Protocols: MPTCP<a href="#section-a.1-2.7.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.7.3">
Optimizing because the parallel usage of
multiple paths to communicate between the same
end hosts can improve performance. Whether or
not to use this feature depends on knowledge
about the network as well as
application-specific knowledge (see <span><a href="https://www.rfc-editor.org/rfc/rfc6897#section-3.1" class="relref">Section 3.1</a> of [<a href="#RFC6897" class="xref">RFC6897</a>]</span>).<a href="#section-a.1-2.7.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.7.4">
Implementation: via a boolean parameter in CONNECT.MPTCP.<a href="#section-a.1-2.7.4" class="pilcrow">¶</a></p>
<p id="section-a.1-2.7.5">
Implementation over TCP: do nothing.<a href="#section-a.1-2.7.5" class="pilcrow">¶</a></p>
<p id="section-a.1-2.7.6">
Implementation over UDP: do nothing.<a href="#section-a.1-2.7.6" class="pilcrow">¶</a></p>
<p id="section-a.1-2.7.7"></p>
</li>
<li class="normal" id="section-a.1-2.8">
<p id="section-a.1-2.8.1">Configure authentication<a href="#section-a.1-2.8.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.8.2">
Protocols: TCP, SCTP<a href="#section-a.1-2.8.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.8.3">
Functional because this has a direct influence on security.<a href="#section-a.1-2.8.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.8.4">
Implementation: via parameters in CONNECT.TCP
and CONNECT.SCTP. With TCP, this allows
configuring Master Key Tuples (MKTs) to
authenticate complete segments (including the
TCP IPv4 pseudoheader, TCP header, and TCP
data). With SCTP, this allows specifying
which chunk types must always be
authenticated. Authenticating only certain
chunk types creates a reduced level of
security that is not supported by TCP; to be
compatible, this should therefore only allow
to authenticate all chunk types. Key material
must be provided in a way that is compatible
with both <span>[<a href="#RFC4895" class="xref">RFC4895</a>]</span> and <span>[<a href="#RFC5925" class="xref">RFC5925</a>]</span>.<a href="#section-a.1-2.8.4" class="pilcrow">¶</a></p>
<p id="section-a.1-2.8.5">
Implementation over UDP: not possible (UDP does not offer this functionality).<a href="#section-a.1-2.8.5" class="pilcrow">¶</a></p>
<p id="section-a.1-2.8.6"></p>
</li>
<li class="normal" id="section-a.1-2.9">
<p id="section-a.1-2.9.1">Indicate (and/or obtain upon completion) an Adaptation Layer via an adaptation code point<a href="#section-a.1-2.9.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.9.2">
Protocols: SCTP<a href="#section-a.1-2.9.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.9.3">
Functional because it allows sending extra
data for the sake of identifying an adaptation
layer, which by itself is application
specific.<a href="#section-a.1-2.9.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.9.4">
Implementation: via a parameter in CONNECT.SCTP.<a href="#section-a.1-2.9.4" class="pilcrow">¶</a></p>
<p id="section-a.1-2.9.5">
Implementation over TCP: not possible. (TCP does not offer this functionality.)<a href="#section-a.1-2.9.5" class="pilcrow">¶</a></p>
<p id="section-a.1-2.9.6">
Implementation over UDP: not possible. (UDP does not offer this functionality.)<a href="#section-a.1-2.9.6" class="pilcrow">¶</a></p>
<p id="section-a.1-2.9.7"></p>
</li>
<li class="normal" id="section-a.1-2.10">
<p id="section-a.1-2.10.1">Request to negotiate interleaving of user messages<a href="#section-a.1-2.10.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.10.2">
Protocols: SCTP<a href="#section-a.1-2.10.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.10.3">
Automatable because it requires using multiple streams, but
requesting multiple streams in the CONNECTION.ESTABLISHMENT category is
automatable.<a href="#section-a.1-2.10.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.10.4">
Implementation: controlled via a parameter in CONNECT.SCTP. One possible
implementation is to always try to enable interleaving.<a href="#section-a.1-2.10.4" class="pilcrow">¶</a></p>
<p id="section-a.1-2.10.5"></p>
</li>
<li class="normal" id="section-a.1-2.11">
<p id="section-a.1-2.11.1">Hand over a message to reliably transfer (possibly multiple times) before connection establishment<a href="#section-a.1-2.11.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.11.2">
Protocols: TCP<a href="#section-a.1-2.11.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.11.3">
Functional because this is closely tied to properties of the data that an application
sends or expects to receive.<a href="#section-a.1-2.11.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.11.4">
Implementation: via a parameter in CONNECT.TCP.<a href="#section-a.1-2.11.4" class="pilcrow">¶</a></p>
<p id="section-a.1-2.11.5">
Implementation over UDP: not possible. (UDP does not provide reliability.)<a href="#section-a.1-2.11.5" class="pilcrow">¶</a></p>
<p id="section-a.1-2.11.6"></p>
</li>
<li class="normal" id="section-a.1-2.12">
<p id="section-a.1-2.12.1">Hand over a message to reliably transfer during connection establishment<a href="#section-a.1-2.12.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.12.2">
Protocols: SCTP<a href="#section-a.1-2.12.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.12.3">
Functional because this can only work if the
message is limited in size, making it closely
tied to properties of the data that an
application sends or expects to receive.<a href="#section-a.1-2.12.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.12.4">
Implementation: via a parameter in CONNECT.SCTP.<a href="#section-a.1-2.12.4" class="pilcrow">¶</a></p>
<p id="section-a.1-2.12.5">
Implementation over TCP: transmit the message
with the SYN packet, sacrificing the ability
to identify message boundaries.<a href="#section-a.1-2.12.5" class="pilcrow">¶</a></p>
<p id="section-a.1-2.12.6">
Implementation over UDP: not possible. (UDP is
unreliable.)<a href="#section-a.1-2.12.6" class="pilcrow">¶</a></p>
<p id="section-a.1-2.12.7"></p>
</li>
<li class="normal" id="section-a.1-2.13">
<p id="section-a.1-2.13.1">Enable UDP encapsulation with a specified remote UDP port number<a href="#section-a.1-2.13.1" class="pilcrow">¶</a></p>
<p id="section-a.1-2.13.2">
Protocols: SCTP<a href="#section-a.1-2.13.2" class="pilcrow">¶</a></p>
<p id="section-a.1-2.13.3">
Automatable because UDP encapsulation relates
to knowledge about the network, not the
application.<a href="#section-a.1-2.13.3" class="pilcrow">¶</a></p>
<p id="section-a.1-2.13.4"></p>
</li>
</ul>
<p id="section-a.1-3">AVAILABILITY:<a href="#section-a.1-3" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-a.1-4.1">
<p id="section-a.1-4.1.1">Listen<a href="#section-a.1-4.1.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.1.2">
Protocols: TCP, SCTP, UDP(-Lite)<a href="#section-a.1-4.1.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.1.3">
Functional because the notion of accepting
connection requests is often reflected in
applications as an expectation to be able to
communicate after a "Listen" succeeded, with a
communication sequence relating to this
transport feature that is defined by the
application protocol.<a href="#section-a.1-4.1.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.1.4">
CHANGED FROM RFC 8303. This differs from the 3
automatable transport features below in that
it leaves the choice of interfaces for
listening open.<a href="#section-a.1-4.1.4" class="pilcrow">¶</a></p>
<p id="section-a.1-4.1.5">
Implementation: by listening on all interfaces
via LISTEN.TCP (not providing a local IP
address) or LISTEN.SCTP (providing SCTP port
number / address pairs for all local IP
addresses). LISTEN.UDP(-Lite) supports both
methods.<a href="#section-a.1-4.1.5" class="pilcrow">¶</a></p>
<p id="section-a.1-4.1.6"></p>
</li>
<li class="normal" id="section-a.1-4.2">
<p id="section-a.1-4.2.1">Listen, 1 specified local interface<a href="#section-a.1-4.2.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.2.2">
Protocols: TCP, SCTP, UDP(-Lite)<a href="#section-a.1-4.2.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.2.3">
Automatable because decisions about local
interfaces relate to knowledge about the
network and the Operating System, not the
application.<a href="#section-a.1-4.2.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.2.4"></p>
</li>
<li class="normal" id="section-a.1-4.3">
<p id="section-a.1-4.3.1">Listen, N specified local interfaces<a href="#section-a.1-4.3.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.3.2">
Protocols: SCTP<a href="#section-a.1-4.3.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.3.3">
Automatable because decisions about local
interfaces relate to knowledge about the
network and the Operating System, not the
application.<a href="#section-a.1-4.3.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.3.4"></p>
</li>
<li class="normal" id="section-a.1-4.4">
<p id="section-a.1-4.4.1">Listen, all local interfaces<a href="#section-a.1-4.4.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.4.2">
Protocols: TCP, SCTP, UDP(-Lite)<a href="#section-a.1-4.4.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.4.3">
Automatable because decisions about local
interfaces relate to knowledge about the
network and the Operating System, not the
application.<a href="#section-a.1-4.4.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.4.4"></p>
</li>
<li class="normal" id="section-a.1-4.5">
<p id="section-a.1-4.5.1">Specify which IP Options must always be used<a href="#section-a.1-4.5.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.5.2">
Protocols: TCP, UDP(-Lite)<a href="#section-a.1-4.5.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.5.3">
Automatable because IP Options relate to
knowledge about the network, not the
application.<a href="#section-a.1-4.5.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.5.4"></p>
</li>
<li class="normal" id="section-a.1-4.6">
<p id="section-a.1-4.6.1">Disable MPTCP<a href="#section-a.1-4.6.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.6.2">
Protocols: MPTCP<a href="#section-a.1-4.6.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.6.3">
Optimizing because the parallel usage of
multiple paths to communicate between the same
end hosts can improve performance. Whether or
not to use this feature depends on knowledge
about the network as well as
application-specific knowledge (see <span><a href="https://www.rfc-editor.org/rfc/rfc6897#section-3.1" class="relref">Section 3.1</a> of [<a href="#RFC6897" class="xref">RFC6897</a>]</span>).<a href="#section-a.1-4.6.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.6.4">
Implementation: via a boolean parameter in
LISTEN.MPTCP.<a href="#section-a.1-4.6.4" class="pilcrow">¶</a></p>
<p id="section-a.1-4.6.5">
Implementation over TCP: do nothing.<a href="#section-a.1-4.6.5" class="pilcrow">¶</a></p>
<p id="section-a.1-4.6.6">
Implementation over UDP: do nothing.<a href="#section-a.1-4.6.6" class="pilcrow">¶</a></p>
<p id="section-a.1-4.6.7"></p>
</li>
<li class="normal" id="section-a.1-4.7">
<p id="section-a.1-4.7.1">Configure authentication<a href="#section-a.1-4.7.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.7.2">
Protocols: TCP, SCTP<a href="#section-a.1-4.7.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.7.3">
Functional because this has a direct influence on security.<a href="#section-a.1-4.7.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.7.4">
Implementation: via parameters in LISTEN.TCP and LISTEN.SCTP.<a href="#section-a.1-4.7.4" class="pilcrow">¶</a></p>
<p id="section-a.1-4.7.5">
Implementation over TCP: with TCP, this allows
configuring Master Key Tuples (MKTs) to
authenticate complete segments (including the
TCP IPv4 pseudoheader, TCP header, and TCP
data). With SCTP, this allows specifying
which chunk types must always be
authenticated. Authenticating only certain
chunk types creates a reduced level of
security that is not supported by TCP; to be
compatible, this should therefore only allow
to authenticate all chunk types. Key material
must be provided in a way that is compatible
with both <span>[<a href="#RFC4895" class="xref">RFC4895</a>]</span> and <span>[<a href="#RFC5925" class="xref">RFC5925</a>]</span>.<a href="#section-a.1-4.7.5" class="pilcrow">¶</a></p>
<p id="section-a.1-4.7.6">
Implementation over UDP: not possible. (UDP does not offer authentication.)<a href="#section-a.1-4.7.6" class="pilcrow">¶</a></p>
<p id="section-a.1-4.7.7"></p>
</li>
<li class="normal" id="section-a.1-4.8">
<p id="section-a.1-4.8.1">Obtain requested number of streams<a href="#section-a.1-4.8.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.8.2">
Protocols: SCTP<a href="#section-a.1-4.8.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.8.3">
Automatable because using multi-streaming does
not require application-specific
knowledge.<a href="#section-a.1-4.8.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.8.4">
Implementation: see <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-a.1-4.8.4" class="pilcrow">¶</a></p>
<p id="section-a.1-4.8.5"></p>
</li>
<li class="normal" id="section-a.1-4.9">
<p id="section-a.1-4.9.1">Limit the number of inbound streams<a href="#section-a.1-4.9.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.9.2">
Protocols: SCTP<a href="#section-a.1-4.9.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.9.3">
Automatable because using multi-streaming does
not require application-specific
knowledge.<a href="#section-a.1-4.9.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.9.4">
Implementation: see <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-a.1-4.9.4" class="pilcrow">¶</a></p>
<p id="section-a.1-4.9.5"></p>
</li>
<li class="normal" id="section-a.1-4.10">
<p id="section-a.1-4.10.1">Indicate (and/or obtain upon completion) an Adaptation Layer via an adaptation code point<a href="#section-a.1-4.10.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.10.2">
Protocols: SCTP<a href="#section-a.1-4.10.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.10.3">
Functional because it allows sending extra
data for the sake of identifying an adaptation
layer, which by itself is
application specific.<a href="#section-a.1-4.10.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.10.4">
Implementation: via a parameter in LISTEN.SCTP.<a href="#section-a.1-4.10.4" class="pilcrow">¶</a></p>
<p id="section-a.1-4.10.5">
Implementation over TCP: not possible. (TCP does not offer this functionality.)<a href="#section-a.1-4.10.5" class="pilcrow">¶</a></p>
<p id="section-a.1-4.10.6">
Implementation over UDP: not possible. (UDP does not offer this functionality.)<a href="#section-a.1-4.10.6" class="pilcrow">¶</a></p>
<p id="section-a.1-4.10.7"></p>
</li>
<li class="normal" id="section-a.1-4.11">
<p id="section-a.1-4.11.1">Request to negotiate interleaving of user messages<a href="#section-a.1-4.11.1" class="pilcrow">¶</a></p>
<p id="section-a.1-4.11.2">
Protocols: SCTP<a href="#section-a.1-4.11.2" class="pilcrow">¶</a></p>
<p id="section-a.1-4.11.3">
Automatable because it requires using multiple
streams, but requesting multiple streams in
the CONNECTION.ESTABLISHMENT category is
automatable.<a href="#section-a.1-4.11.3" class="pilcrow">¶</a></p>
<p id="section-a.1-4.11.4">
Implementation: via a parameter in LISTEN.SCTP.<a href="#section-a.1-4.11.4" class="pilcrow">¶</a></p>
<p id="section-a.1-4.11.5"></p>
</li>
</ul>
<p id="section-a.1-5">MAINTENANCE:<a href="#section-a.1-5" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-a.1-6.1">
<p id="section-a.1-6.1.1">Change timeout for aborting connection (using retransmit limit or time value)<a href="#section-a.1-6.1.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.1.2">
Protocols: TCP, SCTP<a href="#section-a.1-6.1.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.1.3">
Functional because this is closely related to potentially assumed reliable data delivery.<a href="#section-a.1-6.1.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.1.4">
Implementation: via CHANGE_TIMEOUT.TCP or
CHANGE_TIMEOUT.SCTP.<a href="#section-a.1-6.1.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.1.5">
Implementation over UDP: not possible. (UDP is unreliable and there is no connection timeout.)<a href="#section-a.1-6.1.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.1.6"></p>
</li>
<li class="normal" id="section-a.1-6.2">
<p id="section-a.1-6.2.1">Suggest timeout to the peer<a href="#section-a.1-6.2.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.2.2">
Protocols: TCP<a href="#section-a.1-6.2.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.2.3">
Functional because this is closely related to
potentially assumed reliable data
delivery.<a href="#section-a.1-6.2.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.2.4">
Implementation: via CHANGE_TIMEOUT.TCP.<a href="#section-a.1-6.2.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.2.5">
Implementation over UDP: not possible. (UDP is
unreliable and there is no connection
timeout.)<a href="#section-a.1-6.2.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.2.6"></p>
</li>
<li class="normal" id="section-a.1-6.3">
<p id="section-a.1-6.3.1">Disable Nagle algorithm<a href="#section-a.1-6.3.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.3.2">
Protocols: TCP, SCTP<a href="#section-a.1-6.3.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.3.3">
Optimizing because this decision depends on
knowledge about the size of future data blocks
and the delay between them.<a href="#section-a.1-6.3.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.3.4">
Implementation: via DISABLE_NAGLE.TCP and DISABLE_NAGLE.SCTP.<a href="#section-a.1-6.3.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.3.5">
Implementation over UDP: do nothing (UDP does not implement the Nagle algorithm).<a href="#section-a.1-6.3.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.3.6"></p>
</li>
<li class="normal" id="section-a.1-6.4">
<p id="section-a.1-6.4.1">Request an immediate heartbeat, returning success/failure<a href="#section-a.1-6.4.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.4.2">
Protocols: SCTP<a href="#section-a.1-6.4.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.4.3">
Automatable because this informs about network-specific knowledge.<a href="#section-a.1-6.4.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.4.4"></p>
</li>
<li class="normal" id="section-a.1-6.5">
<p id="section-a.1-6.5.1">Notification of Excessive Retransmissions (early warning below abortion threshold)<a href="#section-a.1-6.5.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.5.2">
Protocols: TCP<a href="#section-a.1-6.5.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.5.3">
Optimizing because it is an early warning to
the application, informing it of an impending
functional event.<a href="#section-a.1-6.5.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.5.4">
Implementation: via ERROR.TCP.<a href="#section-a.1-6.5.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.5.5">
Implementation over UDP: do nothing (there is no abortion threshold).<a href="#section-a.1-6.5.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.5.6"></p>
</li>
<li class="normal" id="section-a.1-6.6">
<p id="section-a.1-6.6.1">Add path<a href="#section-a.1-6.6.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.6.2">
Protocols: MPTCP, SCTP<a href="#section-a.1-6.6.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.6.3">
MPTCP Parameters: source-IP; source-Port; destination-IP; destination-Port<a href="#section-a.1-6.6.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.6.4">
SCTP Parameters: local IP address<a href="#section-a.1-6.6.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.6.5">
Automatable because the choice of paths to communicate between the same end hosts relates to
knowledge about the network, not the application.<a href="#section-a.1-6.6.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.6.6"></p>
</li>
<li class="normal" id="section-a.1-6.7">
<p id="section-a.1-6.7.1">Remove path<a href="#section-a.1-6.7.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.7.2">
Protocols: MPTCP, SCTP<a href="#section-a.1-6.7.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.7.3">
MPTCP Parameters: source-IP; source-Port; destination-IP; destination-Port<a href="#section-a.1-6.7.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.7.4">
SCTP Parameters: local IP address<a href="#section-a.1-6.7.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.7.5">
Automatable because the choice of paths to communicate between the same end host relates to
knowledge about the network, not the application.<a href="#section-a.1-6.7.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.7.6"></p>
</li>
<li class="normal" id="section-a.1-6.8">
<p id="section-a.1-6.8.1">Set primary path<a href="#section-a.1-6.8.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.8.2">
Protocols: SCTP<a href="#section-a.1-6.8.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.8.3">
Automatable because the choice of paths to communicate between the same end hosts relates to
knowledge about the network, not the application.<a href="#section-a.1-6.8.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.8.4"></p>
</li>
<li class="normal" id="section-a.1-6.9">
<p id="section-a.1-6.9.1">Suggest primary path to the peer<a href="#section-a.1-6.9.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.9.2">
Protocols: SCTP<a href="#section-a.1-6.9.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.9.3">
Automatable because the choice of paths to communicate between the same end hosts relates to
knowledge about the network, not the application.<a href="#section-a.1-6.9.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.9.4"></p>
</li>
<li class="normal" id="section-a.1-6.10">
<p id="section-a.1-6.10.1">Configure Path Switchover<a href="#section-a.1-6.10.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.10.2">
Protocols: SCTP<a href="#section-a.1-6.10.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.10.3">
Automatable because the choice of paths to communicate between the same end hosts relates to
knowledge about the network, not the application.<a href="#section-a.1-6.10.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.10.4"></p>
</li>
<li class="normal" id="section-a.1-6.11">
<p id="section-a.1-6.11.1">Obtain status (query or notification)<a href="#section-a.1-6.11.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.11.2">
Protocols: SCTP, MPTCP<a href="#section-a.1-6.11.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.11.3">
SCTP parameters: association connection state;
destination transport address list;
destination transport address reachability
states; current local and peer receiver window
size; current local congestion window sizes;
number of unacknowledged DATA chunks; number
of DATA chunks pending receipt; primary path;
most recent SRTT on primary path; RTO on
primary path; SRTT and RTO on other
destination addresses; MTU per path;
interleaving supported yes/no<a href="#section-a.1-6.11.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.11.4">
MPTCP parameters: subflow-list (identified by source-IP; source-Port; destination-IP; destination-Port)<a href="#section-a.1-6.11.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.11.5">
Automatable because these parameters relate to knowledge about
the network, not the application.<a href="#section-a.1-6.11.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.11.6"></p>
</li>
<li class="normal" id="section-a.1-6.12">
<p id="section-a.1-6.12.1">Specify DSCP field<a href="#section-a.1-6.12.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.12.2">
Protocols: TCP, SCTP, UDP(-Lite)<a href="#section-a.1-6.12.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.12.3">
Optimizing because choosing a suitable DSCP value requires application-specific knowledge.<a href="#section-a.1-6.12.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.12.4">
Implementation: via SET_DSCP.TCP / SET_DSCP.SCTP / SET_DSCP.UDP(-Lite).<a href="#section-a.1-6.12.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.12.5"></p>
</li>
<li class="normal" id="section-a.1-6.13">
<p id="section-a.1-6.13.1">Notification of ICMP error message arrival<a href="#section-a.1-6.13.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.13.2">
Protocols: TCP, UDP(-Lite)<a href="#section-a.1-6.13.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.13.3">
Optimizing because these messages can inform
about success or failure of functional
transport features (e.g., host unreachable
relates to "Connect").<a href="#section-a.1-6.13.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.13.4">
Implementation: via ERROR.TCP or ERROR.UDP(-Lite.)<a href="#section-a.1-6.13.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.13.5"></p>
</li>
<li class="normal" id="section-a.1-6.14">
<p id="section-a.1-6.14.1">Obtain information about interleaving support<a href="#section-a.1-6.14.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.14.2">
Protocols: SCTP<a href="#section-a.1-6.14.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.14.3">
Automatable because it requires using multiple
streams, but requesting multiple streams in
the CONNECTION.ESTABLISHMENT category is
automatable.<a href="#section-a.1-6.14.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.14.4">
Implementation: via STATUS.SCTP.<a href="#section-a.1-6.14.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.14.5"></p>
</li>
<li class="normal" id="section-a.1-6.15">
<p id="section-a.1-6.15.1">Change authentication parameters<a href="#section-a.1-6.15.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.15.2">
Protocols: TCP, SCTP<a href="#section-a.1-6.15.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.15.3">
Functional because this has a direct influence on security.<a href="#section-a.1-6.15.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.15.4">
Implementation: via SET_AUTH.TCP and SET_AUTH.SCTP.<a href="#section-a.1-6.15.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.15.5">
Implementation over TCP: with SCTP, this
allows adjusting key_id, key, and hmac_id.
With TCP, this allows changing the preferred
outgoing MKT (current_key) and the preferred
incoming MKT (rnext_key), respectively, for a
segment that is sent on the connection. Key
material must be provided in a way that is
compatible with both <span>[<a href="#RFC4895" class="xref">RFC4895</a>]</span> and <span>[<a href="#RFC5925" class="xref">RFC5925</a>]</span>.<a href="#section-a.1-6.15.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.15.6">
Implementation over UDP: not possible. (UDP does not offer authentication.)<a href="#section-a.1-6.15.6" class="pilcrow">¶</a></p>
<p id="section-a.1-6.15.7"></p>
</li>
<li class="normal" id="section-a.1-6.16">
<p id="section-a.1-6.16.1">Obtain authentication information<a href="#section-a.1-6.16.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.16.2">
Protocols: SCTP<a href="#section-a.1-6.16.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.16.3">
Functional because authentication decisions
may have been made by the peer, and this has
an influence on the necessary
application-level measures to provide a
certain level of security.<a href="#section-a.1-6.16.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.16.4">
Implementation: via GET_AUTH.SCTP.<a href="#section-a.1-6.16.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.16.5">
Implementation over TCP: with SCTP, this
allows obtaining key_id and a chunk list.
With TCP, this allows obtaining current_key
and rnext_key from a previously received
segment. Key material must be provided in a
way that is compatible with both <span>[<a href="#RFC4895" class="xref">RFC4895</a>]</span> and <span>[<a href="#RFC5925" class="xref">RFC5925</a>]</span>.<a href="#section-a.1-6.16.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.16.6">
Implementation over UDP: not possible. (UDP does not offer authentication.)<a href="#section-a.1-6.16.6" class="pilcrow">¶</a></p>
<p id="section-a.1-6.16.7"></p>
</li>
<li class="normal" id="section-a.1-6.17">
<p id="section-a.1-6.17.1">Reset Stream<a href="#section-a.1-6.17.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.17.2">
Protocols: SCTP<a href="#section-a.1-6.17.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.17.3">
Automatable because using multi-streaming does not require application-specific knowledge.<a href="#section-a.1-6.17.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.17.4">
Implementation: see <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-a.1-6.17.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.17.5"></p>
</li>
<li class="normal" id="section-a.1-6.18">
<p id="section-a.1-6.18.1">Notification of Stream Reset<a href="#section-a.1-6.18.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.18.2">
Protocols: SCTP<a href="#section-a.1-6.18.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.18.3">
Automatable because using multi-streaming does not require application-specific knowledge.<a href="#section-a.1-6.18.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.18.4">
Implementation: see <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-a.1-6.18.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.18.5"></p>
</li>
<li class="normal" id="section-a.1-6.19">
<p id="section-a.1-6.19.1">Reset Association<a href="#section-a.1-6.19.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.19.2">
Protocols: SCTP<a href="#section-a.1-6.19.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.19.3">
Automatable because deciding to reset an association does not require application-specific knowledge.<a href="#section-a.1-6.19.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.19.4">
Implementation: via RESET_ASSOC.SCTP.<a href="#section-a.1-6.19.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.19.5"></p>
</li>
<li class="normal" id="section-a.1-6.20">
<p id="section-a.1-6.20.1">Notification of Association Reset<a href="#section-a.1-6.20.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.20.2">
Protocols: SCTP<a href="#section-a.1-6.20.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.20.3">
Automatable because this notification does not relate to application-specific knowledge.<a href="#section-a.1-6.20.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.20.4"></p>
</li>
<li class="normal" id="section-a.1-6.21">
<p id="section-a.1-6.21.1">Add Streams<a href="#section-a.1-6.21.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.21.2">
Protocols: SCTP<a href="#section-a.1-6.21.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.21.3">
Automatable because using multi-streaming does not require application-specific knowledge.<a href="#section-a.1-6.21.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.21.4">
Implementation: see <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-a.1-6.21.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.21.5"></p>
</li>
<li class="normal" id="section-a.1-6.22">
<p id="section-a.1-6.22.1">Notification of Added Stream<a href="#section-a.1-6.22.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.22.2">
Protocols: SCTP<a href="#section-a.1-6.22.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.22.3">
Automatable because using multi-streaming does not require application-specific knowledge.<a href="#section-a.1-6.22.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.22.4">
Implementation: see <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-a.1-6.22.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.22.5"></p>
</li>
<li class="normal" id="section-a.1-6.23">
<p id="section-a.1-6.23.1">Choose a scheduler to operate between streams of an association<a href="#section-a.1-6.23.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.23.2">
Protocols: SCTP<a href="#section-a.1-6.23.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.23.3">
Optimizing because the scheduling decision
requires application-specific knowledge.
However, if a transport system would not use
this, or wrongly configure it on its own, this
would only affect the performance of data
transfers; the outcome would still be correct
within the "best effort" service model.<a href="#section-a.1-6.23.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.23.4">
Implementation: using SET_STREAM_SCHEDULER.SCTP.<a href="#section-a.1-6.23.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.23.5">
Implementation over TCP: do nothing (streams
are not available in TCP, but no guarantee is
given that this transport feature has any
effect).<a href="#section-a.1-6.23.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.23.6">
Implementation over UDP: do nothing (streams
are not available in UDP, but no guarantee is
given that this transport feature has any
effect).<a href="#section-a.1-6.23.6" class="pilcrow">¶</a></p>
<p id="section-a.1-6.23.7"></p>
</li>
<li class="normal" id="section-a.1-6.24">
<p id="section-a.1-6.24.1">Configure priority or weight for a scheduler<a href="#section-a.1-6.24.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.24.2">
Protocols: SCTP<a href="#section-a.1-6.24.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.24.3">
Optimizing because the priority or weight
requires application-specific knowledge.
However, if a transport system would not use
this, or wrongly configure it on its own, this
would only affect the performance of data
transfers; the outcome would still be correct
within the "best effort" service model.<a href="#section-a.1-6.24.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.24.4">
Implementation: using CONFIGURE_STREAM_SCHEDULER.SCTP.<a href="#section-a.1-6.24.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.24.5">
Implementation over TCP: do nothing (streams
are not available in TCP, but no guarantee is
given that this transport feature has any
effect).<a href="#section-a.1-6.24.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.24.6">
Implementation over UDP: do nothing (streams
are not available in UDP, but no guarantee is
given that this transport feature has any
effect).<a href="#section-a.1-6.24.6" class="pilcrow">¶</a></p>
<p id="section-a.1-6.24.7"></p>
</li>
<li class="normal" id="section-a.1-6.25">
<p id="section-a.1-6.25.1">Configure send buffer size<a href="#section-a.1-6.25.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.25.2">
Protocols: SCTP<a href="#section-a.1-6.25.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.25.3">
Automatable because this decision relates to
knowledge about the network and the Operating
System, not the application (see also the
discussion in <a href="#rundry" class="xref">Section 5.4</a>).<a href="#section-a.1-6.25.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.25.4"></p>
</li>
<li class="normal" id="section-a.1-6.26">
<p id="section-a.1-6.26.1">Configure receive buffer (and rwnd) size<a href="#section-a.1-6.26.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.26.2">
Protocols: SCTP<a href="#section-a.1-6.26.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.26.3">
Automatable because this decision relates to
knowledge about the network and the Operating
System, not the application.<a href="#section-a.1-6.26.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.26.4"></p>
</li>
<li class="normal" id="section-a.1-6.27">
<p id="section-a.1-6.27.1">Configure message fragmentation<a href="#section-a.1-6.27.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.27.2">
Protocols: SCTP<a href="#section-a.1-6.27.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.27.3">
Automatable because this relates to knowledge
about the network and the Operating System,
not the application. Note that this SCTP
feature does not control IP-level
fragmentation, but decides on fragmentation of
messages by SCTP, in the end system.<a href="#section-a.1-6.27.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.27.4">
Implementation: done by always enabling it with
CONFIG_FRAGMENTATION.SCTP and auto-setting the
fragmentation size based on network or
Operating System conditions.<a href="#section-a.1-6.27.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.27.5"></p>
</li>
<li class="normal" id="section-a.1-6.28">
<p id="section-a.1-6.28.1">Configure PMTUD<a href="#section-a.1-6.28.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.28.2">
Protocols: SCTP<a href="#section-a.1-6.28.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.28.3">
Automatable because Path MTU Discovery relates
to knowledge about the network, not the
application.<a href="#section-a.1-6.28.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.28.4"></p>
</li>
<li class="normal" id="section-a.1-6.29">
<p id="section-a.1-6.29.1">Configure delayed SACK timer<a href="#section-a.1-6.29.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.29.2">
Protocols: SCTP<a href="#section-a.1-6.29.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.29.3">
Automatable because the receiver-side decision
to delay sending SACKs relates to knowledge
about the network, not the application (it can
be relevant for a sending application to
request not to delay the SACK of a message,
but this is a different transport
feature).<a href="#section-a.1-6.29.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.29.4"></p>
</li>
<li class="normal" id="section-a.1-6.30">
<p id="section-a.1-6.30.1">Set Cookie life value<a href="#section-a.1-6.30.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.30.2">
Protocols: SCTP<a href="#section-a.1-6.30.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.30.3">
Functional because it relates to security
(possibly weakened by keeping a cookie very
long) versus the time between connection
establishment attempts. Knowledge about both
issues can be application specific.<a href="#section-a.1-6.30.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.30.4">
Implementation over TCP: the closest specified
TCP functionality is the cookie in TCP Fast
Open; for this, <span>[<a href="#RFC7413" class="xref">RFC7413</a>]</span> states that the server "can
expire the cookie at any time to enhance
security", and <span><a href="https://www.rfc-editor.org/rfc/rfc7413#section-4.1.2" class="relref">Section 4.1.2</a> of [<a href="#RFC7413" class="xref">RFC7413</a>]</span> describes an
example implementation where updating the key
on the server side causes the cookie to
expire. Alternatively, for implementations
that do not support TCP Fast Open, this
transport feature could also affect the
validity of SYN cookies (see <span><a href="https://www.rfc-editor.org/rfc/rfc4987#section-3.6" class="relref">Section 3.6</a> of [<a href="#RFC4987" class="xref">RFC4987</a>]</span>).<a href="#section-a.1-6.30.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.30.5">
Implementation over UDP: not possible. (UDP does not offer this functionality.)<a href="#section-a.1-6.30.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.30.6"></p>
</li>
<li class="normal" id="section-a.1-6.31">
<p id="section-a.1-6.31.1">Set maximum burst<a href="#section-a.1-6.31.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.31.2">
Protocols: SCTP<a href="#section-a.1-6.31.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.31.3">
Automatable because it relates to knowledge about the network, not the
application.<a href="#section-a.1-6.31.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.31.4"></p>
</li>
<li class="normal" id="section-a.1-6.32">
<p id="section-a.1-6.32.1">Configure size where messages are broken up for partial delivery<a href="#section-a.1-6.32.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.32.2">
Protocols: SCTP<a href="#section-a.1-6.32.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.32.3">
Functional because this is closely tied to
properties of the data that an application
sends or expects to receive.<a href="#section-a.1-6.32.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.32.4">
Implementation over TCP: not possible. (TCP does not offer identification of message boundaries.)<a href="#section-a.1-6.32.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.32.5">
Implementation over UDP: not possible. (UDP does not fragment messages.)<a href="#section-a.1-6.32.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.32.6"></p>
</li>
<li class="normal" id="section-a.1-6.33">
<p id="section-a.1-6.33.1">Disable checksum when sending<a href="#section-a.1-6.33.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.33.2">
Protocols: UDP<a href="#section-a.1-6.33.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.33.3">
Functional because application-specific
knowledge is necessary to decide whether
it can be acceptable to lose data integrity
with respect to random corruption.<a href="#section-a.1-6.33.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.33.4">
Implementation: via SET_CHECKSUM_ENABLED.UDP.<a href="#section-a.1-6.33.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.33.5">
Implementation over TCP: do nothing (TCP does
not offer to disable the checksum, but
transmitting data with an intact checksum will
not yield a semantically wrong result).<a href="#section-a.1-6.33.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.33.6"></p>
</li>
<li class="normal" id="section-a.1-6.34">
<p id="section-a.1-6.34.1">Disable checksum requirement when receiving<a href="#section-a.1-6.34.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.34.2">
Protocols: UDP<a href="#section-a.1-6.34.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.34.3">
Functional because application-specific
knowledge is necessary to decide whether
it can be acceptable to lose data
integrity with respect to random
corruption.<a href="#section-a.1-6.34.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.34.4">
Implementation: via SET_CHECKSUM_REQUIRED.UDP.<a href="#section-a.1-6.34.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.34.5">
Implementation over TCP: do nothing (TCP does
not offer to disable the checksum, but
transmitting data with an intact checksum will
not yield a semantically wrong result).<a href="#section-a.1-6.34.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.34.6"></p>
</li>
<li class="normal" id="section-a.1-6.35">
<p id="section-a.1-6.35.1">Specify checksum coverage used by the sender<a href="#section-a.1-6.35.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.35.2">
Protocols: UDP-Lite<a href="#section-a.1-6.35.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.35.3">
Functional because application-specific
knowledge is necessary to decide for which
parts of the data it can be acceptable to lose
data integrity with respect to random
corruption.<a href="#section-a.1-6.35.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.35.4">
Implementation: via SET_CHECKSUM_COVERAGE.UDP-Lite.<a href="#section-a.1-6.35.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.35.5">
Implementation over TCP: do nothing (TCP does
not offer to limit the checksum length, but
transmitting data with an intact checksum will
not yield a semantically wrong result).<a href="#section-a.1-6.35.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.35.6">
Implementation over UDP: if checksum coverage
is set to cover payload data, do nothing.
Else, either do nothing (transmitting data
with an intact checksum will not yield a
semantically wrong result), or use the
transport feature "Disable checksum when
sending".<a href="#section-a.1-6.35.6" class="pilcrow">¶</a></p>
<p id="section-a.1-6.35.7"></p>
</li>
<li class="normal" id="section-a.1-6.36">
<p id="section-a.1-6.36.1">Specify minimum checksum coverage required by receiver<a href="#section-a.1-6.36.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.36.2">
Protocols: UDP-Lite<a href="#section-a.1-6.36.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.36.3">
Functional because application-specific knowledge is necessary to decide for which
parts of the data it can be acceptable to lose data integrity with respect to random corruption.<a href="#section-a.1-6.36.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.36.4">
Implementation: via SET_MIN_CHECKSUM_COVERAGE.UDP-Lite.<a href="#section-a.1-6.36.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.36.5">
Implementation over TCP: do nothing (TCP does
not offer to limit the checksum length, but
transmitting data with an intact checksum will
not yield a semantically wrong result).<a href="#section-a.1-6.36.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.36.6">
Implementation over UDP: if checksum coverage
is set to cover payload data, do nothing.
Else, either do nothing (transmitting data
with an intact checksum will not yield a
semantically wrong result), or use the
transport feature "Disable checksum
requirement when receiving".<a href="#section-a.1-6.36.6" class="pilcrow">¶</a></p>
<p id="section-a.1-6.36.7"></p>
</li>
<li class="normal" id="section-a.1-6.37">
<p id="section-a.1-6.37.1">Specify DF field<a href="#section-a.1-6.37.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.37.2">
Protocols: UDP(-Lite)<a href="#section-a.1-6.37.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.37.3">
Optimizing because the DF field can be used to
carry out Path MTU Discovery, which can lead
an application to choose message sizes that
can be transmitted more efficiently.<a href="#section-a.1-6.37.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.37.4">
Implementation: via MAINTENANCE.SET_DF.UDP(-Lite) and SEND_FAILURE.UDP(-Lite).<a href="#section-a.1-6.37.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.37.5">
Implementation over TCP: do nothing (with TCP,
the sending application is not in control of
transport message sizes, making this
functionality irrelevant).<a href="#section-a.1-6.37.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.37.6"></p>
</li>
<li class="normal" id="section-a.1-6.38">
<p id="section-a.1-6.38.1">Get max. transport-message size that may be sent using a non-fragmented IP packet from the configured interface<a href="#section-a.1-6.38.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.38.2">
Protocols: UDP(-Lite)<a href="#section-a.1-6.38.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.38.3">
Optimizing because this can lead an
application to choose message sizes that can
be transmitted more efficiently.<a href="#section-a.1-6.38.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.38.4">
Implementation over TCP: do nothing (this information is not available with TCP).<a href="#section-a.1-6.38.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.38.5"></p>
</li>
<li class="normal" id="section-a.1-6.39">
<p id="section-a.1-6.39.1">Get max. transport-message size that may be received from the configured interface<a href="#section-a.1-6.39.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.39.2">
Protocols: UDP(-Lite)<a href="#section-a.1-6.39.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.39.3">
Optimizing because this can, for example,
influence an application's memory
management.<a href="#section-a.1-6.39.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.39.4">
Implementation over TCP: do nothing (this information is not available with TCP).<a href="#section-a.1-6.39.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.39.5"></p>
</li>
<li class="normal" id="section-a.1-6.40">
<p id="section-a.1-6.40.1">Specify TTL/Hop count field<a href="#section-a.1-6.40.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.40.2">
Protocols: UDP(-Lite)<a href="#section-a.1-6.40.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.40.3">
Automatable because a transport system can use
a large enough system default to avoid
communication failures. Allowing an
application to configure it differently can
produce notifications of ICMP error message
arrivals that yield information that only
relates to knowledge about the network, not
the application.<a href="#section-a.1-6.40.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.40.4"></p>
</li>
<li class="normal" id="section-a.1-6.41">
<p id="section-a.1-6.41.1">Obtain TTL/Hop count field<a href="#section-a.1-6.41.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.41.2">
Protocols: UDP(-Lite)<a href="#section-a.1-6.41.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.41.3">
Automatable because the TTL/Hop count field relates to knowledge about the network, not the application.<a href="#section-a.1-6.41.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.41.4"></p>
</li>
<li class="normal" id="section-a.1-6.42">
<p id="section-a.1-6.42.1">Specify ECN field<a href="#section-a.1-6.42.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.42.2">
Protocols: UDP(-Lite)<a href="#section-a.1-6.42.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.42.3">
Automatable because the ECN field relates to knowledge about the network, not the application.<a href="#section-a.1-6.42.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.42.4"></p>
</li>
<li class="normal" id="section-a.1-6.43">
<p id="section-a.1-6.43.1">Obtain ECN field<a href="#section-a.1-6.43.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.43.2">
Protocols: UDP(-Lite)<a href="#section-a.1-6.43.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.43.3">
Optimizing because this information can be
used by an application to better carry out
congestion control (this is relevant when
choosing a data transmission Transport Service
that does not already do congestion
control).<a href="#section-a.1-6.43.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.43.4">
Implementation over TCP: do nothing (this information is not available with TCP).<a href="#section-a.1-6.43.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.43.5"></p>
</li>
<li class="normal" id="section-a.1-6.44">
<p id="section-a.1-6.44.1">Specify IP Options<a href="#section-a.1-6.44.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.44.2">
Protocols: UDP(-Lite)<a href="#section-a.1-6.44.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.44.3">
Automatable because IP Options relate to
knowledge about the network, not the
application.<a href="#section-a.1-6.44.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.44.4"></p>
</li>
<li class="normal" id="section-a.1-6.45">
<p id="section-a.1-6.45.1">Obtain IP Options<a href="#section-a.1-6.45.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.45.2">
Protocols: UDP(-Lite)<a href="#section-a.1-6.45.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.45.3">
Automatable because IP Options relate to
knowledge about the network, not the
application.<a href="#section-a.1-6.45.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.45.4"></p>
</li>
<li class="normal" id="section-a.1-6.46">
<p id="section-a.1-6.46.1">Enable and configure a "Low Extra Delay Background Transfer"<a href="#section-a.1-6.46.1" class="pilcrow">¶</a></p>
<p id="section-a.1-6.46.2">
Protocols: a protocol implementing the LEDBAT congestion control mechanism<a href="#section-a.1-6.46.2" class="pilcrow">¶</a></p>
<p id="section-a.1-6.46.3">
Optimizing because whether this feature is
appropriate or not depends on
application-specific knowledge. However,
wrongly using this will only affect the speed
of data transfers (albeit including other
transfers that may compete with the transport
system's transfer in the network), so it is
still correct within the "best effort" service
model.<a href="#section-a.1-6.46.3" class="pilcrow">¶</a></p>
<p id="section-a.1-6.46.4">
Implementation: via CONFIGURE.LEDBAT and/or SET_DSCP.TCP / SET_DSCP.SCTP / SET_DSCP.UDP(-Lite) <span>[<a href="#RFC8622" class="xref">RFC8622</a>]</span>.<a href="#section-a.1-6.46.4" class="pilcrow">¶</a></p>
<p id="section-a.1-6.46.5">
Implementation over TCP: do nothing (TCP does
not support LEDBAT congestion control, but not
implementing this functionality will not yield
a semantically wrong behavior).<a href="#section-a.1-6.46.5" class="pilcrow">¶</a></p>
<p id="section-a.1-6.46.6">
Implementation over UDP: do nothing (UDP does not offer congestion control).<a href="#section-a.1-6.46.6" class="pilcrow">¶</a></p>
<p id="section-a.1-6.46.7"></p>
</li>
</ul>
<p id="section-a.1-7">TERMINATION:<a href="#section-a.1-7" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-a.1-8.1">
<p id="section-a.1-8.1.1">Close after reliably delivering all remaining data, causing an
event informing the application on the other side<a href="#section-a.1-8.1.1" class="pilcrow">¶</a></p>
<p id="section-a.1-8.1.2">
Protocols: TCP, SCTP<a href="#section-a.1-8.1.2" class="pilcrow">¶</a></p>
<p id="section-a.1-8.1.3">
Functional because the notion of a connection
is often reflected in applications as an
expectation to have all outstanding data
delivered and no longer be able to communicate
after a "Close" succeeded, with a
communication sequence relating to this
transport feature that is defined by the
application protocol.<a href="#section-a.1-8.1.3" class="pilcrow">¶</a></p>
<p id="section-a.1-8.1.4">
Implementation: via CLOSE.TCP and CLOSE.SCTP.<a href="#section-a.1-8.1.4" class="pilcrow">¶</a></p>
<p id="section-a.1-8.1.5">
Implementation over UDP: not possible. (UDP is
unreliable and hence does not know when all
remaining data is delivered; it does also not
offer to cause an event related to closing at
the peer.)<a href="#section-a.1-8.1.5" class="pilcrow">¶</a></p>
<p id="section-a.1-8.1.6"></p>
</li>
<li class="normal" id="section-a.1-8.2">
<p id="section-a.1-8.2.1">Abort without delivering remaining data, causing an event informing the application on the other side<a href="#section-a.1-8.2.1" class="pilcrow">¶</a></p>
<p id="section-a.1-8.2.2">
Protocols: TCP, SCTP<a href="#section-a.1-8.2.2" class="pilcrow">¶</a></p>
<p id="section-a.1-8.2.3">
Functional because the notion of a connection
is often reflected in applications as an
expectation to potentially not have all
outstanding data delivered and no longer be
able to communicate after an "Abort"
succeeded. On both sides of a connection, an
application protocol may define a
communication sequence relating to this
transport feature.<a href="#section-a.1-8.2.3" class="pilcrow">¶</a></p>
<p id="section-a.1-8.2.4">
Implementation: via ABORT.TCP and ABORT.SCTP.<a href="#section-a.1-8.2.4" class="pilcrow">¶</a></p>
<p id="section-a.1-8.2.5">
Implementation over UDP: not possible. (UDP
does not offer to cause an event related to
aborting at the peer.)<a href="#section-a.1-8.2.5" class="pilcrow">¶</a></p>
<p id="section-a.1-8.2.6"></p>
</li>
<li class="normal" id="section-a.1-8.3">
<p id="section-a.1-8.3.1">Abort without delivering remaining data, not causing an event informing the application on the other side<a href="#section-a.1-8.3.1" class="pilcrow">¶</a></p>
<p id="section-a.1-8.3.2">
Protocols: UDP(-Lite)<a href="#section-a.1-8.3.2" class="pilcrow">¶</a></p>
<p id="section-a.1-8.3.3">
Functional because the notion of a connection
is often reflected in applications as an
expectation to potentially not have all
outstanding data delivered and no longer be
able to communicate after an "Abort"
succeeded. On both sides of a connection, an
application protocol may define a
communication sequence relating to this
transport feature.<a href="#section-a.1-8.3.3" class="pilcrow">¶</a></p>
<p id="section-a.1-8.3.4">
Implementation: via ABORT.UDP(-Lite).<a href="#section-a.1-8.3.4" class="pilcrow">¶</a></p>
<p id="section-a.1-8.3.5">
Implementation over TCP: stop using the connection, wait for a timeout.<a href="#section-a.1-8.3.5" class="pilcrow">¶</a></p>
<p id="section-a.1-8.3.6"></p>
</li>
<li class="normal" id="section-a.1-8.4">
<p id="section-a.1-8.4.1">Timeout event when data could not be delivered for too long<a href="#section-a.1-8.4.1" class="pilcrow">¶</a></p>
<p id="section-a.1-8.4.2">
Protocols: TCP, SCTP<a href="#section-a.1-8.4.2" class="pilcrow">¶</a></p>
<p id="section-a.1-8.4.3">
Functional because this notifies that
potentially assumed reliable data delivery is
no longer provided.<a href="#section-a.1-8.4.3" class="pilcrow">¶</a></p>
<p id="section-a.1-8.4.4">
Implementation: via TIMEOUT.TCP and TIMEOUT.SCTP.<a href="#section-a.1-8.4.4" class="pilcrow">¶</a></p>
<p id="section-a.1-8.4.5">
Implementation over UDP: do nothing (this event will not occur with UDP).<a href="#section-a.1-8.4.5" class="pilcrow">¶</a></p>
<p id="section-a.1-8.4.6"></p>
</li>
</ul>
</section>
</div>
<div id="data-pass3">
<section id="section-a.2">
<h2 id="name-data-transfer-related-transp">
<a href="#section-a.2" class="section-number selfRef">A.2. </a><a href="#name-data-transfer-related-transp" class="section-name selfRef">DATA-Transfer-Related Transport Features</a>
</h2>
<div id="data-sending-pass3">
<section id="section-a.2.1">
<h3 id="name-sending-data-3">
<a href="#section-a.2.1" class="section-number selfRef">A.2.1. </a><a href="#name-sending-data-3" class="section-name selfRef">Sending Data</a>
</h3>
<ul class="normal">
<li class="normal" id="section-a.2.1-1.1">
<p id="section-a.2.1-1.1.1">Reliably transfer data, with congestion control<a href="#section-a.2.1-1.1.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.1.2">
Protocols: TCP, SCTP<a href="#section-a.2.1-1.1.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.1.3">
Functional because this is closely tied to
properties of the data that an application
sends or expects to receive.<a href="#section-a.2.1-1.1.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.1.4">
Implementation: via SEND.TCP and SEND.SCTP.<a href="#section-a.2.1-1.1.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.1.5">
Implementation over UDP: not possible. (UDP is unreliable.)<a href="#section-a.2.1-1.1.5" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.1.6"></p>
</li>
<li class="normal" id="section-a.2.1-1.2">
<p id="section-a.2.1-1.2.1">Reliably transfer a message, with congestion control<a href="#section-a.2.1-1.2.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.2.2">
Protocols: SCTP<a href="#section-a.2.1-1.2.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.2.3">
Functional because this is closely tied to
properties of the data that an application
sends or expects to receive.<a href="#section-a.2.1-1.2.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.2.4">
Implementation: via SEND.SCTP.<a href="#section-a.2.1-1.2.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.2.5">
Implementation over TCP: via SEND.TCP. With
SEND.TCP, message boundaries will not be
identifiable by the receiver, because TCP
provides a byte-stream service.<a href="#section-a.2.1-1.2.5" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.2.6">
Implementation over UDP: not possible. (UDP is unreliable.)<a href="#section-a.2.1-1.2.6" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.2.7"></p>
</li>
<li class="normal" id="section-a.2.1-1.3">
<p id="section-a.2.1-1.3.1">Unreliably transfer a message<a href="#section-a.2.1-1.3.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.3.2">
Protocols: SCTP, UDP(-Lite)<a href="#section-a.2.1-1.3.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.3.3">
Optimizing because only applications know
about the time criticality of their
communication, and reliably transferring a
message is never incorrect for the receiver of
a potentially unreliable data transfer, it is
just slower.<a href="#section-a.2.1-1.3.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.3.4">
CHANGED FROM RFC 8303. This differs from the 2
automatable transport features below in that
it leaves the choice of congestion control
open.<a href="#section-a.2.1-1.3.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.3.5">
Implementation: via SEND.SCTP or SEND.UDP(-Lite).<a href="#section-a.2.1-1.3.5" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.3.6">
Implementation over TCP: use SEND.TCP. With
SEND.TCP, messages will be sent reliably, and
message boundaries will not be identifiable by
the receiver.<a href="#section-a.2.1-1.3.6" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.3.7"></p>
</li>
<li class="normal" id="section-a.2.1-1.4">
<p id="section-a.2.1-1.4.1">Unreliably transfer a message, with congestion control<a href="#section-a.2.1-1.4.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.4.2">
Protocols: SCTP<a href="#section-a.2.1-1.4.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.4.3">
Automatable because congestion control relates to knowledge about the network, not the application.<a href="#section-a.2.1-1.4.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.4.4"></p>
</li>
<li class="normal" id="section-a.2.1-1.5">
<p id="section-a.2.1-1.5.1">Unreliably transfer a message, without congestion control<a href="#section-a.2.1-1.5.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.5.2">
Protocols: UDP(-Lite)<a href="#section-a.2.1-1.5.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.5.3">
Automatable because congestion control relates to knowledge about the network, not the application.<a href="#section-a.2.1-1.5.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.5.4"></p>
</li>
<li class="normal" id="section-a.2.1-1.6">
<p id="section-a.2.1-1.6.1">Configurable Message Reliability<a href="#section-a.2.1-1.6.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.6.2">
Protocols: SCTP<a href="#section-a.2.1-1.6.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.6.3">
Optimizing because only applications know
about the time criticality of their
communication, and reliably transferring a
message is never incorrect for the receiver of
a potentially unreliable data transfer, it is
just slower.<a href="#section-a.2.1-1.6.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.6.4">
Implementation: via SEND.SCTP.<a href="#section-a.2.1-1.6.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.6.5">
Implementation over TCP: done by using SEND.TCP and
ignoring this configuration. Based on the
assumption of the best-effort service model,
unnecessarily delivering data does not violate
application expectations. Moreover, it is not
possible to associate the requested
reliability to a "message" in TCP anyway.<a href="#section-a.2.1-1.6.5" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.6.6">
Implementation over UDP: not possible. (UDP is unreliable.)<a href="#section-a.2.1-1.6.6" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.6.7"></p>
</li>
<li class="normal" id="section-a.2.1-1.7">
<p id="section-a.2.1-1.7.1">Choice of stream<a href="#section-a.2.1-1.7.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.7.2">
Protocols: SCTP<a href="#section-a.2.1-1.7.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.7.3">
Automatable because it requires using multiple
streams, but requesting multiple streams in
the CONNECTION.ESTABLISHMENT category is
automatable.<a href="#section-a.2.1-1.7.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.7.4">
Implementation: see <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-a.2.1-1.7.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.7.5"></p>
</li>
<li class="normal" id="section-a.2.1-1.8">
<p id="section-a.2.1-1.8.1">Choice of path (destination address)<a href="#section-a.2.1-1.8.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.8.2">
Protocols: SCTP<a href="#section-a.2.1-1.8.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.8.3">
Automatable because it requires using multiple sockets, but
obtaining multiple sockets in the CONNECTION.ESTABLISHMENT category is
automatable.<a href="#section-a.2.1-1.8.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.8.4"></p>
</li>
<li class="normal" id="section-a.2.1-1.9">
<p id="section-a.2.1-1.9.1">Ordered message delivery (potentially slower than unordered)<a href="#section-a.2.1-1.9.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.9.2">
Protocols: SCTP<a href="#section-a.2.1-1.9.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.9.3">
Functional because this is closely tied to
properties of the data that an application
sends or expects to receive.<a href="#section-a.2.1-1.9.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.9.4">
Implementation: via SEND.SCTP.<a href="#section-a.2.1-1.9.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.9.5">
Implementation over TCP: done by using
SEND.TCP. With SEND.TCP, messages will not be
identifiable by the receiver.<a href="#section-a.2.1-1.9.5" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.9.6">
Implementation over UDP: not possible. (UDP
does not offer any guarantees regarding
ordering.)<a href="#section-a.2.1-1.9.6" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.9.7"></p>
</li>
<li class="normal" id="section-a.2.1-1.10">
<p id="section-a.2.1-1.10.1">Unordered message delivery (potentially faster than ordered)<a href="#section-a.2.1-1.10.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.10.2">
Protocols: SCTP, UDP(-Lite)<a href="#section-a.2.1-1.10.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.10.3">
Functional because this is closely tied to properties of the data that an application
sends or expects to receive.<a href="#section-a.2.1-1.10.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.10.4">
Implementation: via SEND.SCTP.<a href="#section-a.2.1-1.10.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.10.5">
Implementation over TCP: done by using
SEND.TCP and always sending data ordered.
Based on the assumption of the best-effort
service model, ordered delivery may just be
slower and does not violate application
expectations. Moreover, it is not possible to
associate the requested delivery order to a
"message" in TCP anyway.<a href="#section-a.2.1-1.10.5" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.10.6"></p>
</li>
<li class="normal" id="section-a.2.1-1.11">
<p id="section-a.2.1-1.11.1">Request not to bundle messages<a href="#section-a.2.1-1.11.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.11.2">
Protocols: SCTP<a href="#section-a.2.1-1.11.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.11.3">
Optimizing because this decision depends on
knowledge about the size of future data blocks
and the delay between them.<a href="#section-a.2.1-1.11.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.11.4">
Implementation: via SEND.SCTP.<a href="#section-a.2.1-1.11.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.11.5">
Implementation over TCP: done by using SEND.TCP and
DISABLE_NAGLE.TCP to disable the Nagle
algorithm when the request is made and enable
it again when the request is no longer
made. Note that this is not fully equivalent
because it relates to the time of issuing the
request rather than a specific message.<a href="#section-a.2.1-1.11.5" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.11.6">
Implementation over UDP: do nothing (UDP never bundles messages).<a href="#section-a.2.1-1.11.6" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.11.7"></p>
</li>
<li class="normal" id="section-a.2.1-1.12">
<p id="section-a.2.1-1.12.1">Specifying a "payload protocol-id" (handed over as such by the receiver)<a href="#section-a.2.1-1.12.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.12.2">
Protocols: SCTP<a href="#section-a.2.1-1.12.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.12.3">
Functional because it allows sending extra
application data with every message, for the
sake of identification of data, which by
itself is application specific.<a href="#section-a.2.1-1.12.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.12.4">
Implementation: SEND.SCTP.<a href="#section-a.2.1-1.12.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.12.5">
Implementation over TCP: not possible. (This functionality is not available in TCP.)<a href="#section-a.2.1-1.12.5" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.12.6">
Implementation over UDP: not possible. (This functionality is not available in UDP.)<a href="#section-a.2.1-1.12.6" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.12.7"></p>
</li>
<li class="normal" id="section-a.2.1-1.13">
<p id="section-a.2.1-1.13.1">Specifying a key id to be used to authenticate a message<a href="#section-a.2.1-1.13.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.13.2">
Protocols: SCTP<a href="#section-a.2.1-1.13.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.13.3">
Functional because this has a direct influence on security.<a href="#section-a.2.1-1.13.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.13.4">
Implementation: via a parameter in SEND.SCTP.<a href="#section-a.2.1-1.13.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.13.5">
Implementation over TCP: this could be
emulated by using SET_AUTH.TCP before and
after the message is sent. Note that this is
not fully equivalent because it relates to the
time of issuing the request rather than a
specific message.<a href="#section-a.2.1-1.13.5" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.13.6">
Implementation over UDP: not possible. (UDP does not offer authentication.)<a href="#section-a.2.1-1.13.6" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.13.7"></p>
</li>
<li class="normal" id="section-a.2.1-1.14">
<p id="section-a.2.1-1.14.1">Request not to delay the acknowledgement (SACK) of a message<a href="#section-a.2.1-1.14.1" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.14.2">
Protocols: SCTP<a href="#section-a.2.1-1.14.2" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.14.3">
Optimizing because only an application knows for which message it wants to quickly be informed
about success/failure of its delivery.<a href="#section-a.2.1-1.14.3" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.14.4">
Implementation over TCP: do nothing (TCP does
not offer this functionality, but ignoring
this request from the application will not
yield a semantically wrong behavior).<a href="#section-a.2.1-1.14.4" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.14.5">
Implementation over UDP: do nothing (UDP does not offer this functionality, but ignoring
this request from the application will not yield a semantically wrong behavior).<a href="#section-a.2.1-1.14.5" class="pilcrow">¶</a></p>
<p id="section-a.2.1-1.14.6"></p>
</li>
</ul>
</section>
</div>
<div id="data-receiving-pass3">
<section id="section-a.2.2">
<h3 id="name-receiving-data-3">
<a href="#section-a.2.2" class="section-number selfRef">A.2.2. </a><a href="#name-receiving-data-3" class="section-name selfRef">Receiving Data</a>
</h3>
<ul class="normal">
<li class="normal" id="section-a.2.2-1.1">
<p id="section-a.2.2-1.1.1">Receive data (with no message delimiting)<a href="#section-a.2.2-1.1.1" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.1.2">
Protocols: TCP<a href="#section-a.2.2-1.1.2" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.1.3">
Functional because a transport system must be able to send and receive data.<a href="#section-a.2.2-1.1.3" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.1.4">
Implementation: via RECEIVE.TCP.<a href="#section-a.2.2-1.1.4" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.1.5">
Implementation over UDP: do nothing (UDP only works on messages; these can be handed over,
the application can still ignore the message boundaries).<a href="#section-a.2.2-1.1.5" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.1.6"></p>
</li>
<li class="normal" id="section-a.2.2-1.2">
<p id="section-a.2.2-1.2.1">Receive a message<a href="#section-a.2.2-1.2.1" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.2.2">
Protocols: SCTP, UDP(-Lite)<a href="#section-a.2.2-1.2.2" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.2.3">
Functional because this is closely tied to
properties of the data that an application
sends or expects to receive.<a href="#section-a.2.2-1.2.3" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.2.4">
Implementation: via RECEIVE.SCTP and RECEIVE.UDP(-Lite).<a href="#section-a.2.2-1.2.4" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.2.5">
Implementation over TCP: not possible. (TCP does not support identification of message boundaries.)<a href="#section-a.2.2-1.2.5" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.2.6"></p>
</li>
<li class="normal" id="section-a.2.2-1.3">
<p id="section-a.2.2-1.3.1">Choice of stream to receive from<a href="#section-a.2.2-1.3.1" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.3.2">
Protocols: SCTP<a href="#section-a.2.2-1.3.2" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.3.3">
Automatable because it requires using multiple streams, but
requesting multiple streams in the CONNECTION.ESTABLISHMENT category is
automatable.<a href="#section-a.2.2-1.3.3" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.3.4">
Implementation: see <a href="#nostream" class="xref">Section 5.2</a>.<a href="#section-a.2.2-1.3.4" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.3.5"></p>
</li>
<li class="normal" id="section-a.2.2-1.4">
<p id="section-a.2.2-1.4.1">Information about partial message arrival<a href="#section-a.2.2-1.4.1" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.4.2">
Protocols: SCTP<a href="#section-a.2.2-1.4.2" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.4.3">
Functional because this is closely tied to
properties of the data that an application
sends or expects to receive.<a href="#section-a.2.2-1.4.3" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.4.4">
Implementation: via RECEIVE.SCTP.<a href="#section-a.2.2-1.4.4" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.4.5">
Implementation over TCP: do nothing (this
information is not available with
TCP).<a href="#section-a.2.2-1.4.5" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.4.6">
Implementation over UDP: do nothing (this information is not available with UDP).<a href="#section-a.2.2-1.4.6" class="pilcrow">¶</a></p>
<p id="section-a.2.2-1.4.7"></p>
</li>
</ul>
</section>
</div>
<div id="data-errors-pass3">
<section id="section-a.2.3">
<h3 id="name-errors-2">
<a href="#section-a.2.3" class="section-number selfRef">A.2.3. </a><a href="#name-errors-2" class="section-name selfRef">Errors</a>
</h3>
<p id="section-a.2.3-1">This section describes sending failures that are associated with
a specific call to in the "Sending Data" category (<a href="#data-sending-pass3" class="xref">Appendix A.2.1</a>).<a href="#section-a.2.3-1" class="pilcrow">¶</a></p>
<ul class="normal">
<li class="normal" id="section-a.2.3-2.1">
<p id="section-a.2.3-2.1.1">Notification of send failures<a href="#section-a.2.3-2.1.1" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.1.2">
Protocols: SCTP, UDP(-Lite)<a href="#section-a.2.3-2.1.2" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.1.3">
Functional because this notifies that
potentially assumed reliable data delivery
is no longer provided.<a href="#section-a.2.3-2.1.3" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.1.4">
CHANGED FROM RFC 8303. This differs from
the 2 automatable transport features below
in that it does not distinguish between
unsent and unacknowledged messages.<a href="#section-a.2.3-2.1.4" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.1.5">
Implementation: via SENDFAILURE-EVENT.SCTP and SEND_FAILURE.UDP(-Lite).<a href="#section-a.2.3-2.1.5" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.1.6">
Implementation over TCP: do nothing (this
notification is not available and will
therefore not occur with TCP).<a href="#section-a.2.3-2.1.6" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.1.7"></p>
</li>
<li class="normal" id="section-a.2.3-2.2">
<p id="section-a.2.3-2.2.1">Notification of an unsent (part of a) message<a href="#section-a.2.3-2.2.1" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.2.2">
Protocols: SCTP, UDP(-Lite)<a href="#section-a.2.3-2.2.2" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.2.3">
Automatable because the distinction
between unsent and unacknowledged does not
relate to application-specific
knowledge.<a href="#section-a.2.3-2.2.3" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.2.4"></p>
</li>
<li class="normal" id="section-a.2.3-2.3">
<p id="section-a.2.3-2.3.1">Notification of an unacknowledged (part of a) message<a href="#section-a.2.3-2.3.1" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.3.2">
Protocols: SCTP<a href="#section-a.2.3-2.3.2" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.3.3">
Automatable because the distinction
between unsent and unacknowledged does not
relate to application-specific
knowledge.<a href="#section-a.2.3-2.3.3" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.3.4"></p>
</li>
<li class="normal" id="section-a.2.3-2.4">
<p id="section-a.2.3-2.4.1">Notification that the stack has no more user data to send<a href="#section-a.2.3-2.4.1" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.4.2">
Protocols: SCTP<a href="#section-a.2.3-2.4.2" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.4.3">
Optimizing because reacting to this
notification requires the application to
be involved, and ensuring that the stack
does not run dry of data (for too long)
can improve performance.<a href="#section-a.2.3-2.4.3" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.4.4">
Implementation over TCP: do nothing (see
the discussion in <a href="#rundry" class="xref">Section 5.4</a>).<a href="#section-a.2.3-2.4.4" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.4.5">
Implementation over UDP: do nothing (this
notification is not available and will
therefore not occur with UDP).<a href="#section-a.2.3-2.4.5" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.4.6"></p>
</li>
<li class="normal" id="section-a.2.3-2.5">
<p id="section-a.2.3-2.5.1">Notification to a receiver that a partial message delivery
has been aborted<a href="#section-a.2.3-2.5.1" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.5.2">
Protocols: SCTP<a href="#section-a.2.3-2.5.2" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.5.3">
Functional because this is closely tied to
properties of the data that an application
sends or expects to receive.<a href="#section-a.2.3-2.5.3" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.5.4">
Implementation over TCP: do nothing (this
notification is not available and will
therefore not occur with TCP).<a href="#section-a.2.3-2.5.4" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.5.5">
Implementation over UDP: do nothing (this notification is not available and will therefore not occur with UDP).<a href="#section-a.2.3-2.5.5" class="pilcrow">¶</a></p>
<p id="section-a.2.3-2.5.6"></p>
</li>
</ul>
</section>
</div>
</section>
</div>
</section>
</div>
<div id="Acknowledgements">
<section id="section-appendix.b">
<h2 id="name-acknowledgements">
<a href="#name-acknowledgements" class="section-name selfRef">Acknowledgements</a>
</h2>
<p id="section-appendix.b-1">The authors would like to thank all the participants of the TAPS
Working Group and the NEAT and MAMI research projects for valuable input
to this document. We especially thank <span class="contact-name">Michael Tüxen</span> for help with connection establishment/teardown,
<span class="contact-name">Gorry Fairhurst</span> for his suggestions regarding
fragmentation and packet sizes, and <span class="contact-name">Spencer Dawkins</span>
for his extremely detailed and constructive review. This work has
received funding from the European Union's Horizon 2020 research and
innovation program under grant agreement No. 644334 (NEAT).<a href="#section-appendix.b-1" class="pilcrow">¶</a></p>
</section>
</div>
<div id="authors-addresses">
<section id="section-appendix.c">
<h2 id="name-authors-addresses">
<a href="#name-authors-addresses" class="section-name selfRef">Authors' Addresses</a>
</h2>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Michael Welzl</span></div>
<div dir="auto" class="left"><span class="org">University of Oslo</span></div>
<div dir="auto" class="left"><span class="street-address">PO Box 1080 Blindern</span></div>
<div dir="auto" class="left">
<span class="postal-code">N-0316</span> <span class="locality">Oslo</span>
</div>
<div dir="auto" class="left"><span class="country-name">Norway</span></div>
<div class="tel">
<span>Phone:</span>
<a href="tel:+47%2022%2085%2024%2020" class="tel">+47 22 85 24 20</a>
</div>
<div class="email">
<span>Email:</span>
<a href="mailto:michawe@ifi.uio.no" class="email">michawe@ifi.uio.no</a>
</div>
</address>
<address class="vcard">
<div dir="auto" class="left"><span class="fn nameRole">Stein Gjessing</span></div>
<div dir="auto" class="left"><span class="org">University of Oslo</span></div>
<div dir="auto" class="left"><span class="street-address">PO Box 1080 Blindern</span></div>
<div dir="auto" class="left">
<span class="postal-code">N-0316</span> <span class="locality">Oslo</span>
</div>
<div dir="auto" class="left"><span class="country-name">Norway</span></div>
<div class="tel">
<span>Phone:</span>
<a href="tel:+47%2022%2085%2024%2044" class="tel">+47 22 85 24 44</a>
</div>
<div class="email">
<span>Email:</span>
<a href="mailto:steing@ifi.uio.no" class="email">steing@ifi.uio.no</a>
</div>
</address>
</section>
</div>
<script>const toc = document.getElementById("toc");
toc.querySelector("h2").addEventListener("click", e => {
toc.classList.toggle("active");
});
toc.querySelector("nav").addEventListener("click", e => {
toc.classList.remove("active");
});
</script>
</body>
</html>
|