__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/* SPDX-License-Identifier: GPL-2.0 */
/*
* Copyright (C) 2002 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com)
*/
#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[];
};
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 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);
extern void uml_net_setup_etheraddr(struct net_device *dev, char *str);
#endif
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| skas | Folder | 0755 |
|
|
| arch.h | File | 363 B | 0644 |
|
| as-layout.h | File | 1.47 KB | 0644 |
|
| common-offsets.h | File | 435 B | 0644 |
|
| elf_user.h | File | 398 B | 0644 |
|
| frame_kern.h | File | 405 B | 0644 |
|
| init.h | File | 3.7 KB | 0644 |
|
| irq_kern.h | File | 2.71 KB | 0644 |
|
| irq_user.h | File | 532 B | 0644 |
|
| kern.h | File | 582 B | 0644 |
|
| kern_util.h | File | 2 KB | 0644 |
|
| longjmp.h | File | 493 B | 0644 |
|
| mem.h | File | 476 B | 0644 |
|
| mem_user.h | File | 2.13 KB | 0644 |
|
| net_kern.h | File | 1.79 KB | 0644 |
|
| net_user.h | File | 1.56 KB | 0644 |
|
| os.h | File | 10.72 KB | 0644 |
|
| ptrace_user.h | File | 362 B | 0644 |
|
| registers.h | File | 400 B | 0644 |
|
| sigio.h | File | 246 B | 0644 |
|
| timetravel.h | File | 702 B | 0644 |
|
| um_malloc.h | File | 460 B | 0644 |
|
| user.h | File | 1.95 KB | 0644 |
|