5 references to IpHeader
System.Net.Ping (5)
System\Net\NetworkInformation\Ping.RawSocket.cs (5)
29
IpHeader
iph = default;
38
totalLength = sizeof(
IpHeader
) + checked(sizeof(IcmpHeader) + buffer.Length);
455
private static unsafe byte[] CreateSendMessageBuffer(
IpHeader
ipHeader, IcmpHeader icmpHeader, byte[] payload, int totalLength = 0)
464
int ipHeaderSize = sizeof(
IpHeader
);
465
new Span<byte>(&ipHeader, sizeof(
IpHeader
)).CopyTo(result);