summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/getsourcefilter.c2
-rw-r--r--sysdeps/generic/setipv4sourcefilter.c3
-rw-r--r--sysdeps/generic/setsourcefilter.c4
-rw-r--r--sysdeps/unix/sysv/linux/getsourcefilter.c2
-rw-r--r--sysdeps/unix/sysv/linux/setipv4sourcefilter.c3
-rw-r--r--sysdeps/unix/sysv/linux/setsourcefilter.c4
6 files changed, 10 insertions, 8 deletions
diff --git a/sysdeps/generic/getsourcefilter.c b/sysdeps/generic/getsourcefilter.c
index 9f4f543b89..373550beb3 100644
--- a/sysdeps/generic/getsourcefilter.c
+++ b/sysdeps/generic/getsourcefilter.c
@@ -23,7 +23,7 @@
 
 
 int
-getsourcefilter (int s, uint32_t interface, struct sockaddr *group,
+getsourcefilter (int s, uint32_t interface, const struct sockaddr *group,
 		 socklen_t grouplen, uint32_t *fmode, uint32_t *numsrc,
 		 struct sockaddr_storage *slist)
 {
diff --git a/sysdeps/generic/setipv4sourcefilter.c b/sysdeps/generic/setipv4sourcefilter.c
index 18562a7499..db2b8433bb 100644
--- a/sysdeps/generic/setipv4sourcefilter.c
+++ b/sysdeps/generic/setipv4sourcefilter.c
@@ -24,7 +24,8 @@
 
 int
 setipv4sourcefilter (int s, struct in_addr interface, struct in_addr group,
-		     uint32_t fmode, uint32_t numsrc, struct in_addr *slist)
+		     uint32_t fmode, uint32_t numsrc,
+		     const struct in_addr *slist)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/sysdeps/generic/setsourcefilter.c b/sysdeps/generic/setsourcefilter.c
index 285a0980e1..870f5e2c38 100644
--- a/sysdeps/generic/setsourcefilter.c
+++ b/sysdeps/generic/setsourcefilter.c
@@ -23,9 +23,9 @@
 
 
 int
-setsourcefilter (int s, uint32_t interface, struct sockaddr *group,
+setsourcefilter (int s, uint32_t interface, const struct sockaddr *group,
 		 socklen_t grouplen, uint32_t fmode, uint32_t numsrc,
-		 struct sockaddr_storage *slist)
+		 const struct sockaddr_storage *slist)
 {
   __set_errno (ENOSYS);
   return -1;
diff --git a/sysdeps/unix/sysv/linux/getsourcefilter.c b/sysdeps/unix/sysv/linux/getsourcefilter.c
index 738c19809e..fdcf8d6130 100644
--- a/sysdeps/unix/sysv/linux/getsourcefilter.c
+++ b/sysdeps/unix/sysv/linux/getsourcefilter.c
@@ -88,7 +88,7 @@ __get_sol (int af, socklen_t len)
 
 
 int
-getsourcefilter (int s, uint32_t interface, struct sockaddr *group,
+getsourcefilter (int s, uint32_t interface, const struct sockaddr *group,
 		 socklen_t grouplen, uint32_t *fmode, uint32_t *numsrc,
 		 struct sockaddr_storage *slist)
 {
diff --git a/sysdeps/unix/sysv/linux/setipv4sourcefilter.c b/sysdeps/unix/sysv/linux/setipv4sourcefilter.c
index 07d6da0082..050d0a3e9f 100644
--- a/sysdeps/unix/sysv/linux/setipv4sourcefilter.c
+++ b/sysdeps/unix/sysv/linux/setipv4sourcefilter.c
@@ -28,7 +28,8 @@
 
 int
 setipv4sourcefilter (int s, struct in_addr interface, struct in_addr group,
-		     uint32_t fmode, uint32_t numsrc, struct in_addr *slist)
+		     uint32_t fmode, uint32_t numsrc,
+		     const struct in_addr *slist)
 {
   /* We have to create an struct ip_msfilter object which we can pass
      to the kernel.  */
diff --git a/sysdeps/unix/sysv/linux/setsourcefilter.c b/sysdeps/unix/sysv/linux/setsourcefilter.c
index 027699bd94..f5c4d9786f 100644
--- a/sysdeps/unix/sysv/linux/setsourcefilter.c
+++ b/sysdeps/unix/sysv/linux/setsourcefilter.c
@@ -31,9 +31,9 @@ extern int __get_sol (int af, socklen_t len);
 
 
 int
-setsourcefilter (int s, uint32_t interface, struct sockaddr *group,
+setsourcefilter (int s, uint32_t interface, const struct sockaddr *group,
 		 socklen_t grouplen, uint32_t fmode, uint32_t numsrc,
-		 struct sockaddr_storage *slist)
+		 const struct sockaddr_storage *slist)
 {
   /* We have to create an struct ip_msfilter object which we can pass
      to the kernel.  */