diff --git a/src/bpf_helper_defs.h b/src/bpf_helper_defs.h index 5ac02ec..736d7b6 100644 --- a/src/bpf_helper_defs.h +++ b/src/bpf_helper_defs.h @@ -150,7 +150,7 @@ static __u64 (*bpf_ktime_get_ns)(void) = (void *) 5; * * Also, note that **bpf_trace_printk**\ () is slow, and should * only be used for debugging purposes. For this reason, a notice - * bloc (spanning several lines) is printed to kernel logs and + * block (spanning several lines) is printed to kernel logs and * states that the helper should not be used "for production use" * the first time this helper is used (or more precisely, when * **trace_printk**\ () buffers are allocated). For passing values @@ -474,14 +474,14 @@ static long (*bpf_skb_vlan_pop)(struct __sk_buff *skb) = (void *) 19; * * int ret; * struct bpf_tunnel_key key = {}; - * + * * ret = bpf_skb_get_tunnel_key(skb, &key, sizeof(key), 0); * if (ret < 0) * return TC_ACT_SHOT; // drop packet - * + * * if (key.remote_ipv4 != 0x0a000001) * return TC_ACT_SHOT; // drop packet - * + * * return TC_ACT_OK; // accept packet * * This interface can also be used with all encapsulation devices @@ -604,7 +604,7 @@ static long (*bpf_redirect)(__u32 ifindex, __u64 flags) = (void *) 23; * * Retrieve the realm or the route, that is to say the * **tclassid** field of the destination for the *skb*. The - * indentifier retrieved is a user-provided tag, similar to the + * identifier retrieved is a user-provided tag, similar to the * one used with the net_cls cgroup (see description for * **bpf_get_cgroup_classid**\ () helper), but here this tag is * held by a route (a destination entry), not by a task.