Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ipv6.h Create Date:2022-07-28 06:10:35
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:inet_sk_copy_descendant

Proto:static inline void inet_sk_copy_descendant(struct sock *sk_to, const struct sock *sk_from)

Type:void

Parameter:

TypeParameterName
struct sock *sk_to
const struct sock *sk_from
349  ancestor_size = sizeof(structinet_sock)
351  If sk_family == PF_INET6 Then ancestor_size += sizeof(structipv6_pinfo)
354  __inet_sk_copy_descendant(sk_to, sk_from, ancestor_size)