For a good overview of the how TDI fits in with the operating system, see chapter 16 in the Network pamphlet.