Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
2215-kernel-doc-Add-documentation-for-sockaddr_...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 2215-kernel-doc-Add-documentation-for-sockaddr_dl.patch of Package erlang
From 0ba360c91af2ddea1c3d89e2ff727142a1554c77 Mon Sep 17 00:00:00 2001 From: Micael Karlberg <bmk@erlang.org> Date: Tue, 5 Apr 2022 16:57:01 +0200 Subject: [PATCH 5/5] [kernel|doc] Add documentation for sockaddr_dl OTP-18020 --- lib/kernel/doc/src/socket.xml | 4 ++++ lib/kernel/src/socket.erl | 11 +++++++++++ 2 files changed, 15 insertions(+) diff --git a/lib/kernel/doc/src/socket.xml b/lib/kernel/doc/src/socket.xml index 8baaca7944..753517bee4 100644 --- a/lib/kernel/doc/src/socket.xml +++ b/lib/kernel/doc/src/socket.xml @@ -291,6 +291,10 @@ <name name="sockaddr_ll"/> <desc></desc> </datatype> + <datatype> + <name name="sockaddr_dl"/> + <desc></desc> + </datatype> <datatype> <name name="sockaddr_unspec"/> <desc></desc> diff --git a/lib/kernel/src/socket.erl b/lib/kernel/src/socket.erl index 490a970f52..ccacb84293 100644 --- a/lib/kernel/src/socket.erl +++ b/lib/kernel/src/socket.erl @@ -104,6 +104,8 @@ sockaddr_in6/0, sockaddr_un/0, sockaddr_ll/0, + sockaddr_dl/0, + sockaddr_unspec/0, sockaddr_native/0, msg_flag/0, @@ -345,6 +347,14 @@ pkttype := packet_type(), hatype := hatype(), addr := binary()}. +-type sockaddr_dl() :: + #{family := 'link', + index := non_neg_integer(), + type := non_neg_integer(), + nlen := non_neg_integer(), + alen := non_neg_integer(), + slen := non_neg_integer(), + data := binary()}. -type sockaddr_unspec() :: #{family := 'unspec', addr := binary()}. -type sockaddr_native() :: @@ -354,6 +364,7 @@ sockaddr_in6() | sockaddr_un() | sockaddr_ll() | + sockaddr_dl() | sockaddr_unspec() | sockaddr_native(). -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor