Home
last modified time | relevance | path

Searched refs:IP_DST_OFF (Results 1 – 1 of 1) sorted by relevance

/Linux-v6.6/samples/bpf/
Dtest_lwt_bpf.c77 #define IP_DST_OFF offsetof(struct iphdr, daddr) macro
127 ret = bpf_skb_store_bytes(skb, IP_DST_OFF, &new_ip, sizeof(new_ip), 0); in rewrite()
146 ret = bpf_skb_load_bytes(skb, IP_DST_OFF, &old_ip, 4); in do_test_rewrite()