]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - samples/bpf/sockex3_user.c
bpf: add various tests around spill/fill of regs
[karo-tx-linux.git] / samples / bpf / sockex3_user.c
index d4184ab5f3ac29897e25a43ffbc9462f900bd0ca..3fcfd8c4b2a3c69da6a4719559cdd4edbbca0b30 100644 (file)
@@ -7,7 +7,7 @@
 #include <arpa/inet.h>
 #include <sys/resource.h>
 
-struct flow_keys {
+struct bpf_flow_keys {
        __be32 src;
        __be32 dst;
        union {
@@ -49,7 +49,7 @@ int main(int argc, char **argv)
        (void) f;
 
        for (i = 0; i < 5; i++) {
-               struct flow_keys key = {}, next_key;
+               struct bpf_flow_keys key = {}, next_key;
                struct pair value;
 
                sleep(1);