aboutsummaryrefslogtreecommitdiffstats
path: root/executor/test.go
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@gmail.com>2017-05-17 01:56:40 +0200
committerGitHub <noreply@github.com>2017-05-17 01:56:40 +0200
commit64cd235dcf60d3ab0dec3d4b0f168297782417a7 (patch)
tree67c41279da959d253aab080b873284e6e2e5186a /executor/test.go
parentffb66e506d9083140196d9b4b2a46e15bc4a5d1e (diff)
parentac0c70f74a5badbebec721c2be0602ea98c0437b (diff)
Merge pull request #169 from xairy/executor-csum
prog, executor: move checksum computation to executor
Diffstat (limited to 'executor/test.go')
-rw-r--r--executor/test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/executor/test.go b/executor/test.go
index e9709b8d0..47a4e0388 100644
--- a/executor/test.go
+++ b/executor/test.go
@@ -6,6 +6,8 @@
package executor
// int test_copyin();
+// int test_csum_inet();
+// int test_csum_inet_acc();
// int test_kvm();
import "C"
@@ -13,6 +15,14 @@ func testCopyin() int {
return int(C.test_copyin())
}
+func testCsumInet() int {
+ return int(C.test_csum_inet())
+}
+
+func testCsumInetAcc() int {
+ return int(C.test_csum_inet_acc())
+}
+
func testKVM() int {
return int(C.test_kvm())
}