函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ipv6.h Create Date:2022-07-27 07:07:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:inet_sk_copy_descendant

函数原型:static inline void inet_sk_copy_descendant(struct sock *sk_to, const struct sock *sk_from)

返回类型:void

参数:

类型参数名称
struct sock *sk_to
const struct sock *sk_from
349  ancestor_size等于sizeof(structinet_sock)
351  如果sk_family恒等于PF_INET6ancestor_size加等于sizeof(structipv6_pinfo)
354  __inet_sk_copy_descendant(sk_to, sk_from, ancestor_size)