udp_attach(struct socket *so)

{

  if((so->s = socket(AF_INET,SOCK_DGRAM,0)) != -1) {

    so->so_expire = curtime + SO_EXPIRE;

    insque(so, &so->slirp->udb);

  }

  return(so->s);

}

udp_attach(struct socket *so)

{

  if((so->s = socket(AF_INET,SOCK_DGRAM,0)) != -1) {

    so->so_expire = curtime + SO_EXPIRE;

    insque(so, &so->slirp->udb);

  }

  return(so->s);

}

  if((so->s = socket(AF_INET,SOCK_DGRAM,0)) != -1) {
FUNC_0(struct socket *VAR_0)

{

  if((VAR_0->s = socket(AF_INET,SOCK_DGRAM,0)) != -1) {

    VAR_0->so_expire = curtime + SO_EXPIRE;

    insque(VAR_0, &VAR_0->slirp->udb);

  }

  return(VAR_0->s);

}

FUNC_0(struct socket *VAR_0)
{ if((VAR_0->s = socket(AF_INET,SOCK_DGRAM,0)) != -1) { VAR_0->so_expire = curtime + SO_EXPIRE; insque(VAR_0, &VAR_0->slirp->udb); } return(VAR_0->s); }