Home
last modified time | relevance | path

Searched refs:xdp (Results 1 – 25 of 89) sorted by relevance

1234

/external/iproute2/ip/
Diplink_xdp.c30 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/
Dbug_216.in15 (xdp:xdp) 23 0 R
17 (</xdp:xdp>) 30 0 R]
23 <xdp:xdp xmlns:xdp="http://www.foxitsoftware.com/">
34 </xdp:xdp>
Dbug_765384.in30 (xdp:xdp) 43 0 R
32 (</xdp:xdp>) 50 0 R
81 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
92 </xdp:xdp>
Dbug_709793.in14 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/"><config><form/></></>
/external/linux-kselftest/tools/testing/selftests/bpf/progs/
Dtest_xdp_loop.c74 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() argument
76 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4()
77 void *data = (void *)(long)xdp->data; in handle_ipv4()
107 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in handle_ipv4()
110 data = (void *)(long)xdp->data; in handle_ipv4()
111 data_end = (void *)(long)xdp->data_end; in handle_ipv4()
147 static __always_inline int handle_ipv6(struct xdp_md *xdp) in handle_ipv6() argument
149 void *data_end = (void *)(long)xdp->data_end; in handle_ipv6()
150 void *data = (void *)(long)xdp->data; in handle_ipv6()
177 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in handle_ipv6()
[all …]
Dtest_xdp.c78 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() argument
80 void *data_end = (void *)(long)xdp->data_end; in handle_ipv4()
81 void *data = (void *)(long)xdp->data; in handle_ipv4()
111 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct iphdr))) in handle_ipv4()
114 data = (void *)(long)xdp->data; in handle_ipv4()
115 data_end = (void *)(long)xdp->data_end; in handle_ipv4()
151 static __always_inline int handle_ipv6(struct xdp_md *xdp) in handle_ipv6() argument
153 void *data_end = (void *)(long)xdp->data_end; in handle_ipv6()
154 void *data = (void *)(long)xdp->data; in handle_ipv6()
181 if (bpf_xdp_adjust_head(xdp, 0 - (int)sizeof(struct ipv6hdr))) in handle_ipv6()
[all …]
Dtest_xdp_bpf2bpf.c45 int BPF_PROG(trace_on_entry, struct xdp_buff *xdp) in BPF_PROG() argument
48 void *data_end = (void *)(long)xdp->data_end; in BPF_PROG()
49 void *data = (void *)(long)xdp->data; in BPF_PROG()
51 meta.ifindex = xdp->rxq->dev->ifindex; in BPF_PROG()
53 bpf_xdp_output(xdp, &perf_buf_map, in BPF_PROG()
58 test_result_fentry = xdp->rxq->dev->ifindex; in BPF_PROG()
64 int BPF_PROG(trace_on_exit, struct xdp_buff *xdp, int ret) in BPF_PROG() argument
Dtest_xdp_adjust_tail_shrink.c13 int _xdp_adjust_tail_shrink(struct xdp_md *xdp) in _xdp_adjust_tail_shrink() argument
15 void *data_end = (void *)(long)xdp->data_end; in _xdp_adjust_tail_shrink()
16 void *data = (void *)(long)xdp->data; in _xdp_adjust_tail_shrink()
23 if (bpf_xdp_adjust_tail(xdp, 0 - offset)) in _xdp_adjust_tail_shrink()
Dtest_xdp_context_test_run.c6 int xdp_context(struct xdp_md *xdp) in xdp_context() argument
8 void *data = (void *)(long)xdp->data; in xdp_context()
9 __u32 *metadata = (void *)(long)xdp->data_meta; in xdp_context()
15 if (bpf_xdp_adjust_meta(xdp, 4)) in xdp_context()
Dtest_xdp_adjust_tail_grow.c6 int _xdp_adjust_tail_grow(struct xdp_md *xdp) in _xdp_adjust_tail_grow() argument
8 void *data_end = (void *)(long)xdp->data_end; in _xdp_adjust_tail_grow()
9 void *data = (void *)(long)xdp->data; in _xdp_adjust_tail_grow()
28 if (bpf_xdp_adjust_tail(xdp, offset)) in _xdp_adjust_tail_grow()
/external/pdfium/testing/resources/javascript/
Dbug_735912.in30 (xdp:xdp) 43 0 R
32 (</xdp:xdp>) 50 0 R
101 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
116 </xdp:xdp>
Dbug_679642.in32 (xdp:xdp) 23 0 R
34 (</xdp:xdp>) 30 0 R
124 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
139 </xdp:xdp>
Dbug_679643.in32 (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/linux-kselftest/tools/testing/selftests/bpf/
Dtest_xdp_veth.sh61 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
111 ip -n ns2 link set dev veth22 xdp obj xdp_tx.o sec xdp
112 ip -n ns3 link set dev veth33 xdp obj xdp_dummy.o sec xdp
Dtest_tcp_check_syncookie_user.c81 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/javascript/xfa_specific/
Dbug_996123.in26 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
41 </xdp:xdp>
Dbug_1054429.in40 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
62 <xdp>
64 </xdp>
141 </xdp:xdp>
Dbug_1053617.in40 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
62 <xdp>
64 </xdp>
149 </xdp:xdp>
Dbug_1052786.in61 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
82 <xdp>
84 </xdp>
162 </xdp:xdp>
Dbug_1052651.in62 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
83 <xdp>
85 </xdp>
162 </xdp:xdp>
/external/pdfium/testing/resources/pixel/xfa_specific/
Dbug_1258_3.in8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
Dbug_1270.in8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
Dbug_1272.in8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
Dbug_1269_3.in8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
Dbug_1269_1.in8 <xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">

1234