X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Frmr%2Fsi%2Fsrc%2Fsi95%2Fsiestablish.c;h=a62490d3ccbd515a00919f7ec77dfc34b96e2d64;hb=05850e0815095c029ecff43ac8e0983f2fba4fb6;hp=d3068e083946f0b8d6d62f2cb40e2e8483b298b0;hpb=9c2f0c74adb03a21646742702813b6ba4a4ae288;p=ric-plt%2Flib%2Frmr.git diff --git a/src/rmr/si/src/si95/siestablish.c b/src/rmr/si/src/si95/siestablish.c index d3068e0..a62490d 100644 --- a/src/rmr/si/src/si95/siestablish.c +++ b/src/rmr/si/src/si95/siestablish.c @@ -57,19 +57,18 @@ Family is one of the AF_* constants (AF_ANY, AF_INET or AF_INET6) The address should be one of these forms: - [::1]:port // v6 localhost device (loop back) - localhost:port // v4 or 6 loopback depending on /etc/hosts - 0.0.0.0:port // any interface - addr:port // an address assigned to one of the devices + [::1]:port v6 localhost device (loop back) + localhost:port v4 or 6 loopback depending on /etc/hosts + 0.0.0.0:port any interface + addr:port an address assigned to one of the devices Returns a transport struct which is the main context for the listener. */ -extern struct tp_blk *SIlisten_prep( struct ginfo_blk *gptr, int type, char* abuf, int family ) { +extern struct tp_blk *SIlisten_prep( int type, char* abuf, int family ) { struct tp_blk *tptr; // pointer at new tp block int status = SI_OK; // processing status struct sockaddr *addr; // IP address we are requesting int protocol; // protocol for socket call - char buf[256]; // buffer to build request address in int optval = 0; int alen = 0;