19#ifndef LIBCGLUE_SYS_SOCKET_ALIASES
20#define LIBCGLUE_SYS_SOCKET_ALIASES 1
24#include <sys/socket.h>
29extern void ps2ipDeinit(
void);
37extern err_t ps2ip_input(
struct pbuf *p,
struct netif *inp);
43extern err_t tcpip_input(
struct pbuf *p,
struct netif *inp);
57extern void netif_set_default(
struct netif *
netif);
62extern void netif_set_down(
struct netif *
netif);
65extern void pbuf_realloc(
struct pbuf *p, u16 size);
66extern u8 pbuf_header(
struct pbuf *p, s16 header_size);
67extern void pbuf_ref(
struct pbuf *p);
68extern u8 pbuf_free(
struct pbuf *p);
69extern u8 pbuf_clen(
struct pbuf *p);
70extern void pbuf_chain(
struct pbuf *h,
struct pbuf *t);
71extern struct pbuf* pbuf_dechain(
struct pbuf *p);
72extern struct pbuf* pbuf_take(
struct pbuf *f);
struct netif * netif_find(const char *name)
int ps2ipInit(struct ip4_addr *ip_address, struct ip4_addr *subnet_mask, struct ip4_addr *gateway)
void ps2ipSetHsyncTicksPerMSec(unsigned char ticks)
err_t(* netif_init_fn)(struct netif *netif)
err_t(* netif_input_fn)(struct pbuf *p, struct netif *inp)