/external/iproute2/ip/ |
D | iplink_xdp.c | 30 struct xdp_req *xdp = raw; in xdp_ebpf_cb() local 31 struct iplink_req *req = xdp->req; in xdp_ebpf_cb() 36 if (xdp->flags) in xdp_ebpf_cb() 37 addattr32(&req->n, sizeof(*req), IFLA_XDP_FLAGS, xdp->flags); in xdp_ebpf_cb() 45 static int xdp_delete(struct xdp_req *xdp) in xdp_delete() argument 47 xdp_ebpf_cb(xdp, -1, NULL); in xdp_delete() 58 struct xdp_req xdp = { in xdp_parse() local 63 xdp.flags |= XDP_FLAGS_UPDATE_IF_NOEXIST; in xdp_parse() 65 xdp.flags |= XDP_FLAGS_SKB_MODE; in xdp_parse() 67 xdp.flags |= XDP_FLAGS_DRV_MODE; in xdp_parse() [all …]
|
/external/pdfium/testing/resources/ |
D | bug_216.in | 15 (xdp:xdp) 23 0 R 17 (</xdp:xdp>) 30 0 R] 23 <xdp:xdp xmlns:xdp="http://www.foxitsoftware.com/"> 34 </xdp:xdp>
|
D | bug_765384.in | 30 (xdp:xdp) 43 0 R 32 (</xdp:xdp>) 50 0 R 81 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"> 92 </xdp:xdp>
|
D | bug_709793.in | 14 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"><config><form/></></>
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_xdp.c | 80 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() argument 82 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4() 83 void *data = (void *)(long)xdp->data; in handle_ipv4() 113 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in handle_ipv4() 116 data = (void *)(long)xdp->data; in handle_ipv4() 117 data_end = (void *)(long)xdp->data_end; in handle_ipv4() 153 static __always_inline int handle_ipv6(struct xdp_md *xdp) in handle_ipv6() argument 155 void *data_end = (void *)(long)xdp->data_end; in handle_ipv6() 156 void *data = (void *)(long)xdp->data; in handle_ipv6() 183 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in handle_ipv6() [all …]
|
D | test_adjust_tail.c | 15 int _xdp_adjust_tail(struct xdp_md *xdp) in _xdp_adjust_tail() argument 17 void *data_end = (void *)(long)xdp->data_end; in _xdp_adjust_tail() 18 void *data = (void *)(long)xdp->data; in _xdp_adjust_tail() 25 if (bpf_xdp_adjust_tail(xdp, 0 - offset)) in _xdp_adjust_tail()
|
D | test_xdp_noinline.c | 289 bool encap_v6(struct xdp_md *xdp, struct ctl_value *cval, in encap_v6() argument 300 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in encap_v6() 302 data = (void *)(long)xdp->data; in encap_v6() 303 data_end = (void *)(long)xdp->data_end; in encap_v6() 332 bool encap_v4(struct xdp_md *xdp, struct ctl_value *cval, in encap_v4() argument 348 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in encap_v4() 350 data = (void *)(long)xdp->data; in encap_v4() 351 data_end = (void *)(long)xdp->data_end; in encap_v4() 380 if (bpf_xdp_adjust_head(xdp, (int)sizeof(struct iphdr))) in encap_v4() 386 bool decap_v6(struct xdp_md *xdp, void **data, void **data_end, bool inner_v4) in decap_v6() argument [all …]
|
D | test_xdp_redirect.c | 18 int xdp_redirect_to_111(struct xdp_md *xdp) in xdp_redirect_to_111() argument 23 int xdp_redirect_to_222(struct xdp_md *xdp) in xdp_redirect_to_222() argument
|
D | test_xdp_vlan.sh | 84 ip link set dev lo xdp off 2>/dev/null > /dev/null 169 ip netns exec ns1 ip link set $DEVNS1 xdp object $FILE section $XDP_PROG 190 ip netns exec ns1 ip link set $DEVNS1 xdp off 191 ip netns exec ns1 ip link set $DEVNS1 xdp object $FILE section $XDP_PROG
|
D | test_xdp_meta.sh | 17 ip link set dev lo xdp off 2>/dev/null > /dev/null 43 ip netns exec ns1 ip link set dev veth1 xdp obj test_xdp_meta.o sec x 44 ip netns exec ns2 ip link set dev veth2 xdp obj test_xdp_meta.o sec x
|
D | test_offload.py | 412 def ip_link_show(self, xdp): argument 418 fail(xdp != "xdp" in link, 420 ("xdp" in link, xdp)) 820 ipl = sim.ip_link_show(xdp=True) 834 ipl = sim.ip_link_show(xdp=True) 891 ipl = sim.ip_link_show(xdp=True) 936 xdp = sim.ip_link_show(xdp=True)["xdp"] variable 938 fail("prog" not in xdp, "Base program not reported in single program mode") 943 two_xdps = sim.ip_link_show(xdp=True)["xdp"] 948 fail(xdp["attached"][0] not in two_xdps["attached"], [all …]
|
/external/pdfium/testing/resources/javascript/ |
D | bug_735912.in | 30 (xdp:xdp) 43 0 R 32 (</xdp:xdp>) 50 0 R 96 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"> 107 </xdp:xdp>
|
D | bug_679642.in | 32 (xdp:xdp) 23 0 R 34 (</xdp:xdp>) 30 0 R 121 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"> 132 </xdp:xdp>
|
D | bug_679643.in | 32 (xdp:xdp) 23 0 R 34 (</xdp:xdp>) 30 0 R 116 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"> 127 </xdp:xdp>
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/BPF/ |
D | remove_truncate_1.ll | 10 ; int xdp_dummy(struct xdp_md *xdp) 16 ; long addr1 = (long)xdp->data; 21 ; tmp = *(volatile char *)(long)xdp->data_end; 25 ; addr = (long)xdp->data; 37 define i32 @xdp_dummy(%struct.xdp_md* nocapture readonly %xdp) local_unnamed_addr #0 { 44 %data = getelementptr inbounds %struct.xdp_md, %struct.xdp_md* %xdp, i64 0, i32 0 55 %data_end = getelementptr inbounds %struct.xdp_md, %struct.xdp_md* %xdp, i64 0, i32 1 65 …%data13.phi.trans.insert = getelementptr inbounds %struct.xdp_md, %struct.xdp_md* %xdp, i64 0, i32…
|
D | remove_truncate_2.ll | 10 ; int xdp_dummy(struct xdp_md *xdp) 12 ; char addr = *(char *)(long)xdp->data; 28 define i32 @xdp_dummy(%struct.xdp_md* nocapture readonly %xdp) local_unnamed_addr #0 { 30 %data = getelementptr inbounds %struct.xdp_md, %struct.xdp_md* %xdp, i64 0, i32 0
|
D | remove_truncate_3.ll | 10 ; int xdp_dummy(struct xdp_md *xdp) 16 ; long addr1 = (long)xdp->data; 21 ; tmp = *(volatile char *)(long)xdp->data_end; 25 ; addr = (long)xdp->data;
|
/external/syzkaller/sys/linux/ |
D | socket_xdp.txt | 12 socket$xdp(domain const[AF_XDP], type const[SOCK_RAW], proto const[0]) sock_xdp 13 bind$xdp(fd sock_xdp, addr ptr[in, sockaddr_xdp_bind], len bytesize[addr]) 14 sendmsg$xdp(fd sock_xdp, msg ptr[in, msghdr_xdp], f flags[send_flags]) 15 mmap$xdp(addr vma, len len[addr], prot flags[mmap_prot], flags flags[mmap_flags], fd sock_xdp, offs…
|
D | socket.txt | 67 xdp sockaddr_xdp 97 xdp sockaddr_xdp
|
/external/bcc/examples/networking/xdp/ |
D | CMakeLists.txt | 1 install(PROGRAMS xdp_drop_count.py DESTINATION share/bcc/examples/networking/xdp)
|
/external/bcc/examples/networking/ |
D | CMakeLists.txt | 11 add_subdirectory(xdp)
|
/external/python/cpython3/Lib/test/ |
D | mime.types | 253 application/vnd.adobe.xdp+xml xdp
|
/external/bcc/docs/ |
D | kernel-versions.md | 138 …yet](https://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git/commit/?h=xdp&id=0afee87cfc800bf3…
|