Select Git revision
cec-follower.cpp
-
Hans Verkuil authored
Use int for this field instead of time_t since it is at most about 100*3600 seconds. It also avoids confusion about the size of time_t, since that can be 32 or 64 bits. Signed-off-by:
Hans Verkuil <hverkuil-cisco@xs4all.nl>
Hans Verkuil authoredUse int for this field instead of time_t since it is at most about 100*3600 seconds. It also avoids confusion about the size of time_t, since that can be 32 or 64 bits. Signed-off-by:
Hans Verkuil <hverkuil-cisco@xs4all.nl>
xdp.h 239 B
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef __NETNS_XDP_H__
#define __NETNS_XDP_H__
#include <linux/rculist.h>
#include <linux/mutex.h>
struct netns_xdp {
struct mutex lock;
struct hlist_head list;
};
#endif /* __NETNS_XDP_H__ */