Searched refs:migrating_sk (Results 1 - 8 of 8) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_migrate_reuseport.c5 * 1. If reuse_md->migrating_sk is NULL (SYN packet),
7 * 2. If reuse_md->migrating_sk is not NULL (socket migration),
103 if (!reuse_md->migrating_sk)
106 state = reuse_md->migrating_sk->state;
/linux-master/include/net/
H A Dsock_reuseport.h42 struct sock *migrating_sk,
/linux-master/net/core/
H A Dsock_reuseport.c615 * @migrating_sk: ESTABLISHED/SYN_RECV full socket in the accept queue or
622 struct sock *migrating_sk,
645 hash = migrating_sk->sk_hash;
660 nsk = bpf_run_sk_reuseport(reuse, sk, prog, skb, migrating_sk, hash);
621 reuseport_migrate_sock(struct sock *sk, struct sock *migrating_sk, struct sk_buff *skb) argument
H A Dfilter.c11157 struct sock *migrating_sk,
11163 reuse_kern->migrating_sk = migrating_sk;
11172 struct sock *migrating_sk,
11178 bpf_init_reuseport_kern(&reuse_kern, reuse, sk, skb, migrating_sk, hash);
11325 case offsetof(struct sk_reuseport_md, migrating_sk):
11406 case offsetof(struct sk_reuseport_md, migrating_sk):
11407 SK_REUSEPORT_LOAD_FIELD(migrating_sk);
11154 bpf_init_reuseport_kern(struct sk_reuseport_kern *reuse_kern, struct sock_reuseport *reuse, struct sock *sk, struct sk_buff *skb, struct sock *migrating_sk, u32 hash) argument
11170 bpf_run_sk_reuseport(struct sock_reuseport *reuse, struct sock *sk, struct bpf_prog *prog, struct sk_buff *skb, struct sock *migrating_sk, u32 hash) argument
/linux-master/include/linux/
H A Dfilter.h1042 struct sock *migrating_sk,
1048 struct sock *migrating_sk,
1046 bpf_run_sk_reuseport(struct sock_reuseport *reuse, struct sock *sk, struct bpf_prog *prog, struct sk_buff *skb, struct sock *migrating_sk, u32 hash) argument
H A Dbpf.h3290 struct sock *migrating_sk; member in struct:sk_reuseport_kern
/linux-master/include/uapi/linux/
H A Dbpf.h6518 /* When reuse->migrating_sk is NULL, it is selecting a sk for the
6524 * When reuse->migrating_sk is not NULL, reuse->sk is closed and
6525 * reuse->migrating_sk is the socket that needs to be migrated
6526 * to another listening socket. migrating_sk could be a fullsock
6531 __bpf_md_ptr(struct bpf_sock *, migrating_sk);
/linux-master/tools/include/uapi/linux/
H A Dbpf.h6518 /* When reuse->migrating_sk is NULL, it is selecting a sk for the
6524 * When reuse->migrating_sk is not NULL, reuse->sk is closed and
6525 * reuse->migrating_sk is the socket that needs to be migrated
6526 * to another listening socket. migrating_sk could be a fullsock
6531 __bpf_md_ptr(struct bpf_sock *, migrating_sk);

Completed in 618 milliseconds