#ifndef TSTAMPING_H #define TSTAMPING_H #include "config.h" #ifdef HAVE_HARDWARE_TIMESTAMPING extern int set_sockopt_hwtimestamp(int sock, const char *dev); #else static inline int set_sockopt_hwtimestamp(int sock, const char *dev) { return -1; } #endif #endif /* TSTAMPING_H */ tps://git.distanz.ch/cgit.cgi/linux/net-next.git/atom/Documentation?h=nds-private-remove' type='application/atom+xml'/>
summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2017-01-03 11:00:28 -0500
committerDavid S. Miller <davem@davemloft.net>2017-01-03 11:00:28 -0500
commitaa276dd7b3fcc04b4a9c056a496d69271b7da8da (patch)
tree43dbb39df8034667faa990693f2b6d3a1b471aad /Documentation
parente7072f6669860c4918ced4acf6a7e482023bd40f (diff)
parentfe878cad38d389cf5dbcce501951b2269d6d02bf (diff)
Merge branch 'TPACKET_V3-TX_RING-support'
Sowmini Varadhan says: ==================== TPACKET_V3 TX_RING support This patch series allows an application to use a single PF_PACKET descriptor and leverage the best implementations of TX_RING and RX_RING that exist today. Patch 1 adds the kernel/Documentation changes for TX_RING support and patch2 adds the associated test case in selftests. Changes since v2: additional sanity checks for setsockopt input for TX_RING/TPACKET_V3. Refactored psock_tpacket.c test code to avoid code duplication from V2. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')