Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

76 lines
1.2 KiB

  1. /*
  2. Copyright (c) 1998, Microsoft Corporation, all rights reserved
  3. Description:
  4. History:
  5. */
  6. #ifndef _RASTCP_H_
  7. #define _RASTCP_H_
  8. #include "rasiphlp.h"
  9. IPADDR
  10. RasTcpDeriveMask(
  11. IN IPADDR nboIpAddr
  12. );
  13. VOID
  14. RasTcpSetProxyArp(
  15. IN IPADDR nboIpAddr,
  16. IN BOOL fAddAddress
  17. );
  18. VOID
  19. RasTcpSetRoute(
  20. IN IPADDR nboDestAddr,
  21. IN IPADDR nboNextHopAddr,
  22. IN IPADDR nboIpMask,
  23. IN IPADDR nboLocalAddr,
  24. IN BOOL fAddAddress,
  25. IN DWORD dwMetric,
  26. IN BOOL fSetToStack
  27. );
  28. VOID
  29. RasTcpSetRouteEx(
  30. IN IPADDR nboDestAddr,
  31. IN IPADDR nboNextHopAddr,
  32. IN IPADDR nboIpMask,
  33. IN IPADDR nboLocalAddr,
  34. IN BOOL fAddAddress,
  35. IN DWORD dwMetric,
  36. IN BOOL fSetToStack,
  37. IN GUID *pDeviceGuid
  38. );
  39. #if 0
  40. VOID
  41. RasTcpSetRoutesForNameServers(
  42. BOOL
  43. );
  44. #endif
  45. DWORD
  46. RasTcpAdjustMulticastRouteMetric (
  47. IN IPADDR nboIpAddr,
  48. IN BOOL fSet
  49. );
  50. DWORD
  51. RasTcpAdjustRouteMetrics(
  52. IN IPADDR nboIpAddr,
  53. IN BOOL fSet
  54. );
  55. VOID
  56. RasTcpSetDhcpRoutes (
  57. IN PBYTE pbRouteInfo,
  58. IN IPADDR ipAddrLocal,
  59. IN BOOL fSet );
  60. #endif // #ifndef _RASTCP_H_