/linux/tools/testing/selftests/bpf/progs/ |
H A D | sock_destroy_prog.c | 11 int bpf_sock_destroy(struct sock_common *sk) __ksym; 51 struct sock_common *sk_common = ctx->sk_common; in iter_tcp6_client() 76 struct sock_common *sk_common = ctx->sk_common; in iter_tcp6_server() 121 bpf_sock_destroy((struct sock_common *)sk); in iter_udp6_client() 140 bpf_sock_destroy((struct sock_common *)sk); in iter_udp6_server()
|
H A D | sock_destroy_prog_fail.c | 11 int bpf_sock_destroy(struct sock_common *sk) __ksym; 18 bpf_sock_destroy((struct sock_common *)sk); in BPF_PROG()
|
H A D | test_tcp_estats.c | 54 struct sock_common { struct 75 struct sock_common __sk_common; argument
|
H A D | bpf_iter_bpf_sk_storage_helpers.c | 52 struct sock_common *sk_common = ctx->sk_common; in negate_socket_local_storage()
|
H A D | bpf_iter_setsockopt.c | 9 struct sock_common *_skc = skc; \
|
H A D | bpf_iter.h | 93 struct sock_common *sk_common;
|
H A D | bpf_iter_tcp4.c | 198 struct sock_common *sk_common = ctx->sk_common; in dump_tcp4()
|
H A D | bpf_iter_tcp6.c | 214 struct sock_common *sk_common = ctx->sk_common; in dump_tcp6()
|
/linux/net/mptcp/ |
H A D | pm.c | 400 int mptcp_pm_get_local_id(struct mptcp_sock *msk, struct sock_common *skc) in mptcp_pm_get_local_id() 411 mptcp_local_address((struct sock_common *)msk, &msk_local); in mptcp_pm_get_local_id() 412 mptcp_local_address((struct sock_common *)skc, &skc_local); in mptcp_pm_get_local_id() 421 bool mptcp_pm_is_backup(struct mptcp_sock *msk, struct sock_common *skc) in mptcp_pm_is_backup() 425 mptcp_local_address((struct sock_common *)skc, &skc_local); in mptcp_pm_is_backup()
|
H A D | pm_netlink.c | 85 void mptcp_local_address(const struct sock_common *skc, struct mptcp_addr_info *addr) in mptcp_local_address() 97 static void remote_address(const struct sock_common *skc, in remote_address() 115 struct sock_common *skc; in lookup_subflow_by_saddr() 118 skc = (struct sock_common *)mptcp_subflow_tcp_sock(subflow); in lookup_subflow_by_saddr() 141 remote_address((struct sock_common *)ssk, &cur); in lookup_subflow_by_daddr() 276 mptcp_local_address((struct sock_common *)sk, &saddr); in mptcp_pm_sport_in_anno_list() 431 remote_address((struct sock_common *)sk, &remote); in fill_remote_addresses_vec() 458 remote_address((struct sock_common *)ssk, &addrs[i]); in fill_remote_addresses_vec() 557 mptcp_local_address((struct sock_common *)msk->first, &mpc_addr); in mptcp_pm_create_subflow_or_signal_addr() 675 mptcp_local_address((struct sock_common *)msk, &mpc_addr); in fill_local_addresses_vec() [all …]
|
H A D | protocol.h | 732 void mptcp_local_address(const struct sock_common *skc, struct mptcp_addr_info *addr); 1116 int mptcp_pm_get_local_id(struct mptcp_sock *msk, struct sock_common *skc); 1119 bool mptcp_pm_is_backup(struct mptcp_sock *msk, struct sock_common *skc);
|
H A D | subflow.c | 97 local_id = mptcp_pm_get_local_id(msk, (struct sock_common *)req); in subflow_token_join_request() 103 subflow_req->request_bkup = mptcp_pm_is_backup(msk, (struct sock_common *)req); in subflow_token_join_request() 634 err = mptcp_pm_get_local_id(msk, (struct sock_common *)sk); in subflow_chk_local_id() 639 subflow->request_bkup = mptcp_pm_is_backup(msk, (struct sock_common *)sk); in subflow_chk_local_id()
|
/linux/net/core/ |
H A D | filter.c | 9750 BUILD_BUG_ON(sizeof_field(struct sock_common, skc_family) != 2); in bpf_convert_ctx_access() 9756 bpf_target_off(struct sock_common, in bpf_convert_ctx_access() 9761 BUILD_BUG_ON(sizeof_field(struct sock_common, skc_daddr) != 4); in bpf_convert_ctx_access() 9767 bpf_target_off(struct sock_common, in bpf_convert_ctx_access() 9772 BUILD_BUG_ON(sizeof_field(struct sock_common, in bpf_convert_ctx_access() 9779 bpf_target_off(struct sock_common, in bpf_convert_ctx_access() 9786 BUILD_BUG_ON(sizeof_field(struct sock_common, in bpf_convert_ctx_access() 9796 offsetof(struct sock_common, in bpf_convert_ctx_access() 9806 BUILD_BUG_ON(sizeof_field(struct sock_common, in bpf_convert_ctx_access() 9816 offsetof(struct sock_common, in bpf_convert_ctx_access() [all …]
|
/linux/include/net/ |
H A D | inet_timewait_sock.h | 38 struct sock_common __tw_common;
|
H A D | request_sock.h | 56 struct sock_common __req_common;
|
H A D | sock.h | 150 struct sock_common { struct 347 struct sock_common __sk_common;
|
/linux/tools/include/linux/ |
H A D | btf_ids.h | 184 BTF_SOCK_TYPE(BTF_SOCK_TYPE_SOCK_COMMON, sock_common) \
|
/linux/tools/testing/selftests/bpf/bpf_testmod/ |
H A D | bpf_testmod_kfunc.h | 148 struct sk_buff *bpf_kfunc_nested_acquire_zero_offset_test(struct sock_common *ptr) __ksym;
|
H A D | bpf_testmod.c | 192 __bpf_kfunc struct sk_buff *bpf_kfunc_nested_acquire_zero_offset_test(struct sock_common *ptr) in bpf_kfunc_nested_acquire_zero_offset_test()
|
/linux/include/linux/ |
H A D | btf_ids.h | 249 BTF_SOCK_TYPE(BTF_SOCK_TYPE_SOCK_COMMON, sock_common) \
|
/linux/net/ipv4/ |
H A D | tcp_ipv4.c | 3011 __bpf_md_ptr(struct sock_common *, sk_common); 3016 struct sock_common *sk_common, uid_t uid) 3567 struct sock_common *sk_common, uid_t uid)
|