Revision 5fafdf24 slirp/socket.h

b/slirp/socket.h
1 1
/*
2 2
 * Copyright (c) 1995 Danny Gasparovski.
3
 * 
4
 * Please read the file COPYRIGHT for the 
3
 *
4
 * Please read the file COPYRIGHT for the
5 5
 * terms and conditions of the copyright.
6 6
 */
7 7

  
......
33 33
  struct in_addr so_laddr;	   /* local host table entry */
34 34
  u_int16_t so_fport;		   /* foreign port */
35 35
  u_int16_t so_lport;		   /* local port */
36
  
36
 
37 37
  u_int8_t	so_iptos;	/* Type of service */
38 38
  u_int8_t	so_emu;		/* Is the socket emulated? */
39
  
39
 
40 40
  u_char	so_type;		/* Type of socket, UDP or TCP */
41 41
  int	so_state;		/* internal state flags SS_*, below */
42
  
42
 
43 43
  struct 	tcpcb *so_tcpcb;	/* pointer to TCP protocol control block */
44 44
  u_int	so_expire;		/* When the socket will expire */
45
  
45
 
46 46
  int	so_queued;		/* Number of packets queued from this socket */
47 47
  int	so_nqueued;		/* Number of packets queued in a row
48 48
				 * Used to determine when to "downgrade" a session
49 49
					 * from fastq to batchq */
50
	
50

  
51 51
  struct sbuf so_rcv;		/* Receive buffer */
52 52
  struct sbuf so_snd;		/* Send buffer */
53 53
  void * extra;			/* Extra pointer */

Also available in: Unified diff