initial support for new network protocols (dotnet/corefx#37315)
authorTomas Weinfurt <tweinfurt@yahoo.com>
Wed, 22 May 2019 18:31:10 +0000 (11:31 -0700)
committerGitHub <noreply@github.com>
Wed, 22 May 2019 18:31:10 +0000 (11:31 -0700)
commit0cbbd884eb33dcab4a5321e57f5a9f6ad86448bf
treed9b4f7a3abbfedb9f84b350553b26d85adcd961e
parent9bc256f60f9b3f7cc40c1b86d7db8109ad353715
initial support for new network protocols (dotnet/corefx#37315)

* initial support for new network protocols

* feedback from review

* fix compilation of AF_CAN

Commit migrated from https://github.com/dotnet/corefx/commit/6f6790fa8219359f2acbe4b0624a3fa9a0a6943b
src/libraries/Common/src/System/Net/Sockets/ProtocolFamily.cs
src/libraries/Native/Unix/System.Native/pal_networking.c
src/libraries/Native/Unix/System.Native/pal_networking.h
src/libraries/System.Net.Primitives/ref/System.Net.Primitives.cs
src/libraries/System.Net.Primitives/src/System/Net/Sockets/AddressFamily.cs
src/libraries/System.Net.Sockets/ref/System.Net.Sockets.cs
src/libraries/System.Net.Sockets/tests/FunctionalTests/CreateSocketTests.cs
src/libraries/System.Net.Sockets/tests/FunctionalTests/CreateSocketTests.netcoreapp.cs [new file with mode: 0644]
src/libraries/System.Net.Sockets/tests/FunctionalTests/System.Net.Sockets.Tests.csproj