Home
last modified time | relevance | path

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

/system/netd/bpf_progs/
Dnetd.c143 ret = bpf_skb_load_bytes(skb, offset, &proto, 1); in DEFINE_UPDATE_STATS()
148 ret = bpf_skb_load_bytes(skb, IPPROTO_IHL_OFF, &ihl, 1); in DEFINE_UPDATE_STATS()
150 ret = bpf_skb_load_bytes(skb, ihl * 4 + TCP_FLAG_OFF, &flag, 1); in DEFINE_UPDATE_STATS()
159 ret = bpf_skb_load_bytes(skb, offset, &proto, 1); in DEFINE_UPDATE_STATS()
165 ret = bpf_skb_load_bytes(skb, sizeof(struct ipv6hdr) + TCP_FLAG_OFF, &flag, 1); in DEFINE_UPDATE_STATS()
Dbpf_net_helpers.h29 static int (*bpf_skb_load_bytes)(struct __sk_buff* skb, int off, void* to, variable