about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-13 23:02:51 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-15 22:43:15 +0200
commita2ee8c6500fdaff03019928d916d166ee266e1f5 (patch)
tree250ba1302e83a9d844a2f2ce10727856c7bca4b8 /sysdeps/unix
parent85860ad6eaf4c9739318f6b2a1ff7c2fa6b12ab5 (diff)
downloadglibc-a2ee8c6500fdaff03019928d916d166ee266e1f5.tar.gz
glibc-a2ee8c6500fdaff03019928d916d166ee266e1f5.tar.xz
glibc-a2ee8c6500fdaff03019928d916d166ee266e1f5.zip
Move ip_mreqn structure from Linux to generic
I.e. from sysdeps/unix/sysv/linux/bits/in.h to netinet/in.h

It is following both the BSD and Linux definitions.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/bits/in.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/sysdeps/unix/sysv/linux/bits/in.h b/sysdeps/unix/sysv/linux/bits/in.h
index af6898a5ce..00d10d812c 100644
--- a/sysdeps/unix/sysv/linux/bits/in.h
+++ b/sysdeps/unix/sysv/linux/bits/in.h
@@ -146,14 +146,6 @@ struct ip_opts
     char ip_opts[40];		/* Actually variable in size.  */
   };
 
-/* Like `struct ip_mreq' but including interface specification by index.  */
-struct ip_mreqn
-  {
-    struct in_addr imr_multiaddr;	/* IP multicast address of group */
-    struct in_addr imr_address;		/* local IP address of interface */
-    int	imr_ifindex;			/* Interface index */
-  };
-
 /* Structure used for IP_PKTINFO.  */
 struct in_pktinfo
   {