[Feature Request] Add AF_PACKET support to the socket interface
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c
- Lĩnh vực
- networking
Hướng nghiên cứu
The request is for AF_PACKET-style SOCK_RAW and SOCK_DGRAM sockets, and the payload names only the existing eNetworkTxEvent path to the FreeRTOS+TCP task as today's workaround. Start by reading how that event sends raw Ethernet frames, then settle the socket API design with maintainers before writing code. The issue is open with no assignee or linked pull request and has been idle for about three years, so confirm it is still wanted first.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem? Please describe.
Linux/BSD style AF_PACKET / IPPROTO_RAW sockets are useful for implementing custom IP protocols or sending and receiving raw ethernet frames.
@evpopov filed Issue #1011 which prompted me to file this ticket.
Adding AF_PACKET sockets to FreeRTOS+TCP would allow users to extend the capabilities of FreeRTOS+TCP with their own custom protocol implementations in a relatively standard way.
Describe the solution you'd like
Add support for *nix style packet sockets ( AF_PACKET ) with SOCK_RAW and SOCK_DGRAM socket types.
Describe alternatives you've considered
Sending raw ethernet frames is currently possible by sending a eNetworkTxEvent request to FreeRTOS+TCP task, however this API is non-standard and not well documented for this purpose.
Additional context
N/A
- Ngôn ngữ chính
- C
- Star
- 215
- Fork
- 222
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của FreeRTOS/FreeRTOS-Plus-TCP
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 63/100
FreeRTOS/FreeRTOS-Plus-TCP#1395 ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
FreeRTOS/FreeRTOS-Plus-TCP#1389 ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
FreeRTOS/FreeRTOS-Plus-TCP#1388 ·
-
[BUG] PhyHandling incorrectly lists LAN8742A as having 19 PHYCRCó thể đã có người làm @StitchLilo626 đã nhận 41 ngày trước. Đang mởbug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
FreeRTOS/FreeRTOS-Plus-TCP#1361 ·
-
bug
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 66/100
FreeRTOS/FreeRTOS-Plus-TCP#1392 · 1 bình luận ·
Tất cả issue của FreeRTOS/FreeRTOS-Plus-TCP
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
qoretechnologies/qore#8222 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
c easy first-contributor first-contributors good first issue help wanted up-for-grabs
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 96/100
fork-commit-merge/fork-commit-merge#8696 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
libsdl-org/SDL#16873 ·
Maintainer thường phản hồi trong vòng 1 ngày