Home
last modified time | relevance | path

Searched refs:mark (Results 1 – 25 of 33) sorted by relevance

12

/tools/testing/selftests/net/mptcp/
Dmptcp_sockopt.sh26 ip netns exec $ns $t -A OUTPUT -p tcp --syn -m mark --mark $m -j ACCEPT
29 ip netns exec $ns $t -A OUTPUT -p tcp --tcp-flags RST RST -m mark --mark 0 -j ACCEPT
31 ip netns exec $ns $t -A OUTPUT -p tcp -m mark --mark $m -j ACCEPT
32 ip netns exec $ns $t -A OUTPUT -p tcp -m mark --mark 0 -j DROP
Dmptcp_connect.c177 static void set_mark(int fd, uint32_t mark) in set_mark() argument
181 err = setsockopt(fd, SOL_SOCKET, SO_MARK, &mark, sizeof(mark)); in set_mark()
/tools/testing/selftests/bpf/prog_tests/
Dskb_ctx.c18 .mark = 9, in test_skb_ctx()
104 CHECK_ATTR(skb.mark != 10, in test_skb_ctx()
107 skb.mark, 10); in test_skb_ctx()
Dsock_fields.c75 sk->mark, sk->priority, in print_sk()
/tools/testing/selftests/bpf/verifier/
Dctx.c5 BPF_ST_MEM(BPF_DW, BPF_REG_1, offsetof(struct __sk_buff, mark), 0),
16 BPF_ATOMIC_OP(BPF_W, BPF_ADD, BPF_REG_1, BPF_REG_0, offsetof(struct __sk_buff, mark)),
28 offsetof(struct __sk_buff, mark)),
30 offsetof(struct __sk_buff, mark)),
Dmap_ptr_mixing.c65 offsetof(struct __sk_buff, mark)),
86 offsetof(struct __sk_buff, mark)),
Dbounds_deduction.c89 offsetof(struct __sk_buff, mark)),
104 offsetof(struct __sk_buff, mark)),
Draw_stack.c110 offsetof(struct __sk_buff, mark)),
131 offsetof(struct __sk_buff, mark)),
155 offsetof(struct __sk_buff, mark)),
185 offsetof(struct __sk_buff, mark)),
Dunpriv.c234 offsetof(struct __sk_buff, mark)),
265 offsetof(struct __sk_buff, mark)),
299 offsetof(struct __sk_buff, mark)),
330 offsetof(struct bpf_sock, mark)),
363 offsetof(struct bpf_sock, mark)),
Dcgroup_skb.c13 offsetof(struct __sk_buff, mark)),
15 offsetof(struct __sk_buff, mark)),
Dspill_fill.c25 offsetof(struct __sk_buff, mark)),
Dctx_skb.c8 offsetof(struct __sk_buff, mark)),
274 offsetof(struct __sk_buff, mark)),
286 offsetof(struct __sk_buff, mark)),
373 offsetof(struct __sk_buff, mark)),
912 offsetof(struct __sk_buff, mark)),
932 offsetof(struct __sk_buff, mark)),
Dref_tracking.c197 offsetof(struct __sk_buff, mark)),
225 offsetof(struct __sk_buff, mark)),
591 offsetof(struct bpf_sock, mark)),
Ddirect_packet_access.c278 offsetof(struct __sk_buff, mark)),
374 offsetof(struct __sk_buff, mark)),
515 offsetof(struct __sk_buff, mark)),
Dcalls.c194 offsetof(struct __sk_buff, mark)),
210 offsetof(struct __sk_buff, mark)),
227 offsetof(struct __sk_buff, mark)),
247 offsetof(struct __sk_buff, mark)),
264 offsetof(struct __sk_buff, mark)),
287 offsetof(struct __sk_buff, mark)),
Dbounds.c156 offsetof(struct __sk_buff, mark)),
180 offsetof(struct __sk_buff, mark)),
/tools/testing/selftests/netfilter/
Dnft_nat_zones.sh164 type ifname : mark
188 meta mark set meta iifname map @iiftomark
197 ct mark set meta mark meta oifname veth0 masquerade
202 ct direction reply meta mark set ct mark
Dnft_meta.sh60 meta mark 42 counter name "imarkcounter"
76 meta mark 42 counter name "omarkcounter"
Dnft_flowtable.sh177 tcp dport 12345 meta length gt 200 ct mark set 1 counter
180 tcp flags fin,rst ct mark set 0 accept
191 tcp sport 12345 ct mark 1 counter log prefix "mark failure " drop
/tools/testing/selftests/bpf/progs/
Dtest_skb_ctx.c20 skb->mark++; in process()
Dtest_sock_fields.c68 dst->mark = src->mark; in skcpy()
/tools/testing/selftests/net/
Dtxtimestamp.sh22 u32 match mark 0 0xffff \
Dfib_tests.sh1821 $NS_EXEC iptables -t mangle -A OUTPUT -j MARK --set-mark 1
1828 $NS_EXEC iptables -t mangle -D OUTPUT -j MARK --set-mark 1
1879 $NS_EXEC ip6tables -t mangle -A OUTPUT -j MARK --set-mark 1
1886 $NS_EXEC ip6tables -t mangle -D OUTPUT -j MARK --set-mark 1
/tools/testing/selftests/bpf/
Dtest_sock.c70 offsetof(struct bpf_sock, mark)),
/tools/testing/selftests/net/forwarding/
Dsch_red.sh481 install_qdisc ecn qevent mark block 10

12