/[lwip]/lwip/src/core/udp.c
ViewVC logotype

Diff of /lwip/src/core/udp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.44.2.1 by likewise, Thu Jun 19 10:33:58 2003 UTC revision 1.44.2.2 by marcbou, Fri Jun 27 19:45:19 2003 UTC
# Line 474  udp_bind(struct udp_pcb *pcb, struct ip_ Line 474  udp_bind(struct udp_pcb *pcb, struct ip_
474     listening to broadcast or multicast traffic (See SO_REUSE_ADDR and     listening to broadcast or multicast traffic (See SO_REUSE_ADDR and
475     SO_REUSE_PORT under *BSD). TODO: See where it fits instead, OR     SO_REUSE_PORT under *BSD). TODO: See where it fits instead, OR
476     combine with implementation of UDP PCB flags. Leon Woestenberg. */     combine with implementation of UDP PCB flags. Leon Woestenberg. */
477  #if 0  #ifdef LWIP_UDP_TODO
478      /* port matches that of PCB in list? */      /* port matches that of PCB in list? */
479      else if ((ipcb->local_port == port) &&      else if ((ipcb->local_port == port) &&
480         /* IP address matches, or one is IP_ADDR_ANY? */         /* IP address matches, or one is IP_ADDR_ANY? */
# Line 552  udp_connect(struct udp_pcb *pcb, struct Line 552  udp_connect(struct udp_pcb *pcb, struct
552    pcb->remote_port = port;    pcb->remote_port = port;
553    pcb->flags |= UDP_FLAGS_CONNECTED;    pcb->flags |= UDP_FLAGS_CONNECTED;
554  /** TODO: this functionality belongs in upper layers */  /** TODO: this functionality belongs in upper layers */
555  #if 0  #ifdef LWIP_UDP_TODO
556    /* Nail down local IP for netconn_addr()/getsockname() */    /* Nail down local IP for netconn_addr()/getsockname() */
557    if (ip_addr_isany(&pcb->local_ip) && !ip_addr_isany(&pcb->remote_ip)) {    if (ip_addr_isany(&pcb->local_ip) && !ip_addr_isany(&pcb->remote_ip)) {
558      struct netif *netif;      struct netif *netif;

Legend:
Removed from v.1.44.2.1  
changed lines
  Added in v.1.44.2.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26