new_tos 23 samples/bpf/tcbpf1_kern.c static inline void set_ip_tos(struct __sk_buff *skb, __u8 new_tos) new_tos 27 samples/bpf/tcbpf1_kern.c bpf_l3_csum_replace(skb, IP_CSUM_OFF, htons(old_tos), htons(new_tos), 2); new_tos 28 samples/bpf/tcbpf1_kern.c bpf_skb_store_bytes(skb, TOS_OFF, &new_tos, sizeof(new_tos), 0);