You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/net/packet
Brad Fitzpatrick affc4530a2 net/packet: don't make IP6Header.marshalPseudo assume UDP
It will be used for ICMPv6 next, so pass in the proto.

Also, use the ipproto constants rather than hardcoding the mysterious
number.

Change-Id: I57b68bdd2d39fff75f82affe955aff9245de246b
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
3 years ago
..
doc.go net/packet: s/ParsedPacket/Parsed/ to avoid package stuttering. 4 years ago
header.go net/packet, wgengine/filter: support SCTP 4 years ago
icmp4.go net/packet, wgengine{,/filter}: remove net/packet IPProto forwarding consts 4 years ago
icmp6.go net/packet: documentation pass. 4 years ago
ip4.go net/packet, wgengine/filter: support SCTP 4 years ago
ip6.go net/packet: don't make IP6Header.marshalPseudo assume UDP 3 years ago
packet.go net/packet: fix doc copy/paste-o 3 years ago
packet_test.go all: use testingutil.MinAllocsPerRun 3 years ago
tsmp.go all: adapt to opaque netaddr types 3 years ago
tsmp_test.go net/packet: add some more TSMP packet reject reasons and MaybeBroken bit 4 years ago
udp4.go net/packet, wgengine{,/filter}: remove net/packet IPProto forwarding consts 4 years ago
udp6.go net/packet: don't make IP6Header.marshalPseudo assume UDP 3 years ago