OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
arch
/
um
/
include
/
shared
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:13 AM
rwxr-xr-x
📄
aio.h
530 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
arch.h
350 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
as-layout.h
1.56 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
common-offsets.h
1.05 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
elf_user.h
385 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
frame_kern.h
392 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
init.h
3.89 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
irq_kern.h
409 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
irq_user.h
652 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
kern.h
569 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
kern_util.h
2.1 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
longjmp.h
440 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
mem.h
455 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
mem_user.h
2.42 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
net_kern.h
1.81 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
net_user.h
1.6 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
os.h
10.63 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ptrace_user.h
1.88 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
registers.h
1002 bytes
06/16/2023 05:32:39 PM
rw-r--r--
📄
sigio.h
271 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📁
skas
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
timer-internal.h
275 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
um_malloc.h
384 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
user.h
1.45 KB
01/28/2018 09:20:33 PM
rw-r--r--
Editing: net_kern.h
Close
/* * Copyright (C) 2002 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) * Licensed under the GPL */ #ifndef __UM_NET_KERN_H #define __UM_NET_KERN_H #include <linux/netdevice.h> #include <linux/platform_device.h> #include <linux/skbuff.h> #include <linux/socket.h> #include <linux/list.h> #include <linux/workqueue.h> struct uml_net { struct list_head list; struct net_device *dev; struct platform_device pdev; int index; }; struct uml_net_private { struct list_head list; spinlock_t lock; struct net_device *dev; struct timer_list tl; struct work_struct work; int fd; unsigned char mac[ETH_ALEN]; int max_packet; unsigned short (*protocol)(struct sk_buff *); int (*open)(void *); void (*close)(int, void *); void (*remove)(void *); int (*read)(int, struct sk_buff *skb, struct uml_net_private *); int (*write)(int, struct sk_buff *skb, struct uml_net_private *); void (*add_address)(unsigned char *, unsigned char *, void *); void (*delete_address)(unsigned char *, unsigned char *, void *); char user[0]; }; struct net_kern_info { void (*init)(struct net_device *, void *); unsigned short (*protocol)(struct sk_buff *); int (*read)(int, struct sk_buff *skb, struct uml_net_private *); int (*write)(int, struct sk_buff *skb, struct uml_net_private *); }; struct transport { struct list_head list; const char *name; int (* const setup)(char *, char **, void *); const struct net_user_info *user; const struct net_kern_info *kern; const int private_size; const int setup_size; }; extern struct net_device *ether_init(int); extern unsigned short ether_protocol(struct sk_buff *); extern int tap_setup_common(char *str, char *type, char **dev_name, char **mac_out, char **gate_addr); extern void register_transport(struct transport *new); extern unsigned short eth_protocol(struct sk_buff *skb); #endif