__SKB_RECV_DATAGRAM - Online Linux Manual PageSection : 9
Updated : June 2018
Source : Kernel Hackers Manual 2​.6​.
Note : Linux Networking

NAME__skb_recv_datagram − Receive a datagram skbuff

SYNOPSISstruct sk_buff * __skb_recv_datagram(struct sock * sk, unsigned flags, int * peeked, int * err);

ARGUMENTSsk socket flags MSG_ flags peeked returns non−zero if this packet has been seen before err error code returned

DESCRIPTIONGet a datagram skbuff, understands the peeking, nonblocking wakeups and possible races​. This replaces identical code in packet, raw and udp, as well as the IPX AX​.25 and Appletalk​. It also finally fixes the long standing peek and read race for datagram sockets​. If you alter this routine remember it must be re−entrant​. This function will lock the socket if a skb is returned, so the caller needs to unlock the socket in that case (usually by calling skb_free_datagram) * It does not lock socket since today​. This function is * free of race conditions​. This measure should/can improve * significantly datagram socket latencies at high loads, * when data copying to user space takes lots of time​. * (BTW I´ve just killed the last cli in IP/IPv6/core/netlink/packet * 8) Great win​.) * −−ANK (980729) The order of the tests when we find no data waiting are specified quite explicitly by POSIX 1003​.1g, don´t change them without having the standard around please​.

COPYRIGHT
0
Johanes Gumabo
Data Size   :   5,643 byte
man-__skb_recv_datagram.9Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   3 / 166,923
Visitor ID   :     :  
Visitor IP   :   3.138.101.51   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.