Merge remote-tracking branch 'git.irl/master'
diff --git a/model/ccn_buf_decoder.cc b/model/ccn_buf_decoder.cc
index cee63ba..8c1c5f0 100644
--- a/model/ccn_buf_decoder.cc
+++ b/model/ccn_buf_decoder.cc
@@ -1,3 +1,23 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
+
/*
* ccn_buf_decoder.cc
* Abstraction
diff --git a/model/ccn_buf_encoder.cc b/model/ccn_buf_encoder.cc
index 34bd95d..d43f8e3 100644
--- a/model/ccn_buf_encoder.cc
+++ b/model/ccn_buf_encoder.cc
@@ -1,3 +1,23 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
+
/*
* ccn_buf_encoder.cc
* Abstraction
diff --git a/model/ccn_ccn.h b/model/ccn_ccn.h
index 319e546..6b0443c 100644
--- a/model/ccn_ccn.h
+++ b/model/ccn_ccn.h
@@ -1,3 +1,23 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
+
/*
* ccn_ccn.h
* Abstraction
diff --git a/model/ccn_charbuf.cc b/model/ccn_charbuf.cc
index 69273a3..f71b0a0 100644
--- a/model/ccn_charbuf.cc
+++ b/model/ccn_charbuf.cc
@@ -1,10 +1,21 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ccn_charbuf.cc
- * Abstraction
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya on 7/29/11.
- * Copyright 2011 __MyCompanyName__. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
#include "ccn_charbuf.h"
diff --git a/model/ccn_charbuf.h b/model/ccn_charbuf.h
index 1d7fbb7..1b2c61b 100644
--- a/model/ccn_charbuf.h
+++ b/model/ccn_charbuf.h
@@ -1,10 +1,21 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ccn_charbuf.h
- * Abstraction
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya on 7/29/11.
- * Copyright 2011 __MyCompanyName__. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
/**
diff --git a/model/ccn_coding.cc b/model/ccn_coding.cc
index cbb5345..e7a54e7 100644
--- a/model/ccn_coding.cc
+++ b/model/ccn_coding.cc
@@ -1,10 +1,21 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ccn_coding.cc
- * Abstraction
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya on 7/29/11.
- * Copyright 2011 __MyCompanyName__. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
#include "ccn_coding.h"
diff --git a/model/ccn_coding.h b/model/ccn_coding.h
index 808d5be..acf346c 100644
--- a/model/ccn_coding.h
+++ b/model/ccn_coding.h
@@ -1,10 +1,21 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ccn_coding.h
- * Abstraction
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya on 7/29/11.
- * Copyright 2011 __MyCompanyName__. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
/**
diff --git a/model/ccn_indexbuf.cc b/model/ccn_indexbuf.cc
index 3d04e13..a1cd87d 100644
--- a/model/ccn_indexbuf.cc
+++ b/model/ccn_indexbuf.cc
@@ -1,10 +1,21 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ccn_indexbuf.cc
- * Abstraction
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya on 7/29/11.
- * Copyright 2011 __MyCompanyName__. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
#include "ccn_indexbuf.h"
diff --git a/model/ccn_indexbuf.h b/model/ccn_indexbuf.h
index 369d466..9c9a8c9 100644
--- a/model/ccn_indexbuf.h
+++ b/model/ccn_indexbuf.h
@@ -1,10 +1,21 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ccn_indexbuf.h
- * Abstraction
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya on 7/29/11.
- * Copyright 2011 __MyCompanyName__. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
/**
diff --git a/model/ccn_name_util.cc b/model/ccn_name_util.cc
index 18a3040..87baa11 100644
--- a/model/ccn_name_util.cc
+++ b/model/ccn_name_util.cc
@@ -1,10 +1,21 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ccn_name_util.cc
- * Abstraction
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya on 7/29/11.
- * Copyright 2011 __MyCompanyName__. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
#include "ccn_name_util.h"
diff --git a/model/ccn_name_util.h b/model/ccn_name_util.h
index a22f266..95df0e3 100644
--- a/model/ccn_name_util.h
+++ b/model/ccn_name_util.h
@@ -1,9 +1,19 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ccn_name_util.h
- * Abstraction
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya on 7/29/11.
- * Copyright 2011 __MyCompanyName__. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
-
diff --git a/model/ccn_random.cc b/model/ccn_random.cc
index 10912e5..6e2dd0c 100644
--- a/model/ccn_random.cc
+++ b/model/ccn_random.cc
@@ -1,10 +1,21 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ccn_random.cc
- * Abstraction
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya on 7/29/11.
- * Copyright 2011 __MyCompanyName__. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
#include "ccn_random.h"
diff --git a/model/ccn_random.h b/model/ccn_random.h
index 5a576c0..0a8be4c 100644
--- a/model/ccn_random.h
+++ b/model/ccn_random.h
@@ -1,10 +1,21 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ccn_random.h
- * Abstraction
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya on 7/29/11.
- * Copyright 2011 __MyCompanyName__. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
/**
diff --git a/model/ndn_contentpacket.cc b/model/ndn_contentpacket.cc
index 2d71733..60b4963 100644
--- a/model/ndn_contentpacket.cc
+++ b/model/ndn_contentpacket.cc
@@ -1,9 +1,22 @@
-//
-// ndn_contentpacket.cpp
-// Abstraction
-//
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#include "ndn_contentpacket.h"
@@ -24,4 +37,4 @@
}
}
}
-}
\ No newline at end of file
+}
diff --git a/model/ndn_contentpacket.h b/model/ndn_contentpacket.h
index efd04bd..6e7a2e3 100644
--- a/model/ndn_contentpacket.h
+++ b/model/ndn_contentpacket.h
@@ -1,9 +1,22 @@
-//
-// ndn_contentpacket.h
-// Abstraction
-//
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#ifndef ndn_contentpacket_h
#define ndn_contentpacket_h
@@ -26,4 +39,4 @@
}
}
-#endif
\ No newline at end of file
+#endif
diff --git a/model/ndn_face.cc b/model/ndn_face.cc
index c540eeb..14abd6e 100644
--- a/model/ndn_face.cc
+++ b/model/ndn_face.cc
@@ -1,13 +1,26 @@
-//
-// ndn_face.cpp
-// Abstraction
-//
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#include "ndn_face.h"
namespace ns3
{
-}
\ No newline at end of file
+}
diff --git a/model/ndn_face.h b/model/ndn_face.h
index 4ea9c20..857d88f 100644
--- a/model/ndn_face.h
+++ b/model/ndn_face.h
@@ -1,9 +1,22 @@
-//
-// ndn_face.h
-// Abstraction
-//
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#ifndef ndn_face_h
#define ndn_face_h
@@ -26,4 +39,4 @@
}
-#endif
\ No newline at end of file
+#endif
diff --git a/model/ndn_interestpacket.cc b/model/ndn_interestpacket.cc
index fdda4cf..5c5fd39 100644
--- a/model/ndn_interestpacket.cc
+++ b/model/ndn_interestpacket.cc
@@ -1,9 +1,22 @@
-//
-// ndn_interestpacket.cc
-// Abstraction
-//
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#include "ndn_interestpacket.h"
@@ -67,4 +80,4 @@
RemoveHeader(tHeader);
}
}
-}
\ No newline at end of file
+}
diff --git a/model/ndn_interestpacket.h b/model/ndn_interestpacket.h
index 71a156a..0256132 100644
--- a/model/ndn_interestpacket.h
+++ b/model/ndn_interestpacket.h
@@ -1,9 +1,22 @@
-//
-// ndn_interestpacket.h
-// Abstraction
-//
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#ifndef ndn_interestpacket_h
#define ndn_interestpacket_h
@@ -41,4 +54,4 @@
}
}
-#endif
\ No newline at end of file
+#endif
diff --git a/model/ndn_namebuilder.cc b/model/ndn_namebuilder.cc
index 6bd8398..df22e62 100644
--- a/model/ndn_namebuilder.cc
+++ b/model/ndn_namebuilder.cc
@@ -1,10 +1,22 @@
-//
-// ndn_namebuilder.cpp
-// Abstraction
-//
-// Created by Ilya Moiseenko on 04.08.11.
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#include "ndn_namebuilder.h"
@@ -31,4 +43,4 @@
ccn_name_append_str(m_value,s.c_str());
}
}
-}
\ No newline at end of file
+}
diff --git a/model/ndn_namebuilder.h b/model/ndn_namebuilder.h
index b2bf088..b883414 100644
--- a/model/ndn_namebuilder.h
+++ b/model/ndn_namebuilder.h
@@ -1,10 +1,22 @@
-//
-// ndn_namebuilder.h
-// Abstraction
-//
-// Created by Ilya Moiseenko on 04.08.11.
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#include "ccn_ccn.h"
#include <string>
@@ -26,4 +38,4 @@
ccn_charbuf *m_value;
};
}
-}
\ No newline at end of file
+}
diff --git a/model/ndn_nonceheader.cc b/model/ndn_nonceheader.cc
index 7d26a7d..419b5ab 100644
--- a/model/ndn_nonceheader.cc
+++ b/model/ndn_nonceheader.cc
@@ -1,10 +1,22 @@
-//
-// ndn_nonceheader.cpp
-// Abstraction
-//
-// Created by Ilya Moiseenko on 04.08.11.
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#include "ndn_nonceheader.h"
@@ -76,4 +88,4 @@
return m_value;
}
}
-}
\ No newline at end of file
+}
diff --git a/model/ndn_nonceheader.h b/model/ndn_nonceheader.h
index f12abec..ff4b916 100644
--- a/model/ndn_nonceheader.h
+++ b/model/ndn_nonceheader.h
@@ -1,10 +1,22 @@
-//
-// ndn_nonceheader.h
-// Abstraction
-//
-// Created by Ilya Moiseenko on 04.08.11.
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#include "ns3/header.h"
#include <iostream>
@@ -33,4 +45,4 @@
uint32_t m_value;
};
}
-}
\ No newline at end of file
+}
diff --git a/model/ndn_timeoutheader.cc b/model/ndn_timeoutheader.cc
index 77afdec..1094a99 100644
--- a/model/ndn_timeoutheader.cc
+++ b/model/ndn_timeoutheader.cc
@@ -1,10 +1,22 @@
-//
-// ndn_timeoutheader.cpp
-// Abstraction
-//
-// Created by Ilya Moiseenko on 04.08.11.
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#include "ndn_timeoutheader.h"
@@ -75,4 +87,4 @@
return m_value;
}
}
-}
\ No newline at end of file
+}
diff --git a/model/ndn_timeoutheader.h b/model/ndn_timeoutheader.h
index ffa158b..32e492e 100644
--- a/model/ndn_timeoutheader.h
+++ b/model/ndn_timeoutheader.h
@@ -1,10 +1,22 @@
-//
-// ndn_timeoutheader.h
-// Abstraction
-//
-// Created by Ilya Moiseenko on 04.08.11.
-// Copyright 2011 UCLA. All rights reserved.
-//
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
+/*
+ * Copyright (c) 2011 University of California, Los Angeles
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
+ */
#include "ns3/header.h"
#include <iostream>
@@ -34,4 +46,4 @@
uint32_t m_value;
};
}
-}
\ No newline at end of file
+}
diff --git a/model/ndnabstraction-header.cc b/model/ndnabstraction-header.cc
index 9b0eecb..1b70e9b 100644
--- a/model/ndnabstraction-header.cc
+++ b/model/ndnabstraction-header.cc
@@ -1,11 +1,22 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ndnabstraction-header.c
- * XcodeProject
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya Moiseenko on 7/18/11.
- * Copyright 2011 University of California, Los Angeles. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
#include "ndnabstraction-header.h"
-#include "ns3/assert.h"
\ No newline at end of file
+#include "ns3/assert.h"
diff --git a/model/ndnabstraction-header.h b/model/ndnabstraction-header.h
index 53548a9..7d652ff 100644
--- a/model/ndnabstraction-header.h
+++ b/model/ndnabstraction-header.h
@@ -1,11 +1,23 @@
+/* -*- Mode: C++; c-file-style: "gnu"; indent-tabs-mode:nil; -*- */
/*
- * ndnabstraction-header.h
- * XcodeProject
+ * Copyright (c) 2011 University of California, Los Angeles
*
- * Created by Ilya Moiseenko on 7/18/11.
- * Copyright 2011 University of California, Los Angeles. All rights reserved.
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation;
*
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ *
+ * Author: Ilya Moiseenko <iliamo@cs.ucla.edu>
*/
+
#ifndef NDNABSTRACTION_HEADER_H
#define NDNABSTRACTION_HEADER_H
@@ -18,4 +30,4 @@
namespace ns3 {
}
-#endif
\ No newline at end of file
+#endif
diff --git a/wscript b/wscript
index 4f53779..1747f46 100644
--- a/wscript
+++ b/wscript
@@ -1,7 +1,7 @@
## -*- Mode: python; py-indent-offset: 4; indent-tabs-mode: nil; coding: utf-8; -*-
def build(bld):
- module = bld.create_ns3_module('NDNabstraction', ['internet', 'config-store', 'tools', 'point-to-point', 'wifi', 'mobility', 'applications', 'csma'])
+ module = bld.create_ns3_module('NDNabstraction', ['core', 'network'])
module.includes = '.'
module.source = [
'model/ndnabstraction-header.cc',