Home
last modified time | relevance | path

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

/linux-4.1.27/samples/bpf/
Dtcbpf1_kern.c16 bpf_skb_store_bytes(skb, 0, mac, ETH_ALEN, 1); in set_dst_mac()
27 bpf_skb_store_bytes(skb, TOS_OFF, &new_tos, sizeof(new_tos), 0); in set_ip_tos()
41 bpf_skb_store_bytes(skb, IP_SRC_OFF, &new_ip, sizeof(new_ip), 0); in set_tcp_ip_src()
50 bpf_skb_store_bytes(skb, TCP_DPORT_OFF, &new_port, sizeof(new_port), 0); in set_tcp_dest_port()
Dbpf_helpers.h46 static int (*bpf_skb_store_bytes)(void *ctx, int off, void *from, int len, int flags) = variable
/linux-4.1.27/net/core/
Dfilter.c1200 static u64 bpf_skb_store_bytes(u64 r1, u64 r2, u64 r3, u64 r4, u64 flags) in bpf_skb_store_bytes() function
1244 .func = bpf_skb_store_bytes,