diff --git a/src/core/raw.c b/src/core/raw.c index e024410e..efa21f90 100644 --- a/src/core/raw.c +++ b/src/core/raw.c @@ -271,7 +271,7 @@ raw_recv(struct raw_pcb *pcb, raw_recv_fn recv, void *recv_arg) * then.) * * @param pcb the raw pcb which to send - * @param p the IP payload to send. pbuf layer must be @ref PBUF_IP. + * @param p the IP payload to send * @param ipaddr the destination address of the IP packet * */ @@ -393,7 +393,7 @@ raw_sendto(struct raw_pcb *pcb, struct pbuf *p, const ip_addr_t *ipaddr) * Send the raw IP packet to the address given by raw_connect() * * @param pcb the raw pcb which to send - * @param p the IP payload to send. pbuf layer must be @ref PBUF_IP. + * @param p the IP payload to send * */ err_t diff --git a/src/core/udp.c b/src/core/udp.c index 050a9364..bb957faf 100644 --- a/src/core/udp.c +++ b/src/core/udp.c @@ -462,7 +462,7 @@ chkerr: * Send data using UDP. * * @param pcb UDP PCB used to send the data. - * @param p chain of pbuf's to be sent. pbuf layer must be @ref PBUF_TRANSPORT. + * @param p chain of pbuf's to be sent. * * The datagram will be sent to the current remote_ip & remote_port * stored in pcb. If the pcb is not bound to a port, it will @@ -511,7 +511,7 @@ udp_send_chksum(struct udp_pcb *pcb, struct pbuf *p, * Send data to a specified address using UDP. * * @param pcb UDP PCB used to send the data. - * @param p chain of pbuf's to be sent. pbuf layer must be @ref PBUF_TRANSPORT. + * @param p chain of pbuf's to be sent. * @param dst_ip Destination IP address. * @param dst_port Destination UDP port. * @@ -598,7 +598,7 @@ udp_sendto_chksum(struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *dst_ip, * on a netif that is still down. * * @param pcb UDP PCB used to send the data. - * @param p chain of pbuf's to be sent. pbuf layer must be @ref PBUF_TRANSPORT. + * @param p chain of pbuf's to be sent. * @param dst_ip Destination IP address. * @param dst_port Destination UDP port. * @param netif the netif used for sending.