From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1792) id 76D0B3858407; Wed, 21 Sep 2022 17:58:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 76D0B3858407 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663783135; bh=MGVz+H+rfWAt0nF7UNkLhwuEYouk7MrIKRgnGBESt7I=; h=From:To:Subject:Date:From; b=G9B20ENYMti70RJOzO4I34N6/C2sFnIhZ4GdzXa7wvZ7ksTUFeX/VVPSA3geUxP6z DjW077DALSi+pE1l8queEi/Cf86h0Q6rUrW6amd1LVLdTHeEx8bH9eXujSt1+z5Bez 4kH5KN6JMm7ccLPoaFXJjF+BSqlFKMK09o96SKVM= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Samuel Thibault To: glibc-cvs@sourceware.org Subject: [glibc] hurd: Drop struct rtentry and in6_rtmsg X-Act-Checkin: glibc X-Git-Author: Samuel Thibault X-Git-Refname: refs/heads/master X-Git-Oldrev: 9ba0f010a63d788709140a3b64432fde3cdfbc56 X-Git-Newrev: b84199eb18cba47f73431f7fcaa6c1d4d3ac072e Message-Id: <20220921175855.76D0B3858407@sourceware.org> Date: Wed, 21 Sep 2022 17:58:55 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=b84199eb18cba47f73431f7fcaa6c1d4d3ac072e commit b84199eb18cba47f73431f7fcaa6c1d4d3ac072e Author: Samuel Thibault Date: Wed Sep 21 19:28:25 2022 +0200 hurd: Drop struct rtentry and in6_rtmsg These were cargo-culted, they are not used at all in Hurd interfaces. Diff: --- sysdeps/mach/hurd/net/route.h | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/sysdeps/mach/hurd/net/route.h b/sysdeps/mach/hurd/net/route.h index 73abcbf253..ecf5dcb7ef 100644 --- a/sysdeps/mach/hurd/net/route.h +++ b/sysdeps/mach/hurd/net/route.h @@ -28,44 +28,6 @@ #include -/* This structure gets passed by the SIOCADDRT and SIOCDELRT calls. */ -struct rtentry - { - unsigned long int rt_pad1; - struct sockaddr rt_dst; /* Target address. */ - struct sockaddr rt_gateway; /* Gateway addr (RTF_GATEWAY). */ - struct sockaddr rt_genmask; /* Target network mask (IP). */ - unsigned short int rt_flags; - short int rt_pad2; - unsigned long int rt_pad3; - unsigned char rt_tos; - unsigned char rt_class; - short int rt_pad4; - short int rt_metric; /* +1 for binary compatibility! */ - char *rt_dev; /* Forcing the device at add. */ - unsigned long int rt_mtu; /* Per route MTU/Window. */ - unsigned long int rt_window; /* Window clamping. */ - unsigned short int rt_irtt; /* Initial RTT. */ - }; -/* Compatibility hack. */ -#define rt_mss rt_mtu - - -struct in6_rtmsg - { - struct in6_addr rtmsg_dst; - struct in6_addr rtmsg_src; - struct in6_addr rtmsg_gateway; - uint32_t rtmsg_type; - uint16_t rtmsg_dst_len; - uint16_t rtmsg_src_len; - uint32_t rtmsg_metric; - unsigned long int rtmsg_info; - uint32_t rtmsg_flags; - int rtmsg_ifindex; - }; - - typedef struct ifrtreq { char ifname[IF_NAMESIZE];