diff options
author | Daniel Béreš <dberes@cisco.com> | 2022-07-27 12:22:39 +0000 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2022-10-06 12:22:07 +0000 |
commit | 82ec908acbab63af64b1b912babcab9a16d9f0e6 (patch) | |
tree | 496d633c09fbb1634ab23bbcc1e9d1efbb6970bb /extras/gomemif/examples/BUILD.bazel | |
parent | a58055d6b205426780e2737d3d66bbd872732d78 (diff) |
gomemif: update to libmemif version 4.0
Type: improvement
This patch provides:
1. interrupt mode support,
2. abstract socket support,
3. overriding responder example and divides it to two examples:
-icmp_responder_cb
-icmp_responder_poll
Signed-off-by: Daniel Béreš <dberes@cisco.com>
Change-Id: I99c86d053521760c457541fc596ed554f4077608
Diffstat (limited to 'extras/gomemif/examples/BUILD.bazel')
-rw-r--r-- | extras/gomemif/examples/BUILD.bazel | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/extras/gomemif/examples/BUILD.bazel b/extras/gomemif/examples/BUILD.bazel index a88b92e37f1..eb10422027f 100644 --- a/extras/gomemif/examples/BUILD.bazel +++ b/extras/gomemif/examples/BUILD.bazel @@ -1,12 +1,14 @@ load("@io_bazel_rules_go//go:def.bzl", "go_binary") go_binary( - name = "responder", - srcs = ["responder.go"], + name = "icmp_responder_poll", + srcs = ["icmp_responder_poll.go"], visibility = ["//visibility:public",], deps = [ "//memif:memif", "@com_github_profile//:go_default_library", + "@com_github_gopacket//layers:go_default_library", + "@com_github_gopacket//:go_default_library" ], ) @@ -19,3 +21,16 @@ go_binary( "@com_github_profile//:go_default_library", ], ) + +go_binary( + name = "icmp_responder_cb", + srcs = ["icmp_responder_cb.go"], + visibility = ["//visibility:public",], + deps = [ + "//memif:memif", + "@com_github_profile//:go_default_library", + "@com_github_gopacket//layers:go_default_library", + "@com_github_gopacket//:go_default_library" + ], +) + |