Projects STRLCPY criu Commits 6963565f
🤬
  • ■ ■ ■ ■ ■ ■
    criu/sk-inet.c
    skipped 415 lines
    416 416   } else {
    417 417   ret |= dump_opt(sk, SOL_IP, IP_FREEBIND, &ioe->freebind);
    418 418   ret |= dump_opt(sk, SOL_IP, IP_PKTINFO, &ioe->pktinfo);
     419 + ret |= dump_opt(sk, SOL_IP, IP_TOS, &ioe->tos);
    419 420   }
    420 421   ioe->has_freebind = ioe->freebind;
    421 422   ioe->has_pktinfo = !!ioe->pktinfo;
     423 + ioe->has_tos = !!ioe->tos;
    422 424   
    423 425   return ret;
    424 426  }
    skipped 388 lines
    813 815   ret |= restore_opt(sk, SOL_IP, IP_FREEBIND, &ioe->freebind);
    814 816   if (ioe->has_pktinfo)
    815 817   ret |= restore_opt(sk, SOL_IP, IP_PKTINFO, &ioe->pktinfo);
     818 + if (ioe->has_tos)
     819 + ret |= restore_opt(sk, SOL_IP, IP_TOS, &ioe->tos);
    816 820   }
    817 821   
    818 822   if (ioe->raw)
    skipped 239 lines
  • ■ ■ ■ ■ ■
    images/sk-inet.proto
    skipped 18 lines
    19 19   optional ip_opts_raw_entry raw = 4;
    20 20   
    21 21   optional bool pktinfo = 5;
     22 + optional uint32 tos = 6;
    22 23  }
    23 24   
    24 25  message inet_sk_entry {
    skipped 34 lines
Please wait...
Page is in error, reload to recover