Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /* 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Copyright (C) 2002 Jeff Dike (jdike@karaya.com)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) #include <net_user.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) struct pcap_data {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 	char *host_if;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) 	int promisc;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	int optimize;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 	char *filter;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	void *compiled;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 	void *pcap;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 	void *dev;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) extern const struct net_user_info pcap_user_info;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) extern int pcap_user_read(int fd, void *buf, int len, struct pcap_data *pri);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)