]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Added struct in_pktinfo.
authorUlrich Drepper <drepper@redhat.com>
Sun, 17 Oct 1999 03:36:33 +0000 (03:36 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sun, 17 Oct 1999 03:36:33 +0000 (03:36 +0000)
sysdeps/unix/sysv/linux/bits/in.h

index 65b7c71816287e1fdd6aa342858da4bcf4db9a1f..38e2a2e0047c86209c8922ac406c00f2e5b57e09 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,92,93,94,95,96,97,98 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,96,97,98,99 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -84,6 +84,14 @@ struct ip_mreqn
     int        imr_ifindex;                    /* Interface index */
   };
 
+/* Structure used for IP_PKTINFO.  */
+struct in_pktinfo
+  {
+    int ipi_ifindex;                   /* Interface index  */
+    struct in_addr ipi_spec_dst;       /* Routing destination address  */
+    struct in_addr ipi_addr;           /* Header destination address  */
+  };
+
 /* Options for use with `getsockopt' and `setsockopt' at the IPv6 level.
    The first word in the comment at the right is the data type used;
    "bool" means a boolean value stored in an `int'.  */