debugnet_pcb
static struct debugnet_pcb *netgdb_conn;
struct debugnet_pcb *pcb;
static struct debugnet_pcb g_dnet_pcb;
debugnet_get_gw_mac(const struct debugnet_pcb *pcb)
debugnet_get_server_addr(const struct debugnet_pcb *pcb)
debugnet_get_server_port(const struct debugnet_pcb *pcb)
debugnet_udp_output(struct debugnet_pcb *pcb, struct mbuf *m)
debugnet_ack_output(struct debugnet_pcb *pcb, uint32_t seqno /* net endian */)
debugnet_send(struct debugnet_pcb *pcb, uint32_t type, const void *data,
debugnet_handle_rx_msg(struct debugnet_pcb *pcb, struct mbuf **mb)
debugnet_handle_ack(struct debugnet_pcb *pcb, struct mbuf **mb, uint16_t sport)
debugnet_handle_udp(struct debugnet_pcb *pcb, struct mbuf **mb)
debugnet_network_poll(struct debugnet_pcb *pcb)
debugnet_free(struct debugnet_pcb *pcb)
struct debugnet_pcb **pcb_out)
struct debugnet_pcb *pcb;
*pcb = (struct debugnet_pcb) {
struct debugnet_pcb **pcb_out);
void debugnet_free(struct debugnet_pcb *);
int debugnet_send(struct debugnet_pcb *, uint32_t mhtype, const void *data,
debugnet_sendempty(struct debugnet_pcb *pcb, uint32_t mhtype)
int debugnet_ack_output(struct debugnet_pcb *, uint32_t seqno /*net endian*/);
void debugnet_network_poll(struct debugnet_pcb *);
const unsigned char *debugnet_get_gw_mac(const struct debugnet_pcb *);
const in_addr_t *debugnet_get_server_addr(const struct debugnet_pcb *);
const uint16_t debugnet_get_server_port(const struct debugnet_pcb *);
struct debugnet_pcb; /* opaque */
debugnet_send_arp(struct debugnet_pcb *pcb, in_addr_t dst)
debugnet_handle_arp(struct debugnet_pcb *pcb, struct mbuf **mb)
debugnet_arp_gw(struct debugnet_pcb *pcb)
debugnet_ip_output(struct debugnet_pcb *pcb, struct mbuf *m)
debugnet_handle_ip(struct debugnet_pcb *pcb, struct mbuf **mb)
CTASSERT(sizeof(((struct debugnet_pcb *)0)->dp_rcvd_acks) * NBBY >=
void debugnet_handle_udp(struct debugnet_pcb *, struct mbuf **);
int debugnet_arp_gw(struct debugnet_pcb *);
void debugnet_handle_arp(struct debugnet_pcb *, struct mbuf **);
void debugnet_handle_ip(struct debugnet_pcb *, struct mbuf **);
int debugnet_ip_output(struct debugnet_pcb *, struct mbuf *);
struct debugnet_pcb *nd_pcb;
struct debugnet_pcb *pcb;