{"action":"created","comment":{"url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/comments/29027666","id":29027666,"diff_hunk":"@@ -0,0 +1,183 @@\n+/*\n+ * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997\n+ *\tThe Regents of the University of California.  All rights reserved.\n+ *\n+ * Redistribution and use in source and binary forms, with or without\n+ * modification, are permitted provided that: (1) source code distributions\n+ * retain the above copyright notice and this paragraph in its entirety, (2)\n+ * distributions including binary code include the above copyright notice and\n+ * this paragraph in its entirety in the documentation or other materials\n+ * provided with the distribution, and (3) all advertising materials mentioning\n+ * features or use of this software display the following acknowledgement:\n+ * ``This product includes software developed by the University of California,\n+ * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of\n+ * the University nor the names of its contributors may be used to endorse\n+ * or promote products derived from this software without specific prior\n+ * written permission.\n+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED\n+ * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF\n+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\n+ */\n+\n+#define NETDISSECT_REWORKED\n+#ifdef HAVE_CONFIG_H\n+#include \"config.h\"\n+#endif\n+\n+#include <tcpdump-stdinc.h>\n+\n+#include <string.h>\n+\n+#include \"interface.h\"\n+#include \"addrtoname.h\"\n+#include \"ether.h\"\n+#include \"ethertype.h\"\n+#include \"extract.h\"\t\t\t/* must come after interface.h */\n+\n+static const char tstr[] = \"[|DSA]\";\n+\n+/*\n+ * Extended Distributed Switch Archiecture.\n+ *\n+ * A Marvell propriatary header used for passing packets to/from\n+ * specific ports of a switch.\n+ *","path":"print-edsa.c","position":44,"original_position":44,"commit_id":"5f694fc14d060bf829c3db91515b031c7e09caf0","original_commit_id":"5f694fc14d060bf829c3db91515b031c7e09caf0","user":{"login":"fxlb","id":2846004,"avatar_url":"https://avatars.githubusercontent.com/u/2846004?v=3","gravatar_id":"","url":"https://api.github.com/users/fxlb","html_url":"https://github.com/fxlb","followers_url":"https://api.github.com/users/fxlb/followers","following_url":"https://api.github.com/users/fxlb/following{/other_user}","gists_url":"https://api.github.com/users/fxlb/gists{/gist_id}","starred_url":"https://api.github.com/users/fxlb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxlb/subscriptions","organizations_url":"https://api.github.com/users/fxlb/orgs","repos_url":"https://api.github.com/users/fxlb/repos","events_url":"https://api.github.com/users/fxlb/events{/privacy}","received_events_url":"https://api.github.com/users/fxlb/received_events","type":"User","site_admin":false},"body":"URL of EDSA specification ?","created_at":"2015-04-24T07:01:46Z","updated_at":"2015-04-24T07:01:46Z","html_url":"https://github.com/the-tcpdump-group/tcpdump/pull/453#discussion_r29027666","pull_request_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/453","_links":{"self":{"href":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/comments/29027666"},"html":{"href":"https://github.com/the-tcpdump-group/tcpdump/pull/453#discussion_r29027666"},"pull_request":{"href":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/453"}}},"pull_request":{"url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/453","id":33912913,"html_url":"https://github.com/the-tcpdump-group/tcpdump/pull/453","diff_url":"https://github.com/the-tcpdump-group/tcpdump/pull/453.diff","patch_url":"https://github.com/the-tcpdump-group/tcpdump/pull/453.patch","issue_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/issues/453","number":453,"state":"open","locked":false,"title":"Add support for the Marvell Extended Distributed Switch Architecture header","user":{"login":"lunn","id":1658412,"avatar_url":"https://avatars.githubusercontent.com/u/1658412?v=3","gravatar_id":"","url":"https://api.github.com/users/lunn","html_url":"https://github.com/lunn","followers_url":"https://api.github.com/users/lunn/followers","following_url":"https://api.github.com/users/lunn/following{/other_user}","gists_url":"https://api.github.com/users/lunn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunn/subscriptions","organizations_url":"https://api.github.com/users/lunn/orgs","repos_url":"https://api.github.com/users/lunn/repos","events_url":"https://api.github.com/users/lunn/events{/privacy}","received_events_url":"https://api.github.com/users/lunn/received_events","type":"User","site_admin":false},"body":"This header can be used with Marvell switches to direct packets in/out\r\nof a specific port in a tree of interconnected switches. The header\r\nuses its own Ethertype of 0xdada.\r\n\r\nBy default, only brief output is printed, showing the switch device,\r\nport, and vlan the packet is to/from. However if -e is given, to print\r\nthe link-level header, all fields are printed.","created_at":"2015-04-22T23:56:02Z","updated_at":"2015-04-24T07:01:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f61bf8497fae1a2f532ca3dfa427de612867861f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/453/commits","review_comments_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/453/comments","review_comment_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/comments{/number}","comments_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/issues/453/comments","statuses_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/statuses/5f694fc14d060bf829c3db91515b031c7e09caf0","head":{"label":"lunn:master","ref":"master","sha":"5f694fc14d060bf829c3db91515b031c7e09caf0","user":{"login":"lunn","id":1658412,"avatar_url":"https://avatars.githubusercontent.com/u/1658412?v=3","gravatar_id":"","url":"https://api.github.com/users/lunn","html_url":"https://github.com/lunn","followers_url":"https://api.github.com/users/lunn/followers","following_url":"https://api.github.com/users/lunn/following{/other_user}","gists_url":"https://api.github.com/users/lunn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunn/subscriptions","organizations_url":"https://api.github.com/users/lunn/orgs","repos_url":"https://api.github.com/users/lunn/repos","events_url":"https://api.github.com/users/lunn/events{/privacy}","received_events_url":"https://api.github.com/users/lunn/received_events","type":"User","site_admin":false},"repo":{"id":34222652,"name":"tcpdump","full_name":"lunn/tcpdump","owner":{"login":"lunn","id":1658412,"avatar_url":"https://avatars.githubusercontent.com/u/1658412?v=3","gravatar_id":"","url":"https://api.github.com/users/lunn","html_url":"https://github.com/lunn","followers_url":"https://api.github.com/users/lunn/followers","following_url":"https://api.github.com/users/lunn/following{/other_user}","gists_url":"https://api.github.com/users/lunn/gists{/gist_id}","starred_url":"https://api.github.com/users/lunn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunn/subscriptions","organizations_url":"https://api.github.com/users/lunn/orgs","repos_url":"https://api.github.com/users/lunn/repos","events_url":"https://api.github.com/users/lunn/events{/privacy}","received_events_url":"https://api.github.com/users/lunn/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lunn/tcpdump","description":"the TCPdump network dissector","fork":true,"url":"https://api.github.com/repos/lunn/tcpdump","forks_url":"https://api.github.com/repos/lunn/tcpdump/forks","keys_url":"https://api.github.com/repos/lunn/tcpdump/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lunn/tcpdump/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lunn/tcpdump/teams","hooks_url":"https://api.github.com/repos/lunn/tcpdump/hooks","issue_events_url":"https://api.github.com/repos/lunn/tcpdump/issues/events{/number}","events_url":"https://api.github.com/repos/lunn/tcpdump/events","assignees_url":"https://api.github.com/repos/lunn/tcpdump/assignees{/user}","branches_url":"https://api.github.com/repos/lunn/tcpdump/branches{/branch}","tags_url":"https://api.github.com/repos/lunn/tcpdump/tags","blobs_url":"https://api.github.com/repos/lunn/tcpdump/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lunn/tcpdump/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lunn/tcpdump/git/refs{/sha}","trees_url":"https://api.github.com/repos/lunn/tcpdump/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lunn/tcpdump/statuses/{sha}","languages_url":"https://api.github.com/repos/lunn/tcpdump/languages","stargazers_url":"https://api.github.com/repos/lunn/tcpdump/stargazers","contributors_url":"https://api.github.com/repos/lunn/tcpdump/contributors","subscribers_url":"https://api.github.com/repos/lunn/tcpdump/subscribers","subscription_url":"https://api.github.com/repos/lunn/tcpdump/subscription","commits_url":"https://api.github.com/repos/lunn/tcpdump/commits{/sha}","git_commits_url":"https://api.github.com/repos/lunn/tcpdump/git/commits{/sha}","comments_url":"https://api.github.com/repos/lunn/tcpdump/comments{/number}","issue_comment_url":"https://api.github.com/repos/lunn/tcpdump/issues/comments{/number}","contents_url":"https://api.github.com/repos/lunn/tcpdump/contents/{+path}","compare_url":"https://api.github.com/repos/lunn/tcpdump/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lunn/tcpdump/merges","archive_url":"https://api.github.com/repos/lunn/tcpdump/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lunn/tcpdump/downloads","issues_url":"https://api.github.com/repos/lunn/tcpdump/issues{/number}","pulls_url":"https://api.github.com/repos/lunn/tcpdump/pulls{/number}","milestones_url":"https://api.github.com/repos/lunn/tcpdump/milestones{/number}","notifications_url":"https://api.github.com/repos/lunn/tcpdump/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lunn/tcpdump/labels{/name}","releases_url":"https://api.github.com/repos/lunn/tcpdump/releases{/id}","created_at":"2015-04-19T20:13:32Z","updated_at":"2015-04-20T13:14:19Z","pushed_at":"2015-04-20T13:14:18Z","git_url":"git://github.com/lunn/tcpdump.git","ssh_url":"git@github.com:lunn/tcpdump.git","clone_url":"https://github.com/lunn/tcpdump.git","svn_url":"https://github.com/lunn/tcpdump","homepage":"http://www.tcpdump.org/","size":22833,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"the-tcpdump-group:master","ref":"master","sha":"7b2c5a11a7bc236d72b440c4db5263edb23b4880","user":{"login":"the-tcpdump-group","id":4154908,"avatar_url":"https://avatars.githubusercontent.com/u/4154908?v=3","gravatar_id":"","url":"https://api.github.com/users/the-tcpdump-group","html_url":"https://github.com/the-tcpdump-group","followers_url":"https://api.github.com/users/the-tcpdump-group/followers","following_url":"https://api.github.com/users/the-tcpdump-group/following{/other_user}","gists_url":"https://api.github.com/users/the-tcpdump-group/gists{/gist_id}","starred_url":"https://api.github.com/users/the-tcpdump-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-tcpdump-group/subscriptions","organizations_url":"https://api.github.com/users/the-tcpdump-group/orgs","repos_url":"https://api.github.com/users/the-tcpdump-group/repos","events_url":"https://api.github.com/users/the-tcpdump-group/events{/privacy}","received_events_url":"https://api.github.com/users/the-tcpdump-group/received_events","type":"Organization","site_admin":false},"repo":{"id":9435882,"name":"tcpdump","full_name":"the-tcpdump-group/tcpdump","owner":{"login":"the-tcpdump-group","id":4154908,"avatar_url":"https://avatars.githubusercontent.com/u/4154908?v=3","gravatar_id":"","url":"https://api.github.com/users/the-tcpdump-group","html_url":"https://github.com/the-tcpdump-group","followers_url":"https://api.github.com/users/the-tcpdump-group/followers","following_url":"https://api.github.com/users/the-tcpdump-group/following{/other_user}","gists_url":"https://api.github.com/users/the-tcpdump-group/gists{/gist_id}","starred_url":"https://api.github.com/users/the-tcpdump-group/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/the-tcpdump-group/subscriptions","organizations_url":"https://api.github.com/users/the-tcpdump-group/orgs","repos_url":"https://api.github.com/users/the-tcpdump-group/repos","events_url":"https://api.github.com/users/the-tcpdump-group/events{/privacy}","received_events_url":"https://api.github.com/users/the-tcpdump-group/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/the-tcpdump-group/tcpdump","description":"the TCPdump network dissector","fork":false,"url":"https://api.github.com/repos/the-tcpdump-group/tcpdump","forks_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/forks","keys_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/keys{/key_id}","collaborators_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/teams","hooks_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/hooks","issue_events_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/issues/events{/number}","events_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/events","assignees_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/assignees{/user}","branches_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/branches{/branch}","tags_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/tags","blobs_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/git/refs{/sha}","trees_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/git/trees{/sha}","statuses_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/statuses/{sha}","languages_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/languages","stargazers_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/stargazers","contributors_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/contributors","subscribers_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/subscribers","subscription_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/subscription","commits_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/commits{/sha}","git_commits_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/git/commits{/sha}","comments_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/comments{/number}","issue_comment_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/issues/comments{/number}","contents_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/contents/{+path}","compare_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/compare/{base}...{head}","merges_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/merges","archive_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/downloads","issues_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/issues{/number}","pulls_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls{/number}","milestones_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/milestones{/number}","notifications_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/labels{/name}","releases_url":"https://api.github.com/repos/the-tcpdump-group/tcpdump/releases{/id}","created_at":"2013-04-14T21:46:15Z","updated_at":"2015-04-23T15:00:32Z","pushed_at":"2015-04-22T23:56:03Z","git_url":"git://github.com/the-tcpdump-group/tcpdump.git","ssh_url":"git@github.com:the-tcpdump-group/tcpdump.git","clone_url":"https://github.com/the-tcpdump-group/tcpdump.git","svn_url":"https://github.com/the-tcpdump-group/tcpdump","homepage":"http://www.tcpdump.org/","size":22833,"stargazers_count":181,"watchers_count":181,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":151,"mirror_url":null,"open_issues_count":31,"forks":151,"open_issues":31,"watchers":181,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/453"},"html":{"href":"https://github.com/the-tcpdump-group/tcpdump/pull/453"},"issue":{"href":"https://api.github.com/repos/the-tcpdump-group/tcpdump/issues/453"},"comments":{"href":"https://api.github.com/repos/the-tcpdump-group/tcpdump/issues/453/comments"},"review_comments":{"href":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/453/comments"},"review_comment":{"href":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/the-tcpdump-group/tcpdump/pulls/453/commits"},"statuses":{"href":"https://api.github.com/repos/the-tcpdump-group/tcpdump/statuses/5f694fc14d060bf829c3db91515b031c7e09caf0"}}}}