{"action":"created","comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/22770003","id":22770003,"diff_hunk":"@@ -0,0 +1,698 @@\n+/*\n+ * Copyright (C) 2014 Freie Universität Berlin\n+ *\n+ * This file is subject to the terms and conditions of the GNU Lesser\n+ * General Public License v2.1. See the file LICENSE in the top level\n+ * directory for more details.\n+ */\n+\n+/**\n+ * @ingroup     nhdp\n+ * @{\n+ *\n+ * @file\n+ * @brief       Interface Information Base implementation for NHDP\n+ *\n+ * @author      Fabian Nack <nack@inf.fu-berlin.de>\n+ *\n+ * @}\n+ */\n+\n+#include \"mutex.h\"\n+#include \"timex.h\"\n+#include \"vtimer.h\"\n+#include \"utlist.h\"\n+#include \"kernel_types.h\"\n+\n+#include \"rfc5444/rfc5444_iana.h\"\n+#include \"rfc5444/rfc5444_writer.h\"\n+\n+#include \"iib_table.h\"\n+#include \"nhdp_address.h\"\n+#include \"nhdp_writer.h\"\n+\n+/* Internal variables */\n+static mutex_t mtx_iib_access = MUTEX_INIT;\n+static iib_base_entry_t *iib_base_entry_head = NULL;\n+\n+/* Internal function prototypes */\n+static void rem_link_set_entry(iib_base_entry_t *base_entry, iib_link_set_entry_t *ls_entry);\n+static void cleanup_link_sets(nhdp_addr_entry_t *rem_list);\n+static iib_link_set_entry_t* add_default_link_set_entry(iib_base_entry_t *base_entry, timex_t *now,\n+        uint64_t val_time);\n+static void reset_link_set_entry(iib_link_set_entry_t *ls_entry, timex_t *now, uint64_t val_time);\n+static iib_link_set_entry_t* update_link_set(iib_base_entry_t *base_entry, nib_entry_t *nb_elt,\n+        nhdp_addr_entry_t *send_list, timex_t *now, uint64_t val_time, uint8_t sym, uint8_t lost);\n+static void release_link_tuple_addresses(iib_link_set_entry_t *ls_entry);\n+\n+static int update_two_hop_set(iib_base_entry_t *base_entry, iib_link_set_entry_t *ls_entry,\n+        nhdp_addr_entry_t *th_sym_list, nhdp_addr_entry_t *th_rem_list,\n+        timex_t *now, uint64_t val_time);\n+static uint8_t rem_exst_th_entries(iib_base_entry_t *base_entry,\n+        iib_two_hop_set_entry_t *ts_elt, nhdp_addr_entry_t *th_sym_list);\n+static uint8_t rem_non_sym_th_entries(iib_base_entry_t *base_entry,\n+        iib_two_hop_set_entry_t *ts_elt, nhdp_addr_entry_t *th_rem_list);\n+static int add_two_hop_entry(iib_base_entry_t *base_entry, iib_link_set_entry_t *ls_entry,\n+        nhdp_addr_t *th_addr, timex_t *now, uint64_t val_time);\n+static void rem_two_hop_entry(iib_base_entry_t *base_entry, iib_two_hop_set_entry_t *th_entry);\n+\n+static void wr_update_ls_status(iib_base_entry_t *base_entry,\n+        iib_link_set_entry_t *ls_elt, timex_t *now);\n+static void sec_thirteen_one(iib_link_set_entry_t *ls_entry);\n+static void sec_thirteen_two(iib_base_entry_t *base_entry,\n+        iib_link_set_entry_t *ls_entry, timex_t *now);\n+static void sec_thirteen_three(iib_link_set_entry_t *ls_entry, timex_t *now);\n+\n+static timex_t get_max_timex(timex_t time_one, timex_t time_two);\n+static iib_link_tuple_status_t get_tuple_status(iib_link_set_entry_t *ls_entry, timex_t *now);\n+\n+\n+/*---------------------------------------------------------------------------*\n+ *                       Interface Information Base API                      *\n+ *---------------------------------------------------------------------------*/\n+\n+int iib_register_if(kernel_pid_t pid)\n+{\n+    iib_base_entry_t *new_entry = (iib_base_entry_t*) malloc(sizeof(iib_base_entry_t));\n+    if (!new_entry) {\n+        /* Insufficient memory */\n+        return -1;\n+    }\n+    new_entry->if_pid = pid;\n+    new_entry->link_set_head = NULL;\n+    new_entry->two_hop_set_head = NULL;\n+    LL_PREPEND(iib_base_entry_head, new_entry);\n+\n+    return 0;\n+}\n+\n+int iib_process_hello(kernel_pid_t if_pid, nib_entry_t *nb_elt, nhdp_addr_entry_t *send_list,\n+        nhdp_addr_entry_t *th_sym_list, nhdp_addr_entry_t *th_rem_list,\n+        nhdp_addr_entry_t *rem_list, uint64_t validity_time, uint8_t is_sym_nb, uint8_t is_lost)\n+{\n+    iib_base_entry_t *base_elt;\n+    iib_link_set_entry_t *ls_entry;\n+    timex_t now;\n+\n+    mutex_lock(&mtx_iib_access);\n+\n+    vtimer_now(&now);\n+\n+    /* Remove link tuple addresses that are included in the Removed Addr List */\n+    cleanup_link_sets(rem_list);\n+\n+    LL_FOREACH(iib_base_entry_head, base_elt) {\n+        /* Find the link set and two hop set for the interface */\n+        if (base_elt->if_pid == if_pid) {\n+            break;\n+        }\n+    }\n+\n+    if (base_elt) {\n+        /* Create a new link tuple for the neighbor that originated the hello */\n+        ls_entry = update_link_set(base_elt, nb_elt, send_list, &now, validity_time,\n+                is_sym_nb, is_lost);\n+\n+        /* Create new two hop tuples for signaled symmetric neighbors */\n+        if (ls_entry) {\n+            update_two_hop_set(base_elt, ls_entry, th_sym_list, th_rem_list, &now, validity_time);\n+        }\n+    }\n+\n+    mutex_unlock(&mtx_iib_access);\n+\n+    return 0;\n+}\n+\n+void iib_fill_wr_addresses(kernel_pid_t if_pid, struct rfc5444_writer *wr)\n+{\n+    iib_base_entry_t *base_elt;\n+    iib_link_set_entry_t *ls_elt;\n+    nhdp_addr_entry_t *addr_elt;\n+    timex_t now;\n+\n+    mutex_lock(&mtx_iib_access);\n+\n+    vtimer_now(&now);\n+\n+    /* Before adding addresses first update the status of all link tuples */\n+    iib_update_lt_status(&now);\n+\n+    /* Add all addresses of Link Tuples of the given interface's Link Set to the current HELLO */\n+    LL_FOREACH(iib_base_entry_head, base_elt) {\n+        if (base_elt->if_pid == if_pid) {\n+            LL_FOREACH(base_elt->link_set_head, ls_elt) {\n+                if (ls_elt->last_status != IIB_LT_STATUS_PENDING) {\n+                    /* Exclude addresses from tuples with L_STATUS = PENDING */\n+                    LL_FOREACH(ls_elt->address_list_head, addr_elt) {\n+                        if (!NHDP_ADDR_TMP_IN_ANY(addr_elt->address)) {\n+                            /* Add address to the writers next packet */\n+                            switch(ls_elt->last_status) {\n+                                case IIB_LT_STATUS_SYM:\n+                                    nhdp_writer_add_addr(wr, addr_elt->address,\n+                                            RFC5444_ADDRTLV_LINK_STATUS,\n+                                            RFC5444_LINKSTATUS_SYMMETRIC);\n+                                    addr_elt->address->in_tmp_table = NHDP_ADDR_TMP_SYM;\n+                                    break;\n+                                case IIB_LT_STATUS_HEARD:\n+                                    nhdp_writer_add_addr(wr, addr_elt->address,\n+                                            RFC5444_ADDRTLV_LINK_STATUS,\n+                                            RFC5444_LINKSTATUS_HEARD);\n+                                    addr_elt->address->in_tmp_table = NHDP_ADDR_TMP_ANY;\n+                                    break;\n+                                case IIB_LT_STATUS_UNKNOWN:\n+                                    /* Fall through */\n+                                case IIB_LT_STATUS_LOST:\n+                                    nhdp_writer_add_addr(wr, addr_elt->address,\n+                                            RFC5444_ADDRTLV_LINK_STATUS,\n+                                            RFC5444_LINKSTATUS_LOST);\n+                                    addr_elt->address->in_tmp_table = NHDP_ADDR_TMP_ANY;\n+                                    break;\n+                                case IIB_LT_STATUS_PENDING:\n+                                    /* FALL THROUGH */\n+                                default:\n+                                    /* Should not happen */\n+                                    break;","path":"sys/net/routing/nhdp/iib_table.c","position":175,"original_position":175,"commit_id":"3beca9d456cc7e09b48847736e6e5a4a7496cca3","original_commit_id":"3beca9d456cc7e09b48847736e6e5a4a7496cca3","user":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"body":"Maybe a `DEBUGF()` would be helpful for this error case.","created_at":"2015-01-11T20:54:37Z","updated_at":"2015-01-11T20:54:37Z","html_url":"https://github.com/RIOT-OS/RIOT/pull/2159#discussion_r22770003","pull_request_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2159","_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/22770003"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/2159#discussion_r22770003"},"pull_request":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2159"}}},"pull_request":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2159","id":25658965,"html_url":"https://github.com/RIOT-OS/RIOT/pull/2159","diff_url":"https://github.com/RIOT-OS/RIOT/pull/2159.diff","patch_url":"https://github.com/RIOT-OS/RIOT/pull/2159.patch","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2159","number":2159,"state":"open","locked":false,"title":"sys/net: Add NHDP protocol implementation","user":{"login":"fnack","id":830814,"avatar_url":"https://avatars.githubusercontent.com/u/830814?v=3","gravatar_id":"","url":"https://api.github.com/users/fnack","html_url":"https://github.com/fnack","followers_url":"https://api.github.com/users/fnack/followers","following_url":"https://api.github.com/users/fnack/following{/other_user}","gists_url":"https://api.github.com/users/fnack/gists{/gist_id}","starred_url":"https://api.github.com/users/fnack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnack/subscriptions","organizations_url":"https://api.github.com/users/fnack/orgs","repos_url":"https://api.github.com/users/fnack/repos","events_url":"https://api.github.com/users/fnack/events{/privacy}","received_events_url":"https://api.github.com/users/fnack/received_events","type":"User","site_admin":false},"body":"This PR introduces the MANET Neighborhood Discovery Protocol specified in [RFC 6130](https://tools.ietf.org/html/rfc6130). The implementation is based on oonf_api and utlist. It introduces a single thread for protocol message sending and receiving.\r\n\r\nIt is still work in progress in some parts and needs thoroughly testing. TODOs include:\r\n- [x] Cleanup timed out information base entries\r\n- [ ] Optimize list loops\r\n- [ ] Provide a simple example application\r\n- [x] Add proper documentation","created_at":"2014-12-08T11:06:02Z","updated_at":"2015-01-11T20:54:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0dd4c23497a1464e6fa4bd2478176d8ac7ab55be","assignee":{"login":"OlegHahm","id":1590423,"avatar_url":"https://avatars.githubusercontent.com/u/1590423?v=3","gravatar_id":"","url":"https://api.github.com/users/OlegHahm","html_url":"https://github.com/OlegHahm","followers_url":"https://api.github.com/users/OlegHahm/followers","following_url":"https://api.github.com/users/OlegHahm/following{/other_user}","gists_url":"https://api.github.com/users/OlegHahm/gists{/gist_id}","starred_url":"https://api.github.com/users/OlegHahm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OlegHahm/subscriptions","organizations_url":"https://api.github.com/users/OlegHahm/orgs","repos_url":"https://api.github.com/users/OlegHahm/repos","events_url":"https://api.github.com/users/OlegHahm/events{/privacy}","received_events_url":"https://api.github.com/users/OlegHahm/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2159/commits","review_comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2159/comments","review_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/{number}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2159/comments","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/3beca9d456cc7e09b48847736e6e5a4a7496cca3","head":{"label":"fnack:nhdp_prot","ref":"nhdp_prot","sha":"3beca9d456cc7e09b48847736e6e5a4a7496cca3","user":{"login":"fnack","id":830814,"avatar_url":"https://avatars.githubusercontent.com/u/830814?v=3","gravatar_id":"","url":"https://api.github.com/users/fnack","html_url":"https://github.com/fnack","followers_url":"https://api.github.com/users/fnack/followers","following_url":"https://api.github.com/users/fnack/following{/other_user}","gists_url":"https://api.github.com/users/fnack/gists{/gist_id}","starred_url":"https://api.github.com/users/fnack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnack/subscriptions","organizations_url":"https://api.github.com/users/fnack/orgs","repos_url":"https://api.github.com/users/fnack/repos","events_url":"https://api.github.com/users/fnack/events{/privacy}","received_events_url":"https://api.github.com/users/fnack/received_events","type":"User","site_admin":false},"repo":{"id":21584728,"name":"RIOT","full_name":"fnack/RIOT","owner":{"login":"fnack","id":830814,"avatar_url":"https://avatars.githubusercontent.com/u/830814?v=3","gravatar_id":"","url":"https://api.github.com/users/fnack","html_url":"https://github.com/fnack","followers_url":"https://api.github.com/users/fnack/followers","following_url":"https://api.github.com/users/fnack/following{/other_user}","gists_url":"https://api.github.com/users/fnack/gists{/gist_id}","starred_url":"https://api.github.com/users/fnack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fnack/subscriptions","organizations_url":"https://api.github.com/users/fnack/orgs","repos_url":"https://api.github.com/users/fnack/repos","events_url":"https://api.github.com/users/fnack/events{/privacy}","received_events_url":"https://api.github.com/users/fnack/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fnack/RIOT","description":"RIOT -  The friendly OS for IoT","fork":true,"url":"https://api.github.com/repos/fnack/RIOT","forks_url":"https://api.github.com/repos/fnack/RIOT/forks","keys_url":"https://api.github.com/repos/fnack/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fnack/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fnack/RIOT/teams","hooks_url":"https://api.github.com/repos/fnack/RIOT/hooks","issue_events_url":"https://api.github.com/repos/fnack/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/fnack/RIOT/events","assignees_url":"https://api.github.com/repos/fnack/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/fnack/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/fnack/RIOT/tags","blobs_url":"https://api.github.com/repos/fnack/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fnack/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fnack/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/fnack/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fnack/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/fnack/RIOT/languages","stargazers_url":"https://api.github.com/repos/fnack/RIOT/stargazers","contributors_url":"https://api.github.com/repos/fnack/RIOT/contributors","subscribers_url":"https://api.github.com/repos/fnack/RIOT/subscribers","subscription_url":"https://api.github.com/repos/fnack/RIOT/subscription","commits_url":"https://api.github.com/repos/fnack/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/fnack/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/fnack/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/fnack/RIOT/issues/comments/{number}","contents_url":"https://api.github.com/repos/fnack/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/fnack/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fnack/RIOT/merges","archive_url":"https://api.github.com/repos/fnack/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fnack/RIOT/downloads","issues_url":"https://api.github.com/repos/fnack/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/fnack/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/fnack/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/fnack/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fnack/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/fnack/RIOT/releases{/id}","created_at":"2014-07-07T20:00:48Z","updated_at":"2015-01-09T00:24:11Z","pushed_at":"2015-01-10T13:19:41Z","git_url":"git://github.com/fnack/RIOT.git","ssh_url":"git@github.com:fnack/RIOT.git","clone_url":"https://github.com/fnack/RIOT.git","svn_url":"https://github.com/fnack/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":14494,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RIOT-OS:master","ref":"master","sha":"77eab0c1ae1f92564996ffbf88d90ba9b1b5249d","user":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"repo":{"id":7370241,"name":"RIOT","full_name":"RIOT-OS/RIOT","owner":{"login":"RIOT-OS","id":3079480,"avatar_url":"https://avatars.githubusercontent.com/u/3079480?v=3","gravatar_id":"","url":"https://api.github.com/users/RIOT-OS","html_url":"https://github.com/RIOT-OS","followers_url":"https://api.github.com/users/RIOT-OS/followers","following_url":"https://api.github.com/users/RIOT-OS/following{/other_user}","gists_url":"https://api.github.com/users/RIOT-OS/gists{/gist_id}","starred_url":"https://api.github.com/users/RIOT-OS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RIOT-OS/subscriptions","organizations_url":"https://api.github.com/users/RIOT-OS/orgs","repos_url":"https://api.github.com/users/RIOT-OS/repos","events_url":"https://api.github.com/users/RIOT-OS/events{/privacy}","received_events_url":"https://api.github.com/users/RIOT-OS/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RIOT-OS/RIOT","description":"RIOT -  The friendly OS for IoT","fork":false,"url":"https://api.github.com/repos/RIOT-OS/RIOT","forks_url":"https://api.github.com/repos/RIOT-OS/RIOT/forks","keys_url":"https://api.github.com/repos/RIOT-OS/RIOT/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RIOT-OS/RIOT/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RIOT-OS/RIOT/teams","hooks_url":"https://api.github.com/repos/RIOT-OS/RIOT/hooks","issue_events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/events{/number}","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/events","assignees_url":"https://api.github.com/repos/RIOT-OS/RIOT/assignees{/user}","branches_url":"https://api.github.com/repos/RIOT-OS/RIOT/branches{/branch}","tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/tags","blobs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/refs{/sha}","trees_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/{sha}","languages_url":"https://api.github.com/repos/RIOT-OS/RIOT/languages","stargazers_url":"https://api.github.com/repos/RIOT-OS/RIOT/stargazers","contributors_url":"https://api.github.com/repos/RIOT-OS/RIOT/contributors","subscribers_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscribers","subscription_url":"https://api.github.com/repos/RIOT-OS/RIOT/subscription","commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/commits{/sha}","git_commits_url":"https://api.github.com/repos/RIOT-OS/RIOT/git/commits{/sha}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/comments{/number}","issue_comment_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/{number}","contents_url":"https://api.github.com/repos/RIOT-OS/RIOT/contents/{+path}","compare_url":"https://api.github.com/repos/RIOT-OS/RIOT/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RIOT-OS/RIOT/merges","archive_url":"https://api.github.com/repos/RIOT-OS/RIOT/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RIOT-OS/RIOT/downloads","issues_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues{/number}","pulls_url":"https://api.github.com/repos/RIOT-OS/RIOT/pulls{/number}","milestones_url":"https://api.github.com/repos/RIOT-OS/RIOT/milestones{/number}","notifications_url":"https://api.github.com/repos/RIOT-OS/RIOT/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/labels{/name}","releases_url":"https://api.github.com/repos/RIOT-OS/RIOT/releases{/id}","created_at":"2012-12-29T20:38:40Z","updated_at":"2015-01-09T10:46:08Z","pushed_at":"2015-01-09T10:46:08Z","git_url":"git://github.com/RIOT-OS/RIOT.git","ssh_url":"git@github.com:RIOT-OS/RIOT.git","clone_url":"https://github.com/RIOT-OS/RIOT.git","svn_url":"https://github.com/RIOT-OS/RIOT","homepage":"https://github.com/RIOT-OS/RIOT/wiki","size":79502,"stargazers_count":226,"watchers_count":226,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":192,"mirror_url":null,"open_issues_count":252,"forks":192,"open_issues":252,"watchers":226,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2159"},"html":{"href":"https://github.com/RIOT-OS/RIOT/pull/2159"},"issue":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2159"},"comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/issues/2159/comments"},"review_comments":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2159/comments"},"review_comment":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/pulls/2159/commits"},"statuses":{"href":"https://api.github.com/repos/RIOT-OS/RIOT/statuses/3beca9d456cc7e09b48847736e6e5a4a7496cca3"}}}}