Function report |
Source Code:include\net\sock.h |
Create Date:2022-07-28 06:09:28 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:sock_recv_timestamp
Proto:static inline void sock_recv_timestamp(struct msghdr *msg, struct sock *sk, struct sk_buff *skb)
Type:void
Parameter:
Type | Parameter | Name |
---|---|---|
struct msghdr * | msg | |
struct sock * | sk | |
struct sk_buff * | skb |
2373 | hwtstamps = skb_hwtstamps(skb) |
2381 | If sock_flag(sk, %SO_TIMESTAMP setting ) || sk_tsflags & SOF_TIMESTAMPING_RX_SOFTWARE || kt && sk_tsflags & SOF_TIMESTAMPING_SOFTWARE || hwtstamp && sk_tsflags & SOF_TIMESTAMPING_RAW_HARDWARE Then __sock_recv_timestamp(msg, sk, skb) |
2387 | Else sock_write_timestamp(sk, kt) |
2390 | If sock_flag(sk, push wifi status to userspace ) && wifi_acked_valid Then __sock_recv_wifi_status(msg, sk, skb) |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |