yet another kernel header patch for lunar
Steven Michalske
hardkrash at lunar-linux.org
Sun Oct 12 22:03:34 GMT 2003
elaine pointed out that this patch coule not detect a already patched file
so here is one with more context
enjoy hardkrash
--- linux-2.4.22/include/linux/in.h.scm 2003-10-12 16:33:22.000000000 -0400
+++ linux-2.4.22/include/linux/in.h 2003-10-12 16:34:09.000000000 -0400
@@ -131,12 +131,14 @@
};
#define IP_MSFILTER_SIZE(numsrc) \
(sizeof(struct ip_msfilter) - sizeof(__u32) \
+ (numsrc) * sizeof(__u32))
+#if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
+
struct group_req
{
__u32 gr_interface; /* interface index */
struct sockaddr_storage gr_group; /* group address */
};
@@ -157,12 +159,14 @@
};
#define GROUP_FILTER_SIZE(numsrc) \
(sizeof(struct group_filter) - sizeof(struct sockaddr_storage) \
+ (numsrc) * sizeof(struct sockaddr_storage))
+#endif // defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
+
struct in_pktinfo
{
int ipi_ifindex;
struct in_addr ipi_spec_dst;
struct in_addr ipi_addr;
};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://dbguin.lunar-linux.org/mailman/private/lunar-dev/attachments/20031012/51978948/attachment.bin
More information about the lunar-dev
mailing list