/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/></></>
|
D | bug_1265.in | 26 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
/external/linux-kselftest/tools/testing/selftests/bpf/progs/ |
D | test_xdp_loop.c | 76 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() argument 78 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4() 79 void *data = (void *)(long)xdp->data; in handle_ipv4() 109 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in handle_ipv4() 112 data = (void *)(long)xdp->data; in handle_ipv4() 113 data_end = (void *)(long)xdp->data_end; in handle_ipv4() 149 static __always_inline int handle_ipv6(struct xdp_md *xdp) in handle_ipv6() argument 151 void *data_end = (void *)(long)xdp->data_end; in handle_ipv6() 152 void *data = (void *)(long)xdp->data; in handle_ipv6() 179 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in handle_ipv6() [all …]
|
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()
|
/external/pdfium/testing/resources/javascript/ |
D | bug_735912.in | 30 (xdp:xdp) 43 0 R 32 (</xdp:xdp>) 50 0 R 101 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"> 116 </xdp:xdp>
|
D | bug_679642.in | 32 (xdp:xdp) 23 0 R 34 (</xdp:xdp>) 30 0 R 124 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"> 139 </xdp:xdp>
|
D | bug_679643.in | 32 (xdp:xdp) 23 0 R 34 (</xdp:xdp>) 30 0 R 119 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"> 134 </xdp:xdp>
|
/external/pdfium/testing/resources/javascript/xfa_specific/ |
D | bug_996123.in | 26 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"> 41 </xdp:xdp>
|
D | bug_993771.in | 27 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"> 72 </xdp:xdp>
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_xdp_veth.sh | 61 if ! ip link set dev lo xdp off > /dev/null 2>&1; then 101 xdp_redirect_map.o $BPF_DIR/progs type xdp \ 106 ip link set dev veth1 xdp pinned $BPF_DIR/progs/redirect_map_0 107 ip link set dev veth2 xdp pinned $BPF_DIR/progs/redirect_map_1 108 ip link set dev veth3 xdp pinned $BPF_DIR/progs/redirect_map_2 110 ip -n ns1 link set dev veth11 xdp obj xdp_dummy.o sec xdp_dummy 111 ip -n ns2 link set dev veth22 xdp obj xdp_tx.o sec tx 112 ip -n ns3 link set dev veth33 xdp obj xdp_dummy.o sec xdp_dummy
|
D | test_tcp_check_syncookie_user.c | 81 static int get_map_fd_by_prog_id(int prog_id, bool *xdp) in get_map_fd_by_prog_id() argument 108 *xdp = info.type == BPF_PROG_TYPE_XDP; in get_map_fd_by_prog_id() 119 static int run_test(int server_fd, int results_fd, bool xdp) in run_test() argument 170 if (xdp && value_gen == 0) { in run_test() 210 bool xdp; in main() local 217 results = get_map_fd_by_prog_id(atoi(argv[1]), &xdp); in main() 242 if (run_test(server, results, xdp)) in main() 245 if (run_test(server_v6, results, xdp)) in main()
|
/external/pdfium/testing/resources/pixel/xfa_specific/ |
D | bug_1270.in | 8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
D | bug_1258_3.in | 8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
D | bug_1272.in | 8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
D | bug_1269_3.in | 8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
D | bug_1258_2.in | 8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
D | bug_1269_1.in | 8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
D | bug_1258_1.in | 8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
D | bug_1273.in | 8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
D | bug_1269_2.in | 8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
|
/external/llvm-project/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…
|