Comment by hnlmorg
10 months ago
Windows is very much based on NT, which has its influences from a few different OS, most notably being VMS.
AFAIK there isn’t any BSD code in Windows however the original TCP/IP stack in Windows was a port from BSD. But we are talking about the early 90s here and it’s long since been rewritten by Microsoft (or so they say, but I have no reason to disbelieve Microsoft)
For NT 3.1, Microsoft purchased a TCP/IP stack from Spider Systems[0]. It's not clear how much of that code was based on BSD's TCP/IP stack. Microsoft wrote their own TCP/IP stack for NT 3.5.[1]
Microsoft did leverage BSD code for common network utilities (ping, tracert, ftp, etc.), which still exist in Windows today, although Microsoft's preference is to leverage the "better" equivalent PowerShell cmdlets where available.
[0] https://en.wikipedia.org/wiki/Spider_Systems
[1] https://web.archive.org/web/20151229084950/http://www.kuro5h...
EDIT: If you want to hunt for BSD code, try taking a look at NT4[2].
[2] https://github.com/lianthony/NT4.0/tree/master/private/ntos/...
The BSD TCP/IP stack went away when Vista was released, it is long gone.
https://en.wikipedia.org/wiki/Windows_Vista_networking_techn...
For one, we don't know if it was "BSD TCP/IP" stack, just that the stack purchased from Spider was licensed as such, two, that stack went away with NT 3.5.