[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r4434 - gnuradio/branches/developers/trondeau/udp/gnur
From: |
trondeau |
Subject: |
[Commit-gnuradio] r4434 - gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io |
Date: |
Thu, 8 Feb 2007 10:24:53 -0700 (MST) |
Author: trondeau
Date: 2007-02-08 10:24:53 -0700 (Thu, 08 Feb 2007)
New Revision: 4434
Modified:
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_sink.cc
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_sink.h
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_source.cc
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_source.h
Log:
renamed all references of 'remote' or 'local' addressing to 'source' or
'destination'
Modified:
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_sink.cc
===================================================================
---
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_sink.cc
2007-02-08 17:20:29 UTC (rev 4433)
+++
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_sink.cc
2007-02-08 17:24:53 UTC (rev 4434)
@@ -38,7 +38,7 @@
{
int ret = 0;
- // Set up the address stucture for the local address and port numbers
+ // Set up the address stucture for the source address and port numbers
// Get the source IP address from the host name
struct hostent *hsrc = gethostbyname(src);
if(hsrc) { // if the source was provided as a host namex
Modified:
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_sink.h
===================================================================
---
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_sink.h
2007-02-08 17:20:29 UTC (rev 4433)
+++
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_sink.h
2007-02-08 17:24:53 UTC (rev 4434)
@@ -88,8 +88,8 @@
* 1472 = (1500 MTU - (8 byte UDP header) - (20 byte IP
header))
*/
gr_udp_sink (size_t itemsize,
- const char *ipaddrl, unsigned short portl,
- const char *ipaddrr, unsigned short portr,
+ const char *src, unsigned short port_src,
+ const char *dst, unsigned short port_dst,
int payload_size);
public:
Modified:
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_source.cc
===================================================================
---
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_source.cc
2007-02-08 17:20:29 UTC (rev 4433)
+++
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_source.cc
2007-02-08 17:24:53 UTC (rev 4434)
@@ -37,7 +37,7 @@
{
int ret = 0;
- // Set up the address stucture for the local address and port numbers
+ // Set up the address stucture for the source address and port numbers
// Get the source IP address from the host name
struct hostent *hsrc = gethostbyname(src);
if(hsrc) { // if the source was provided as a host namex
Modified:
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_source.h
===================================================================
---
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_source.h
2007-02-08 17:20:29 UTC (rev 4433)
+++
gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io/gr_udp_source.h
2007-02-08 17:24:53 UTC (rev 4434)
@@ -60,9 +60,9 @@
int d_payload_size; // maximum transmission unit (packet length)
int d_socket; // handle to socket
int d_socket_rcv; // handle to socket retuned in the accept
call
- struct in_addr d_ip_src; // store the local IP address to use
+ struct in_addr d_ip_src; // store the source IP address to use
unsigned short d_port_src; // the port number to open for connections
to this service
- sockaddr_in d_sockaddr_src; // store the local sockaddr data (formatted
IP address and port number)
+ sockaddr_in d_sockaddr_src; // store the source sockaddr data (formatted
IP address and port number)
char *d_temp_buff; // hold buffer between calls
ssize_t d_residual; // hold information about number of bytes stored in
the temp buffer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r4434 - gnuradio/branches/developers/trondeau/udp/gnuradio-core/src/lib/io,
trondeau <=