#define SO_FIN 0x01
#define SO_SYN 0x02
#define SO_FORCE 0x08
#define SO_ACK 0x10
See: | Type struct udp_socket |
struct udp_socket | |
{ | |
UDPSOCKET* so_next; | |
u_short so_local_port; | |
NETBUF* so_rx_nb; | |
HANDLE so_rx_rdy; | |
u_short so_rx_cnt; | |
u_short so_rx_bsz; | |
} |
See: | Type struct tcp_socket |
struct tcp_socket | |
{ | |
TCPSOCKET* so_next; | |
void* so_device; | |
u_char so_devtype; | |
int (*so_devread)(TCPSOCKET*,void*,int); | |
int (*so_devwrite)(TCPSOCKET*,const void*,int); | |
int (*so_devwrite_P)(TCPSOCKET*,const prog_char*,int); | |
int (*so_devioctl)(TCPSOCKET*,int,void*); | |
u_short so_devocnt; | |
u_char* so_devobuf; | |
u_short so_devobsz; | |
volatile u_char so_state; | |
u_long so_local_addr; | |
u_short so_local_port; | |
u_long so_remote_addr; | |
u_short so_remote_port; | |
u_char so_tx_flags; | |
u_long so_tx_isn; | |
u_long so_tx_una; | |
u_long so_tx_nxt; | |
u_long so_tx_wl1; | |
u_long so_tx_wl2; | |
u_short so_tx_win; | |
u_char so_tx_dup; | |
NETBUF* so_tx_nbq; | |
HANDLE so_tx_tq; | |
u_long so_rx_isn; | |
u_long so_rx_nxt; | |
u_short so_rx_win; | |
u_short so_rx_cnt; | |
u_short so_rx_bsz; | |
u_short so_rd_cnt; | |
NETBUF* so_rx_buf; | |
HANDLE so_rx_tq; | |
NETBUF* so_rx_nbq; | |
u_short so_mss; | |
u_long so_rtt_seq; | |
u_short so_rtto; | |
u_short so_retransmits; | |
u_short so_time_wait; | |
u_short so_retran_time; | |
u_short so_last_error; | |
HANDLE so_pc_tq; | |
HANDLE so_ac_tq; | |
u_long so_read_to; | |
u_long so_write_to; | |
u_long so_oos_drop; | |
} |