• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/transmission-2.73/third-party/libutp/

Lines Matching refs:version

207 // is either 20 or 23 bytes depending on version

252 // protocol version (4 low bits)
254 byte version() const { return ver_type & 0xf; }
594 byte version;
719 return (version ? sizeof(PacketFormatV1) : sizeof(PacketFormat));
724 return (version ? sizeof(PacketFormatExtensionsV1) : sizeof(PacketFormatExtensions));
767 uint16 ack_nr, uint16 seq_nr, byte version);
831 if (version == 0) {
859 int flags = version == 0 ? b->flags : b1->type();
860 uint16 seq_nr = version == 0 ? b->seq_nr : b1->seq_nr;
861 uint16 ack_nr = version == 0 ? b->ack_nr : b1->ack_nr;
879 if (version == 0) {
906 if (version == 0) {
929 if (version == 0) {
947 if (version == 0) {
976 const PackedSockAddr &addr, uint32 conn_id_send, uint16 ack_nr, uint16 seq_nr, byte version)
983 if (version == 0) {
1030 if (version == 0) {
1179 if (version == 0) {
1198 if (version == 0) p->seq_nr = seq_nr;
1739 int header_size = version == 1
1774 if (conn->version == 0) {
1786 LOG_UTPV("0x%08x: Got %s. seq_nr:%u ack_nr:%u state:%s version:%u timestamp:"I64u" reply_micro:%u",
1787 conn, flagnames[pk_flags], pk_seq_nr, pk_ack_nr, statenames[conn->state], conn->version,
1788 conn->version == 0?(uint64)(pf->tv_sec) * 1000000 + pf->tv_usec:uint64(pf1->tv_usec),
1789 conn->version == 0?(uint32)(pf->reply_micro):(uint32)(pf1->reply_micro));
1809 uint extension = conn->version == 0 ? pf->ext : pf1->ext;
1922 if (conn->version == 0) {
1948 const uint32 actual_delay = conn->version==0
1993 conn->max_window_user = conn->version == 0
2285 return pf->version() == 1 && pf->type() < ST_NUM_STATES && pf->ext < 3;
2359 // default to version 1
2409 if (conn->version == 1 && val == 0) {
2413 } else if (conn->version == 0 && val == 1) {
2418 conn->version = val;
2445 if (conn->version > 0) {
2479 if (conn->version == 0) {
2529 const byte version = UTP_IsV1(p1);
2530 const uint32 id = (version == 0) ? p->connid : uint32(p1->connid);
2532 if (version == 0 && len < sizeof(PacketFormat)) {
2533 LOG_UTPV("recv %s len:%u version:%u too small", addrfmt(addr, addrbuf), (uint)len, version);
2537 if (version == 1 && len < sizeof(PacketFormatV1)) {
2538 LOG_UTPV("recv %s len:%u version:%u too small", addrfmt(addr, addrbuf), (uint)len, version);
2547 if (version == 0) {
2553 const byte flags = version == 0 ? pf->flags : pf1->type();
2595 const uint32 seq_nr = version == 0 ? pf->seq_nr : pf1->seq_nr;
2619 UTPSocket::send_rst(send_to_proc, send_to_userdata, addr, id, seq_nr, UTP_Random(), version);
2624 LOG_UTPV("Incoming connection from %s uTP version:%u", addrfmt(addr, addrbuf), version);
2638 UTP_SetSockopt(conn, SO_UTPVERSION, version);
2674 const byte version = UTP_IsV1(p1);
2675 const uint32 id = (version == 0) ? p->connid : uint32(p1->connid);