Lines Matching refs:pcb
89 - void tcp_arg(struct tcp_pcb *pcb, void *arg)
92 other callback functions. The "pcb" argument is the current TCP
108 available for creating the new pcb, NULL is returned.
110 - err_t tcp_bind(struct tcp_pcb *pcb, ip_addr_t *ipaddr,
113 Binds the pcb to a local IP address and port number. The IP address
120 - struct tcp_pcb *tcp_listen(struct tcp_pcb *pcb)
122 Commands a pcb to start listening for incoming connections. When an
124 tcp_accept() function will be called. The pcb will have to be bound
135 listening connection. If so, the memory associated with the pcb
138 - struct tcp_pcb *tcp_listen_with_backlog(struct tcp_pcb *pcb, u8_t backlog)
144 - void tcp_accepted(struct tcp_pcb *pcb)
150 ATTENTION: the PCB passed in must be the listening pcb, not the pcb passed
153 - void tcp_accept(struct tcp_pcb *pcb,
160 - err_t tcp_connect(struct tcp_pcb *pcb, ip_addr_t *ipaddr,
165 Sets up the pcb to connect to the remote host and sends the
174 callback function of this pcb (registered with tcp_err, see below)
189 - err_t tcp_write(struct tcp_pcb *pcb, const void *dataptr, u16_t len,
214 - void tcp_sent(struct tcp_pcb *pcb,
232 - void tcp_recv(struct tcp_pcb *pcb,
243 - void tcp_recved(struct tcp_pcb *pcb, u16_t len)
260 - void tcp_poll(struct tcp_pcb *pcb,
273 - err_t tcp_close(struct tcp_pcb *pcb)
281 The pcb is deallocated by the TCP code after a call to tcp_close().
283 - void tcp_abort(struct tcp_pcb *pcb)
286 host. The pcb is deallocated. This function never fails.
298 - void tcp_err(struct tcp_pcb *pcb, void (* err)(void *arg,
301 The error callback function does not get the pcb passed to it as a
302 parameter since the pcb may already have been deallocated.
323 Creates a new UDP pcb which can be used for UDP communication. The
324 pcb is not active until it has either been bound to a local address
327 - void udp_remove(struct udp_pcb *pcb)
329 Removes and deallocates the pcb.
331 - err_t udp_bind(struct udp_pcb *pcb, ip_addr_t *ipaddr,
334 Binds the pcb to a local address. The IP-address argument "ipaddr"
338 - err_t udp_connect(struct udp_pcb *pcb, ip_addr_t *ipaddr,
341 Sets the remote end of the pcb. This function does not generate any
342 network traffic, but only set the remote address of the pcb.
344 - err_t udp_disconnect(struct udp_pcb *pcb)
346 Remove the remote end of the pcb. This function does not generate
347 any network traffic, but only removes the remote address of the pcb.
349 - err_t udp_send(struct udp_pcb *pcb, struct pbuf *p)
353 - void udp_recv(struct udp_pcb *pcb,