Code Monkey home page Code Monkey logo

Comments (7)

yasuhito avatar yasuhito commented on September 14, 2024

@shun159 IPv6で落ちるケースはとてもよくありそうなので、直すのがよいと思います。余裕があれば PR おねがいできますか?

from pio.

shun159 avatar shun159 commented on September 14, 2024

@yasuhito
承知いたしました。
実装をここで考えてみます、よろしくお願いします。

from pio.

yasuhito avatar yasuhito commented on September 14, 2024

@shun159 ありがとうございます。自分としては、実装は単純に最初に挙げてくれたコードそのままでよい気がします。なにか問題点とかありそうですか?

from pio.

shun159 avatar shun159 commented on September 14, 2024

@yasuhito 
いえ、せっかくなのでIPv6対応しましょう、使いやすくなると思います。というところです。
まずは最初のコードにしようかとおもいます。

from pio.

yasuhito avatar yasuhito commented on September 14, 2024

@shun159 わかりました。とりあえず最初のコードで直しておいて 0.27.2 でリリースしたいと思います。でそれとは別に、IPv6 対応のチケットを切ってもらえればと思います。

from pio.

shun159 avatar shun159 commented on September 14, 2024

あっているかアレですが、
単にこんなざっくりとこんなのを追加するのだとおもいます。

    class IPv6Packet < BinData::Record
      include EthernetHeader

      endian :big

      ethernet_header ether_type: EtherType::IPV6
      bit4 :ip_version, value: 6
      bit6 :ip_dscp
      bit2 :ip_ecn
      bit20 :ipv6_flow
      int16be :ipv6_length
      int8be :ipv6_protocol
      int8be :ipv6_ttl
      ipv6_address :ipv6_src
      ipv6_address :ipv6_dst     
      rest :rest
    end

IPv6 対応のチケットを切ってもらえればと思います

承知しました!

from pio.

yasuhito avatar yasuhito commented on September 14, 2024

#246 をマージしたので閉じておきます。

from pio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.