__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ 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_USER_H__
#define __UM_NET_USER_H__
#define ETH_ADDR_LEN (6)
#define ETH_HEADER_ETHERTAP (16)
#define ETH_HEADER_OTHER (26) /* 14 for ethernet + VLAN + MPLS for crazy people */
#define ETH_MAX_PACKET (1500)
#define UML_NET_VERSION (4)
struct net_user_info {
int (*init)(void *, void *);
int (*open)(void *);
void (*close)(int, void *);
void (*remove)(void *);
void (*add_address)(unsigned char *, unsigned char *, void *);
void (*delete_address)(unsigned char *, unsigned char *, void *);
int max_packet;
int mtu;
};
extern void iter_addresses(void *d, void (*cb)(unsigned char *,
unsigned char *, void *),
void *arg);
extern void *get_output_buffer(int *len_out);
extern void free_output_buffer(void *buffer);
extern int tap_open_common(void *dev, char *gate_addr);
extern void tap_check_ips(char *gate_addr, unsigned char *eth_addr);
extern void read_output(int fd, char *output_out, int len);
extern int net_read(int fd, void *buf, int len);
extern int net_recvfrom(int fd, void *buf, int len);
extern int net_write(int fd, void *buf, int len);
extern int net_send(int fd, void *buf, int len);
extern int net_sendto(int fd, void *buf, int len, void *to, int sock_len);
extern void open_addr(unsigned char *addr, unsigned char *netmask, void *arg);
extern void close_addr(unsigned char *addr, unsigned char *netmask, void *arg);
extern char *split_if_spec(char *str, ...);
extern int dev_netmask(void *d, void *m);
#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 |
|