Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit c02c288

Browse files
andreittrskuenzer
authored andcommitted
netlink: Introduce support for netlink
This change introduces support for using AF_NETLINK sockets to talk to the lwip stack, supporting RTM_GETLINK and RTM_GETADDR operations. Co-authored-by: Simon Kuenzer <simon@unikraft.io> Signed-off-by: Simon Kuenzer <simon@unikraft.io> Signed-off-by: Andrei Tatar <ttr@unikraft.io> Reviewed-by: Sergiu Moga <sergiu@unikraft.io> Reviewed-by: Michalis Pappas <michalis@unikraft.io> Approved-by: Michalis Pappas <michalis@unikraft.io> GitHub-Closes: #69
1 parent de970d0 commit c02c288

File tree

3 files changed

+493
-0
lines changed

3 files changed

+493
-0
lines changed

Config.uk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ menuconfig LIBLWIP
44
select LIBNOLIBC if !HAVE_LIBC
55
select LIBUKDEBUG
66
select LIBUKRANDOM
7+
select LIBUKBITOPS if LIBPOSIX_NETLINK
78
select HAVE_NW_STACK
89

910
if LIBLWIP

Makefile.uk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ LIBLWIP_SRCS-$(CONFIG_LWIP_TCP) += $(LIBLWIP_EXTRACTED)/core/tcp.c
113113
LIBLWIP_SRCS-$(CONFIG_LWIP_TCP) += $(LIBLWIP_EXTRACTED)/core/tcp_in.c
114114
LIBLWIP_SRCS-$(CONFIG_LWIP_TCP) += $(LIBLWIP_EXTRACTED)/core/tcp_out.c
115115
LIBLWIP_SRCS-$(CONFIG_LWIP_UDP) += $(LIBLWIP_EXTRACTED)/core/udp.c
116+
LIBLWIP_SRCS-$(CONFIG_LIBPOSIX_NETLINK) += $(LIBLWIP_BASE)/netlink.c|unikraft
116117

117118
################################################################################
118119
# APIs

0 commit comments

Comments
 (0)