Searched refs:old_tos (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/samples/bpf/
H A Dtcbpf1_kern.c24 __u8 old_tos = load_byte(skb, BPF_LL_OFF + TOS_OFF); set_ip_tos() local
26 bpf_l3_csum_replace(skb, IP_CSUM_OFF, htons(old_tos), htons(new_tos), 2); set_ip_tos()

Completed in 54 milliseconds