projects
/
flowspec-xdp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update README to note lack of sorting.
[flowspec-xdp]
/
install.sh
diff --git
a/install.sh
b/install.sh
index 97df120917ada357672add6216fd7587d595b62d..58ae6709bbdc7a378965c2c33e0a77b634ad9459 100755
(executable)
--- a/
install.sh
+++ b/
install.sh
@@
-1,11
+1,11
@@
#!/bin/bash
set -e
#!/bin/bash
set -e
-RULES="$(birdc show route table flowspec4)
-$(birdc show route table flowspec6)"
+RULES="$(birdc show route table flowspec4
primary all
)
+$(birdc show route table flowspec6
primary all
)"
echo "$RULES" | ./genrules.py --8021q=drop-vlan --v6frag=ignore-parse-if-rule --ihl=drop-options
echo "$RULES" | ./genrules.py --8021q=drop-vlan --v6frag=ignore-parse-if-rule --ihl=drop-options
-clang -std=c99 -pedantic -Wall -Wextra -Wno-pointer-arith -Wno-unused-variable -O3 -emit-llvm -c xdp.c -o - | llc -O3 -march=bpf -filetype=obj -o xdp
+clang -
g -
std=c99 -pedantic -Wall -Wextra -Wno-pointer-arith -Wno-unused-variable -O3 -emit-llvm -c xdp.c -o - | llc -O3 -march=bpf -filetype=obj -o xdp
echo "Before unload drop count was:"
./dropcount.sh || echo "Not loaded"
echo "Before unload drop count was:"
./dropcount.sh || echo "Not loaded"