{"action":"created","issue":{"url":"https://api.github.com/repos/opendp/dpdk-ans/issues/27","repository_url":"https://api.github.com/repos/opendp/dpdk-ans","labels_url":"https://api.github.com/repos/opendp/dpdk-ans/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/opendp/dpdk-ans/issues/27/comments","events_url":"https://api.github.com/repos/opendp/dpdk-ans/issues/27/events","html_url":"https://github.com/opendp/dpdk-ans/issues/27","id":168802827,"number":27,"title":"PF_PACKET domain socket support","user":{"login":"sunmingbao","id":5935391,"avatar_url":"https://avatars.githubusercontent.com/u/5935391?v=3","gravatar_id":"","url":"https://api.github.com/users/sunmingbao","html_url":"https://github.com/sunmingbao","followers_url":"https://api.github.com/users/sunmingbao/followers","following_url":"https://api.github.com/users/sunmingbao/following{/other_user}","gists_url":"https://api.github.com/users/sunmingbao/gists{/gist_id}","starred_url":"https://api.github.com/users/sunmingbao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunmingbao/subscriptions","organizations_url":"https://api.github.com/users/sunmingbao/orgs","repos_url":"https://api.github.com/users/sunmingbao/repos","events_url":"https://api.github.com/users/sunmingbao/events{/privacy}","received_events_url":"https://api.github.com/users/sunmingbao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-02T05:32:19Z","updated_at":"2016-08-11T00:54:15Z","closed_at":"2016-08-11T00:54:15Z","body":"Could you implement PF_PACKET domain socke in dpdk-ans?\r\nthanks very much!\r\n\r\nSome user may wanna use PF_PACKET domain socket to receive or transmit original ethernet frames.\r\nBellow are the sample codes.\r\n\r\n```\r\n    int ret;\r\n    struct sockaddr_ll sock_addr = {\r\n        .sll_family = AF_PACKET,\r\n        .sll_protocol = 0,\r\n        .sll_ifindex =0\r\n    };\r\n    \r\n    int fd = socket(AF_PACKET, SOCK_RAW, htons(ETH_P_ALL));\r\n   bind(fd, (struct sockaddr *)&sock_addr, sizeof(struct sockaddr_ll));\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/opendp/dpdk-ans/issues/comments/239048420","html_url":"https://github.com/opendp/dpdk-ans/issues/27#issuecomment-239048420","issue_url":"https://api.github.com/repos/opendp/dpdk-ans/issues/27","id":239048420,"user":{"login":"bluenet13","id":8518843,"avatar_url":"https://avatars.githubusercontent.com/u/8518843?v=3","gravatar_id":"","url":"https://api.github.com/users/bluenet13","html_url":"https://github.com/bluenet13","followers_url":"https://api.github.com/users/bluenet13/followers","following_url":"https://api.github.com/users/bluenet13/following{/other_user}","gists_url":"https://api.github.com/users/bluenet13/gists{/gist_id}","starred_url":"https://api.github.com/users/bluenet13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluenet13/subscriptions","organizations_url":"https://api.github.com/users/bluenet13/orgs","repos_url":"https://api.github.com/users/bluenet13/repos","events_url":"https://api.github.com/users/bluenet13/events{/privacy}","received_events_url":"https://api.github.com/users/bluenet13/received_events","type":"User","site_admin":false},"created_at":"2016-08-11T00:54:15Z","updated_at":"2016-08-11T00:54:15Z","body":"Will not support PF_PACKET because no much benefit for it."}}
{"actor":{"display_login":"bluenet13"}}