Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144703655
D50065.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
565 B
Referenced Files
None
Subscribers
None
D50065.diff
View Options
diff --git a/sys/net/if_dl.h b/sys/net/if_dl.h
--- a/sys/net/if_dl.h
+++ b/sys/net/if_dl.h
@@ -32,6 +32,8 @@
#ifndef _NET_IF_DL_H_
#define _NET_IF_DL_H_
+#include <sys/_types.h>
+
/*
* A Link-Level Sockaddr may specify the interface in one of two
* ways: either by means of a system-provided index number (computed
@@ -65,7 +67,7 @@
contains both if name and ll address */
};
-#define LLADDR(s) ((caddr_t)((s)->sdl_data + (s)->sdl_nlen))
+#define LLADDR(s) (&(s)->sdl_data[(s)->sdl_nlen])
#define LLINDEX(s) ((s)->sdl_index)
#ifdef _KERNEL
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Feb 12, 9:47 AM (9 h, 50 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28665720
Default Alt Text
D50065.diff (565 B)
Attached To
Mode
D50065: net/if_dl.h: make self-contained
Attached
Detach File
Event Timeline
Log In to Comment