Packages that use SSU2Payload.RIBlock
Package
Description
SSU2, the UDP transport: datagram sessions with Holepunch peer discovery, plus the older SSU compatibility code.
Uses of SSU2Payload.RIBlock in net.i2p.router.transport.udp
Methods in net.i2p.router.transport.udp with parameters of type SSU2Payload.RIBlockModifier and TypeMethodDescriptionprivate UDPPacketPacketBuilder2.buildSessionConfirmedPacket(OutboundEstablishState2 state, SSU2Payload.RIBlock block) Build a single new SessionConfirmed packet for the given peer, unfragmented.private UDPPacket[]PacketBuilder2.buildSessionConfirmedPackets(OutboundEstablishState2 state, SSU2Payload.RIBlock block) Build all the fragmented SessionConfirmed packets.private voidPacketBuilder2.encryptSessionConfirmed(UDPPacket packet, HandshakeState state, int mtu, int numFragments, int addPadding, boolean isIPv6, byte[] hdrKey1, byte[] hdrKey2, SSU2Payload.RIBlock riblock, EstablishmentManager.Token token) If numFragments larger than 1, we do NOT encrypt the header here, that's caller's responsibility.