{"action":"created","comment":{"url":"https://api.github.com/repos/p4lang/switch/pulls/comments/78113436","id":78113436,"diff_hunk":"@@ -73,9 +73,15 @@ typedef struct __attribute__((__packed__)) switch_cpu_header_ {\n   uint16_t reason_code;\n } switch_cpu_header_t;\n \n+typedef struct __attribute__((__packed__)) switch_sflow_header_ {\n+    uint16_t sflow_session_id;\n+    uint16_t sflow_egress_ifindex;\n+} switch_sflow_header_t;\n+\n typedef struct __attribute__((__packed__)) switch_packet_header_ {\n   switch_fabric_header_t fabric_header;\n   switch_cpu_header_t cpu_header;\n+  switch_sflow_header_t sflow_header;","path":"switchapi/src/switch_hostif_int.h","position":null,"original_position":12,"commit_id":"00eb9d7eebe623a13608f0358a791c354aaeac60","original_commit_id":"60aafb23becc32a08d4cdf9501669ba5bf43d1e7","user":{"login":"srikrishnagopu","id":8963758,"avatar_url":"https://avatars.githubusercontent.com/u/8963758?v=3","gravatar_id":"","url":"https://api.github.com/users/srikrishnagopu","html_url":"https://github.com/srikrishnagopu","followers_url":"https://api.github.com/users/srikrishnagopu/followers","following_url":"https://api.github.com/users/srikrishnagopu/following{/other_user}","gists_url":"https://api.github.com/users/srikrishnagopu/gists{/gist_id}","starred_url":"https://api.github.com/users/srikrishnagopu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srikrishnagopu/subscriptions","organizations_url":"https://api.github.com/users/srikrishnagopu/orgs","repos_url":"https://api.github.com/users/srikrishnagopu/repos","events_url":"https://api.github.com/users/srikrishnagopu/events{/privacy}","received_events_url":"https://api.github.com/users/srikrishnagopu/received_events","type":"User","site_admin":false},"body":"done.","created_at":"2016-09-09T00:36:27Z","updated_at":"2016-09-09T00:36:27Z","html_url":"https://github.com/p4lang/switch/pull/62#discussion_r78113436","pull_request_url":"https://api.github.com/repos/p4lang/switch/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/p4lang/switch/pulls/comments/78113436"},"html":{"href":"https://github.com/p4lang/switch/pull/62#discussion_r78113436"},"pull_request":{"href":"https://api.github.com/repos/p4lang/switch/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/p4lang/switch/pulls/62","id":84224604,"html_url":"https://github.com/p4lang/switch/pull/62","diff_url":"https://github.com/p4lang/switch/pull/62.diff","patch_url":"https://github.com/p4lang/switch/pull/62.patch","issue_url":"https://api.github.com/repos/p4lang/switch/issues/62","number":62,"state":"open","locked":false,"title":"Ops qos nat copp","user":{"login":"srikrishnagopu","id":8963758,"avatar_url":"https://avatars.githubusercontent.com/u/8963758?v=3","gravatar_id":"","url":"https://api.github.com/users/srikrishnagopu","html_url":"https://github.com/srikrishnagopu","followers_url":"https://api.github.com/users/srikrishnagopu/followers","following_url":"https://api.github.com/users/srikrishnagopu/following{/other_user}","gists_url":"https://api.github.com/users/srikrishnagopu/gists{/gist_id}","starred_url":"https://api.github.com/users/srikrishnagopu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/srikrishnagopu/subscriptions","organizations_url":"https://api.github.com/users/srikrishnagopu/orgs","repos_url":"https://api.github.com/users/srikrishnagopu/repos","events_url":"https://api.github.com/users/srikrishnagopu/events{/privacy}","received_events_url":"https://api.github.com/users/srikrishnagopu/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-07T01:48:07Z","updated_at":"2016-09-09T00:36:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4f7794f0cb7b65b8394249d347ee139c135c2137","assignee":{"login":"pbhide","id":11168134,"avatar_url":"https://avatars.githubusercontent.com/u/11168134?v=3","gravatar_id":"","url":"https://api.github.com/users/pbhide","html_url":"https://github.com/pbhide","followers_url":"https://api.github.com/users/pbhide/followers","following_url":"https://api.github.com/users/pbhide/following{/other_user}","gists_url":"https://api.github.com/users/pbhide/gists{/gist_id}","starred_url":"https://api.github.com/users/pbhide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbhide/subscriptions","organizations_url":"https://api.github.com/users/pbhide/orgs","repos_url":"https://api.github.com/users/pbhide/repos","events_url":"https://api.github.com/users/pbhide/events{/privacy}","received_events_url":"https://api.github.com/users/pbhide/received_events","type":"User","site_admin":false},"assignees":[{"login":"pbhide","id":11168134,"avatar_url":"https://avatars.githubusercontent.com/u/11168134?v=3","gravatar_id":"","url":"https://api.github.com/users/pbhide","html_url":"https://github.com/pbhide","followers_url":"https://api.github.com/users/pbhide/followers","following_url":"https://api.github.com/users/pbhide/following{/other_user}","gists_url":"https://api.github.com/users/pbhide/gists{/gist_id}","starred_url":"https://api.github.com/users/pbhide/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbhide/subscriptions","organizations_url":"https://api.github.com/users/pbhide/orgs","repos_url":"https://api.github.com/users/pbhide/repos","events_url":"https://api.github.com/users/pbhide/events{/privacy}","received_events_url":"https://api.github.com/users/pbhide/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/p4lang/switch/pulls/62/commits","review_comments_url":"https://api.github.com/repos/p4lang/switch/pulls/62/comments","review_comment_url":"https://api.github.com/repos/p4lang/switch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/p4lang/switch/issues/62/comments","statuses_url":"https://api.github.com/repos/p4lang/switch/statuses/00eb9d7eebe623a13608f0358a791c354aaeac60","head":{"label":"p4lang:ops-qos-nat-copp","ref":"ops-qos-nat-copp","sha":"00eb9d7eebe623a13608f0358a791c354aaeac60","user":{"login":"p4lang","id":10765181,"avatar_url":"https://avatars.githubusercontent.com/u/10765181?v=3","gravatar_id":"","url":"https://api.github.com/users/p4lang","html_url":"https://github.com/p4lang","followers_url":"https://api.github.com/users/p4lang/followers","following_url":"https://api.github.com/users/p4lang/following{/other_user}","gists_url":"https://api.github.com/users/p4lang/gists{/gist_id}","starred_url":"https://api.github.com/users/p4lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4lang/subscriptions","organizations_url":"https://api.github.com/users/p4lang/orgs","repos_url":"https://api.github.com/users/p4lang/repos","events_url":"https://api.github.com/users/p4lang/events{/privacy}","received_events_url":"https://api.github.com/users/p4lang/received_events","type":"Organization","site_admin":false},"repo":{"id":46066780,"name":"switch","full_name":"p4lang/switch","owner":{"login":"p4lang","id":10765181,"avatar_url":"https://avatars.githubusercontent.com/u/10765181?v=3","gravatar_id":"","url":"https://api.github.com/users/p4lang","html_url":"https://github.com/p4lang","followers_url":"https://api.github.com/users/p4lang/followers","following_url":"https://api.github.com/users/p4lang/following{/other_user}","gists_url":"https://api.github.com/users/p4lang/gists{/gist_id}","starred_url":"https://api.github.com/users/p4lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4lang/subscriptions","organizations_url":"https://api.github.com/users/p4lang/orgs","repos_url":"https://api.github.com/users/p4lang/repos","events_url":"https://api.github.com/users/p4lang/events{/privacy}","received_events_url":"https://api.github.com/users/p4lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/p4lang/switch","description":"Consolidated switch repo (API, SAI and Nettlink)","fork":false,"url":"https://api.github.com/repos/p4lang/switch","forks_url":"https://api.github.com/repos/p4lang/switch/forks","keys_url":"https://api.github.com/repos/p4lang/switch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/p4lang/switch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/p4lang/switch/teams","hooks_url":"https://api.github.com/repos/p4lang/switch/hooks","issue_events_url":"https://api.github.com/repos/p4lang/switch/issues/events{/number}","events_url":"https://api.github.com/repos/p4lang/switch/events","assignees_url":"https://api.github.com/repos/p4lang/switch/assignees{/user}","branches_url":"https://api.github.com/repos/p4lang/switch/branches{/branch}","tags_url":"https://api.github.com/repos/p4lang/switch/tags","blobs_url":"https://api.github.com/repos/p4lang/switch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/p4lang/switch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/p4lang/switch/git/refs{/sha}","trees_url":"https://api.github.com/repos/p4lang/switch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/p4lang/switch/statuses/{sha}","languages_url":"https://api.github.com/repos/p4lang/switch/languages","stargazers_url":"https://api.github.com/repos/p4lang/switch/stargazers","contributors_url":"https://api.github.com/repos/p4lang/switch/contributors","subscribers_url":"https://api.github.com/repos/p4lang/switch/subscribers","subscription_url":"https://api.github.com/repos/p4lang/switch/subscription","commits_url":"https://api.github.com/repos/p4lang/switch/commits{/sha}","git_commits_url":"https://api.github.com/repos/p4lang/switch/git/commits{/sha}","comments_url":"https://api.github.com/repos/p4lang/switch/comments{/number}","issue_comment_url":"https://api.github.com/repos/p4lang/switch/issues/comments{/number}","contents_url":"https://api.github.com/repos/p4lang/switch/contents/{+path}","compare_url":"https://api.github.com/repos/p4lang/switch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/p4lang/switch/merges","archive_url":"https://api.github.com/repos/p4lang/switch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/p4lang/switch/downloads","issues_url":"https://api.github.com/repos/p4lang/switch/issues{/number}","pulls_url":"https://api.github.com/repos/p4lang/switch/pulls{/number}","milestones_url":"https://api.github.com/repos/p4lang/switch/milestones{/number}","notifications_url":"https://api.github.com/repos/p4lang/switch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/p4lang/switch/labels{/name}","releases_url":"https://api.github.com/repos/p4lang/switch/releases{/id}","deployments_url":"https://api.github.com/repos/p4lang/switch/deployments","created_at":"2015-11-12T16:49:56Z","updated_at":"2016-08-08T01:13:54Z","pushed_at":"2016-09-09T00:35:47Z","git_url":"git://github.com/p4lang/switch.git","ssh_url":"git@github.com:p4lang/switch.git","clone_url":"https://github.com/p4lang/switch.git","svn_url":"https://github.com/p4lang/switch","homepage":null,"size":3086,"stargazers_count":17,"watchers_count":17,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":5,"forks":9,"open_issues":5,"watchers":17,"default_branch":"master"}},"base":{"label":"p4lang:ops","ref":"ops","sha":"8964d5da29d1c2f24b8461d58d4fbcaf151477b5","user":{"login":"p4lang","id":10765181,"avatar_url":"https://avatars.githubusercontent.com/u/10765181?v=3","gravatar_id":"","url":"https://api.github.com/users/p4lang","html_url":"https://github.com/p4lang","followers_url":"https://api.github.com/users/p4lang/followers","following_url":"https://api.github.com/users/p4lang/following{/other_user}","gists_url":"https://api.github.com/users/p4lang/gists{/gist_id}","starred_url":"https://api.github.com/users/p4lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4lang/subscriptions","organizations_url":"https://api.github.com/users/p4lang/orgs","repos_url":"https://api.github.com/users/p4lang/repos","events_url":"https://api.github.com/users/p4lang/events{/privacy}","received_events_url":"https://api.github.com/users/p4lang/received_events","type":"Organization","site_admin":false},"repo":{"id":46066780,"name":"switch","full_name":"p4lang/switch","owner":{"login":"p4lang","id":10765181,"avatar_url":"https://avatars.githubusercontent.com/u/10765181?v=3","gravatar_id":"","url":"https://api.github.com/users/p4lang","html_url":"https://github.com/p4lang","followers_url":"https://api.github.com/users/p4lang/followers","following_url":"https://api.github.com/users/p4lang/following{/other_user}","gists_url":"https://api.github.com/users/p4lang/gists{/gist_id}","starred_url":"https://api.github.com/users/p4lang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p4lang/subscriptions","organizations_url":"https://api.github.com/users/p4lang/orgs","repos_url":"https://api.github.com/users/p4lang/repos","events_url":"https://api.github.com/users/p4lang/events{/privacy}","received_events_url":"https://api.github.com/users/p4lang/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/p4lang/switch","description":"Consolidated switch repo (API, SAI and Nettlink)","fork":false,"url":"https://api.github.com/repos/p4lang/switch","forks_url":"https://api.github.com/repos/p4lang/switch/forks","keys_url":"https://api.github.com/repos/p4lang/switch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/p4lang/switch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/p4lang/switch/teams","hooks_url":"https://api.github.com/repos/p4lang/switch/hooks","issue_events_url":"https://api.github.com/repos/p4lang/switch/issues/events{/number}","events_url":"https://api.github.com/repos/p4lang/switch/events","assignees_url":"https://api.github.com/repos/p4lang/switch/assignees{/user}","branches_url":"https://api.github.com/repos/p4lang/switch/branches{/branch}","tags_url":"https://api.github.com/repos/p4lang/switch/tags","blobs_url":"https://api.github.com/repos/p4lang/switch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/p4lang/switch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/p4lang/switch/git/refs{/sha}","trees_url":"https://api.github.com/repos/p4lang/switch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/p4lang/switch/statuses/{sha}","languages_url":"https://api.github.com/repos/p4lang/switch/languages","stargazers_url":"https://api.github.com/repos/p4lang/switch/stargazers","contributors_url":"https://api.github.com/repos/p4lang/switch/contributors","subscribers_url":"https://api.github.com/repos/p4lang/switch/subscribers","subscription_url":"https://api.github.com/repos/p4lang/switch/subscription","commits_url":"https://api.github.com/repos/p4lang/switch/commits{/sha}","git_commits_url":"https://api.github.com/repos/p4lang/switch/git/commits{/sha}","comments_url":"https://api.github.com/repos/p4lang/switch/comments{/number}","issue_comment_url":"https://api.github.com/repos/p4lang/switch/issues/comments{/number}","contents_url":"https://api.github.com/repos/p4lang/switch/contents/{+path}","compare_url":"https://api.github.com/repos/p4lang/switch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/p4lang/switch/merges","archive_url":"https://api.github.com/repos/p4lang/switch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/p4lang/switch/downloads","issues_url":"https://api.github.com/repos/p4lang/switch/issues{/number}","pulls_url":"https://api.github.com/repos/p4lang/switch/pulls{/number}","milestones_url":"https://api.github.com/repos/p4lang/switch/milestones{/number}","notifications_url":"https://api.github.com/repos/p4lang/switch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/p4lang/switch/labels{/name}","releases_url":"https://api.github.com/repos/p4lang/switch/releases{/id}","deployments_url":"https://api.github.com/repos/p4lang/switch/deployments","created_at":"2015-11-12T16:49:56Z","updated_at":"2016-08-08T01:13:54Z","pushed_at":"2016-09-09T00:35:47Z","git_url":"git://github.com/p4lang/switch.git","ssh_url":"git@github.com:p4lang/switch.git","clone_url":"https://github.com/p4lang/switch.git","svn_url":"https://github.com/p4lang/switch","homepage":null,"size":3086,"stargazers_count":17,"watchers_count":17,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":9,"mirror_url":null,"open_issues_count":5,"forks":9,"open_issues":5,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/p4lang/switch/pulls/62"},"html":{"href":"https://github.com/p4lang/switch/pull/62"},"issue":{"href":"https://api.github.com/repos/p4lang/switch/issues/62"},"comments":{"href":"https://api.github.com/repos/p4lang/switch/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/p4lang/switch/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/p4lang/switch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/p4lang/switch/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/p4lang/switch/statuses/00eb9d7eebe623a13608f0358a791c354aaeac60"}}}}
{"actor":{"display_login":"srikrishnagopu"}}