File tree 1 file changed +6
-6
lines changed
tools/testing/selftests/bpf/prog_tests
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -378,8 +378,8 @@ struct test tests[] = {
378
378
.iph_inner .ihl = 5 ,
379
379
.iph_inner .protocol = IPPROTO_TCP ,
380
380
.iph_inner .tot_len =
381
- __bpf_constant_htons (MAGIC_BYTES ) -
382
- sizeof (struct iphdr ),
381
+ __bpf_constant_htons (MAGIC_BYTES -
382
+ sizeof (struct iphdr )) ,
383
383
.tcp .doff = 5 ,
384
384
.tcp .source = 80 ,
385
385
.tcp .dest = 8080 ,
@@ -407,8 +407,8 @@ struct test tests[] = {
407
407
.iph_inner .ihl = 5 ,
408
408
.iph_inner .protocol = IPPROTO_TCP ,
409
409
.iph_inner .tot_len =
410
- __bpf_constant_htons (MAGIC_BYTES ) -
411
- sizeof (struct iphdr ),
410
+ __bpf_constant_htons (MAGIC_BYTES -
411
+ sizeof (struct iphdr )) ,
412
412
.tcp .doff = 5 ,
413
413
.tcp .source = 80 ,
414
414
.tcp .dest = 8080 ,
@@ -436,8 +436,8 @@ struct test tests[] = {
436
436
.iph_inner .ihl = 5 ,
437
437
.iph_inner .protocol = IPPROTO_TCP ,
438
438
.iph_inner .tot_len =
439
- __bpf_constant_htons (MAGIC_BYTES ) -
440
- sizeof (struct iphdr ),
439
+ __bpf_constant_htons (MAGIC_BYTES -
440
+ sizeof (struct iphdr )) ,
441
441
.tcp .doff = 5 ,
442
442
.tcp .source = 99 ,
443
443
.tcp .dest = 9090 ,
You can’t perform that action at this time.
0 commit comments