mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-22 02:40:08 +00:00
Update.
* inet/netinet/in.h: Add more const to the setipv4soucefilter, getsourcefilter, and setsourcefilter parameter list. * sysdeps/generic/setipv4sourcefilter.c: Likewise. * sysdeps/generic/getsourcefilter.c: Likewise. * sysdeps/generic/setsourcefilter.c: Likewise. * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise. * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise. * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
This commit is contained in:
parent
65e70412ad
commit
d3c99ad106
@ -1,5 +1,14 @@
|
||||
2004-08-07 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* inet/netinet/in.h: Add more const to the setipv4soucefilter,
|
||||
getsourcefilter, and setsourcefilter parameter list.
|
||||
* sysdeps/generic/setipv4sourcefilter.c: Likewise.
|
||||
* sysdeps/generic/getsourcefilter.c: Likewise.
|
||||
* sysdeps/generic/setsourcefilter.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
|
||||
* sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
|
||||
|
||||
* po/tr.po: Update from translation team.
|
||||
|
||||
2004-08-06 Ulrich Drepper <drepper@redhat.com>
|
||||
|
@ -487,21 +487,24 @@ extern int getipv4sourcefilter (int __s, struct in_addr __interface,
|
||||
/* Set IPv4 source filter. */
|
||||
extern int setipv4sourcefilter (int __s, struct in_addr __interface,
|
||||
struct in_addr __group, uint32_t __fmode,
|
||||
uint32_t __numsrc, struct in_addr *__slist)
|
||||
uint32_t __numsrc,
|
||||
__const struct in_addr *__slist)
|
||||
__THROW;
|
||||
|
||||
|
||||
/* Get source filter. */
|
||||
extern int getsourcefilter (int __s, uint32_t __interface,
|
||||
struct sockaddr *__group, socklen_t __grouplen,
|
||||
uint32_t *__fmode, uint32_t *__numsrc,
|
||||
__const struct sockaddr *__group,
|
||||
socklen_t __grouplen, uint32_t *__fmode,
|
||||
uint32_t *__numsrc,
|
||||
struct sockaddr_storage *__slist) __THROW;
|
||||
|
||||
/* Set source filter. */
|
||||
extern int setsourcefilter (int __s, uint32_t __interface,
|
||||
struct sockaddr *__group, socklen_t __grouplen,
|
||||
uint32_t __fmode, uint32_t __numsrc,
|
||||
struct sockaddr_storage *__slist) __THROW;
|
||||
__const struct sockaddr *__group,
|
||||
socklen_t __grouplen, uint32_t __fmode,
|
||||
uint32_t __numsrc,
|
||||
__const struct sockaddr_storage *__slist) __THROW;
|
||||
#endif /* use GNU */
|
||||
|
||||
__END_DECLS
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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. */
|
||||
|
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user