linux/net/rds
Julia Lawall 3d7ddd540b net/rds: Use AF_INET for sin_family field
Elsewhere the sin_family field holds a value with a name of the form
AF_..., so it seems reasonable to do so here as well.  Also the values of
PF_INET and AF_INET are the same.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
struct sockaddr_in sip;
@@

(
sip.sin_family ==
- PF_INET
+ AF_INET
|
sip.sin_family !=
- PF_INET
+ AF_INET
|
sip.sin_family =
- PF_INET
+ AF_INET
)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-08-05 20:30:13 -07:00
..
af_rds.c RDS: remove unused #include <version.h> 2009-04-09 17:21:20 -07:00
bind.c RDS: Socket interface 2009-02-26 23:39:23 -08:00
cong.c rds: Fix build on powerpc. 2009-03-02 01:49:28 -08:00
connection.c RDS: Refactor end of __conn_create for readability 2009-07-20 08:03:17 -07:00
ib_cm.c RDS/IB: Drop connection when a fatal QP event is received 2009-07-20 08:03:11 -07:00
ib_rdma.c RDS/IB: Always use PAGE_SIZE for FMR page size 2009-07-20 08:03:13 -07:00
ib_recv.c RDS/IB: Rename byte_len to data_len to enhance readability 2009-07-20 08:03:07 -07:00
ib_ring.c RDS/IW+IB: Set recv ring low water mark to 1/2 full. 2009-04-09 17:21:14 -07:00
ib_send.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
ib_stats.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
ib_sysctl.c RDS/IB: Disable flow control in sysctl and explain why 2009-07-20 08:03:10 -07:00
ib.c RDS/IB: Always use PAGE_SIZE for FMR page size 2009-07-20 08:03:13 -07:00
ib.h RDS/IB: Always use PAGE_SIZE for FMR page size 2009-07-20 08:03:13 -07:00
info.c RDS: use get_user_pages_fast() 2009-04-09 17:21:20 -07:00
info.h RDS: Info and stats 2009-02-26 23:39:25 -08:00
iw_cm.c RDS: Use spinlock to protect 64b value update on 32b archs 2009-04-02 00:52:22 -07:00
iw_rdma.c RDS/IW: Remove page_shift variable from iwarp transport 2009-07-20 08:03:14 -07:00
iw_recv.c RDS/IW+IB: Allow max credit advertise window. 2009-04-09 17:21:17 -07:00
iw_ring.c RDS/IW+IB: Set recv ring low water mark to 1/2 full. 2009-04-09 17:21:14 -07:00
iw_send.c RDS/IW: Remove page_shift variable from iwarp transport 2009-07-20 08:03:14 -07:00
iw_stats.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
iw_sysctl.c RDS: Add iWARP support 2009-02-26 23:39:33 -08:00
iw.c RDS/IW: Remove dead code 2009-07-20 08:03:15 -07:00
iw.h RDS/IW: Remove page_shift variable from iwarp transport 2009-07-20 08:03:14 -07:00
Kconfig rds: fix iband RDMA dependencies 2009-03-03 21:39:40 -08:00
loop.c RDS: loopback 2009-02-26 23:39:26 -08:00
loop.h RDS: loopback 2009-02-26 23:39:26 -08:00
Makefile RDS: Kconfig and Makefile 2009-02-26 23:43:35 -08:00
message.c RDS: Message parsing 2009-02-26 23:39:28 -08:00
page.c RDS: Message parsing 2009-02-26 23:39:28 -08:00
rdma_transport.c net/rds: Use AF_INET for sin_family field 2009-08-05 20:30:13 -07:00
rdma_transport.h RDS: Common RDMA transport code 2009-02-26 23:39:33 -08:00
rdma.c RDS: use get_user_pages_fast() 2009-04-09 17:21:20 -07:00
rdma.h RDS: RDMA support 2009-02-26 23:39:29 -08:00
rds.h net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
recv.c RDS: Fix completion notifications on blocking sockets 2009-07-20 08:03:12 -07:00
send.c RDS: Establish connection before parsing CMSGs 2009-04-09 17:21:19 -07:00
stats.c net: mark read-only arrays as const 2009-08-05 10:42:58 -07:00
sysctl.c RDS: sysctls 2009-02-26 23:39:26 -08:00
threads.c RDS: Connection handling 2009-02-26 23:39:25 -08:00
transport.c RDS: Transport code 2009-02-26 23:39:24 -08:00