Update of /cvsroot/javanetsim/IceScan/icesockets
In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv12944/icesockets
Modified Files:
csocket.h sock_types.h
Log Message:
no message
Index: sock_types.h
===================================================================
RCS file: /cvsroot/javanetsim/IceScan/icesockets/sock_types.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** sock_types.h 30 Nov 2006 15:13:05 -0000 1.2
--- sock_types.h 12 Dec 2006 20:40:19 -0000 1.3
***************
*** 140,148 ****
#ifdef KERNEL
! void icmp_error __P((struct mbuf *, int, int, n_long, struct ifnet *));
! void icmp_input __P((struct mbuf *, int));
! void icmp_reflect __P((struct mbuf *));
! void icmp_send __P((struct mbuf *, struct mbuf *));
! int icmp_sysctl __P((int *, u_int, void *, size_t *, void *, size_t));
#endif
--- 140,148 ----
#ifdef KERNEL
! void icmp_error __P((struct mbuf *, int, int, n_long, struct ifnet *));
! void icmp_input __P((struct mbuf *, int));
! void icmp_reflect __P((struct mbuf *));
! void icmp_send __P((struct mbuf *, struct mbuf *));
! int icmp_sysctl __P((int *, u_int, void *, size_t *, void *, size_t));
#endif
Index: csocket.h
===================================================================
RCS file: /cvsroot/javanetsim/IceScan/icesockets/csocket.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** csocket.h 30 Nov 2006 15:13:05 -0000 1.5
--- csocket.h 12 Dec 2006 20:40:19 -0000 1.6
***************
*** 197,203 ****
}
! int sendto(char *hostname, int port, const void *msg, int len, unsigned int flags){
struct addrinfo hints, *res;
! int salen;
char cportbuf[8];
char *cport = cportbuf;
--- 197,203 ----
}
! int sendto(const char *hostname, int port, const void *msg, int len, unsigned int flags){
struct addrinfo hints, *res;
! int salen;
char cportbuf[8];
char *cport = cportbuf;
|