/tools/testing/selftests/net/mptcp/ |
D | mptcp_sockopt.sh | 26 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
|
D | mptcp_connect.c | 177 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/ |
D | skb_ctx.c | 18 .mark = 9, in test_skb_ctx() 104 CHECK_ATTR(skb.mark != 10, in test_skb_ctx() 107 skb.mark, 10); in test_skb_ctx()
|
D | sock_fields.c | 75 sk->mark, sk->priority, in print_sk()
|
/tools/testing/selftests/bpf/verifier/ |
D | ctx.c | 5 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)),
|
D | map_ptr_mixing.c | 65 offsetof(struct __sk_buff, mark)), 86 offsetof(struct __sk_buff, mark)),
|
D | bounds_deduction.c | 89 offsetof(struct __sk_buff, mark)), 104 offsetof(struct __sk_buff, mark)),
|
D | raw_stack.c | 110 offsetof(struct __sk_buff, mark)), 131 offsetof(struct __sk_buff, mark)), 155 offsetof(struct __sk_buff, mark)), 185 offsetof(struct __sk_buff, mark)),
|
D | unpriv.c | 234 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)),
|
D | cgroup_skb.c | 13 offsetof(struct __sk_buff, mark)), 15 offsetof(struct __sk_buff, mark)),
|
D | spill_fill.c | 25 offsetof(struct __sk_buff, mark)),
|
D | ctx_skb.c | 8 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)),
|
D | ref_tracking.c | 197 offsetof(struct __sk_buff, mark)), 225 offsetof(struct __sk_buff, mark)), 591 offsetof(struct bpf_sock, mark)),
|
D | direct_packet_access.c | 278 offsetof(struct __sk_buff, mark)), 374 offsetof(struct __sk_buff, mark)), 515 offsetof(struct __sk_buff, mark)),
|
D | calls.c | 194 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)),
|
D | bounds.c | 156 offsetof(struct __sk_buff, mark)), 180 offsetof(struct __sk_buff, mark)),
|
/tools/testing/selftests/netfilter/ |
D | nft_nat_zones.sh | 164 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
|
D | nft_meta.sh | 60 meta mark 42 counter name "imarkcounter" 76 meta mark 42 counter name "omarkcounter"
|
D | nft_flowtable.sh | 177 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/ |
D | test_skb_ctx.c | 20 skb->mark++; in process()
|
D | test_sock_fields.c | 68 dst->mark = src->mark; in skcpy()
|
/tools/testing/selftests/net/ |
D | txtimestamp.sh | 22 u32 match mark 0 0xffff \
|
D | fib_tests.sh | 1821 $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/ |
D | test_sock.c | 70 offsetof(struct bpf_sock, mark)),
|
/tools/testing/selftests/net/forwarding/ |
D | sch_red.sh | 481 install_qdisc ecn qevent mark block 10
|