diff options
Diffstat (limited to 'slirp/slirp.h')
-rw-r--r-- | slirp/slirp.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/slirp/slirp.h b/slirp/slirp.h index 1ff68cb..50c0a77 100644 --- a/slirp/slirp.h +++ b/slirp/slirp.h @@ -272,28 +272,28 @@ extern int do_echo; #define DEFAULT_BAUD 115200 /* cksum.c */ -int cksum(struct mbuf *m, int len); +int cksum(MBuf m, int len); /* if.c */ void if_init _P((void)); -void if_output _P((struct socket *, struct mbuf *)); +void if_output _P((struct socket *, MBuf )); /* ip_input.c */ void ip_init _P((void)); -void ip_input _P((struct mbuf *)); +void ip_input _P((MBuf )); struct ip * ip_reass _P((register struct ipasfrag *, register struct ipq *)); void ip_freef _P((struct ipq *)); void ip_enq _P((register struct ipasfrag *, register struct ipasfrag *)); void ip_deq _P((register struct ipasfrag *)); void ip_slowtimo _P((void)); -void ip_stripoptions _P((register struct mbuf *, struct mbuf *)); +void ip_stripoptions _P((register MBuf , MBuf )); /* ip_output.c */ -int ip_output _P((struct socket *, struct mbuf *)); +int ip_output _P((struct socket *, MBuf )); /* tcp_input.c */ -int tcp_reass _P((register struct tcpcb *, register struct tcpiphdr *, struct mbuf *)); -void tcp_input _P((register struct mbuf *, int, struct socket *)); +int tcp_reass _P((register struct tcpcb *, register struct tcpiphdr *, MBuf )); +void tcp_input _P((register MBuf , int, struct socket *)); void tcp_dooptions _P((struct tcpcb *, u_char *, int, struct tcpiphdr *)); void tcp_xmit_timer _P((register struct tcpcb *, int)); int tcp_mss _P((register struct tcpcb *, u_int)); @@ -305,7 +305,7 @@ void tcp_setpersist _P((register struct tcpcb *)); /* tcp_subr.c */ void tcp_init _P((void)); void tcp_template _P((struct tcpcb *)); -void tcp_respond _P((struct tcpcb *, register struct tcpiphdr *, register struct mbuf *, tcp_seq, tcp_seq, int)); +void tcp_respond _P((struct tcpcb *, register struct tcpiphdr *, register MBuf , tcp_seq, tcp_seq, int)); struct tcpcb * tcp_newtcpcb _P((struct socket *)); struct tcpcb * tcp_close _P((register struct tcpcb *)); void tcp_drain _P((void)); @@ -314,7 +314,7 @@ int tcp_fconnect _P((struct socket *)); void tcp_connect _P((struct socket *)); int tcp_attach _P((struct socket *)); u_int8_t tcp_tos _P((struct socket *)); -int tcp_emu _P((struct socket *, struct mbuf *)); +int tcp_emu _P((struct socket *, MBuf )); int tcp_ctl _P((struct socket *)); struct tcpcb *tcp_drop(struct tcpcb *tp, int err); |