FreeBSD Bugzilla – Attachment 250464 Details for
Bug 278790
[exp-run] check use of sockaddr_inarp
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
sockaddr_inarp.diff (text/plain), 1.10 KB, created by
Gleb Smirnoff
on 2024-05-05 17:32:14 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Gleb Smirnoff
Created:
2024-05-05 17:32:14 UTC
Size:
1.10 KB
patch
obsolete
>commit 34d96870f01cab686f584d123a24c34ab63ca40f >Author: Gleb Smirnoff <glebius@FreeBSD.org> >Date: Sun May 5 10:21:13 2024 -0700 > > arp: garbage collect sockaddr_inarp and RTF_USETRAILERS > > The struct sockaddr_inarp is not used since 9711a168b937 in 2013. The > RTF_USETRAILERS macro meaning is lost in centuries. It was defined but > not used in 4.4BSD-Lite2. > >diff --git a/sys/netinet/if_ether.h b/sys/netinet/if_ether.h >index 96879d82a4f2..a366abca5d24 100644 >--- a/sys/netinet/if_ether.h >+++ b/sys/netinet/if_ether.h >@@ -88,23 +88,9 @@ struct ether_arp { > #define arp_pln ea_hdr.ar_pln > #define arp_op ea_hdr.ar_op > >-#ifndef BURN_BRIDGES /* Can be used by third party software. */ >-struct sockaddr_inarp { >- u_char sin_len; >- u_char sin_family; >- u_short sin_port; >- struct in_addr sin_addr; >- struct in_addr sin_srcaddr; >- u_short sin_tos; >- u_short sin_other; >-#define SIN_PROXY 1 >-}; >-#endif /* !BURN_BRIDGES */ >- > /* > * IP and ethernet specific routing flags > */ >-#define RTF_USETRAILERS RTF_PROTO1 /* use trailers */ > #define RTF_ANNOUNCE RTF_PROTO2 /* announce new arp entry */ > > #ifdef _KERNEL
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 278790
: 250464