Skip to content

Commit

Permalink
Set offload processes to all
Browse files Browse the repository at this point in the history
  • Loading branch information
VidarHUN committed Jun 21, 2021
1 parent e4b0312 commit 2a586e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions udp-offload.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ const STATMAP_PATH = "/sys/fs/bpf/tc/globals/sidecar_statistics";
const BPF_OBJ_FILE = "./kernel-offload/udp_kernel_offload.o";

const PROC_TARGETS = ["/proc/sys/net/ipv4/conf/all/forwarding",
"/proc/sys/net/ipv4/conf/lo/route_localnet",
"/proc/sys/net/ipv4/conf/lo/accept_local"];
"/proc/sys/net/ipv4/conf/all/route_localnet",
"/proc/sys/net/ipv4/conf/all/accept_local"];

class Flow {
constructor(src_ip4=0, src_port=0, dst_ip4=0, dst_port=0, proto=0,
Expand Down

0 comments on commit 2a586e5

Please sign in to comment.