发布

  • Add `AF_PACKET` support (#1052)

    frostbyte_neo 发布于 2022-08-08 10:48:19 +00:00

    • Add AF_PACKET support

    • Update .gitignore

    • Support both libpcap and AF_PACKET at the same time

    • Fix linter errors

    • Fix a bug that introduced while fixing a linter error

    • Revert the changes related to MaxBufferedPages prefixed consts

    • #run_acceptance_tests

    • #run_acceptance_tests

    • Revert channel buffer size #run_acceptance_tests

    • Revert "Revert channel buffer size #run_acceptance_tests"

    This reverts commit e62c3844cd6d4808fd2266ecdbd2106ae950fc6a.

    • Increase cy.wait from 500 to 1000 #run_acceptance_tests

    • Fix the pcapHandle handle

    • Revert "Increase cy.wait from 500 to 1000 #run_acceptance_tests"

    This reverts commit 938c550e7226578fe2cd290c2531edf4330a28ed.

    • #run_acceptance_tests

    • Handle the merge conflicts

    • Add AF_XDP support

    • Implement Close() of AF_XDP and fix linter errors

    • Fix NewIPProtoProgram function and internet protocol number

    • Pipe the packet stream from every network interface using *pcapgo.NgReader and *pcapgo.NgWriter

    Implement SetDecoder and SetBPF methods.

    • Fix NewNgReader call

    • Implement Stats method

    • Rebroadcast to the XDP socket

    • Add -packet-capture flag and make AF_PACKET, AF_XDP optional

    • #run_acceptance_tests

    • Fix newAfXdpHandle method

    • #run_acceptance_tests

    • Update tap/xdp/ipproto.c

    Co-authored-by: Nimrod Gilboa Markevich 59927337+nimrod-up9@users.noreply.github.com

    • Update tap/xdp/ipproto.c

    Co-authored-by: Nimrod Gilboa Markevich 59927337+nimrod-up9@users.noreply.github.com

    • Update tap/xdp/ipproto.c

    Co-authored-by: Nimrod Gilboa Markevich 59927337+nimrod-up9@users.noreply.github.com

    • Fix several issues

    • Update tap/xdp/ipproto.c

    Co-authored-by: Nimrod Gilboa Markevich 59927337+nimrod-up9@users.noreply.github.com

    • Fix ipproto.c

    • Remove AF_XDP

    • Comment on frameSize

    Co-authored-by: Nimrod Gilboa Markevich 59927337+nimrod-up9@users.noreply.github.com

    下载附件