search for: iaddr

Displaying 14 results from an estimated 14 matches for "iaddr".

Did you mean: addr
2006 Feb 05
2
R socket communication
...ing server on localhost" and a "Reading data" in the R console, but nothing else. The PERL client #! /usr/bin/perl use strict; use Socket; # initialize host and port my $host = shift || 'localhost'; my $port = shift || 7890; my $proto = getprotobyname('tcp'); my $iaddr = inet_aton($host); my $paddr = sockaddr_in($port, $iaddr); socket(SOCKET, PF_INET, SOCK_STREAM, $proto) or die "socket: $!"; connect(SOCKET, $paddr) or die "connect: $!"; print SOCKET "Hello \n"; close SOCKET or die "close: $!"; The PERL server #! /usr/bi...
2020 Apr 16
2
Need help figuring out a isNopCopy() assert
I'm trying to fix a bug in the PowerPC SPE backend that prevents a bunch of FreeBSD ports from building, including gtk20. The attached file, generated from the following C source, triggers the "Def == PreviousDef" assertion in isNopCopy(): typedef float a; typedef struct { a b, c; } complex; d(complex *e, complex *h) { double f = h->c, g = h->b; i(g); e->c = g *
2004 Nov 29
1
Polycom Reboot Script PRI errors!!
...check-sync > Date: $httptime > Call-ID: $call_id\@$local_ip > CSeq: 1300 NOTIFY > Contact: <sip:$sip_from\@$local_ip> > Content-Length: 0 > > "; > > $proto = getprotobyname('udp'); > socket( SOCKET, PF_INET, SOCK_DGRAM, $proto ); > $iaddr = inet_aton("$phone_ip"); > $paddr = sockaddr_in( 5060, $iaddr ); > bind( SOCKET, $paddr ); > $port = 5060; > > $hisiaddr = inet_aton($phone_ip); > $hispaddr = sockaddr_in( $port, $hisiaddr ); > > if ( send( SOCKET, $MESG, 0, $hispaddr ) )...
2004 Jan 22
2
Polycom Reboot Script - Please wiki-size me
...$local_ip> To: <sip:$sip_to\@$phone_ip> Event: check-sync Date: $httptime Call-ID: $call_id\@$local_ip CSeq: 1300 NOTIFY Contact: <sip:$sip_from\@$local_ip> Content-Length: 0 "; $proto = getprotobyname('udp'); socket( SOCKET, PF_INET, SOCK_DGRAM, $proto ); $iaddr = inet_aton("$phone_ip"); $paddr = sockaddr_in( 5060, $iaddr ); bind( SOCKET, $paddr ); $port = 5060; $hisiaddr = inet_aton($phone_ip); $hispaddr = sockaddr_in( $port, $hisiaddr ); if ( send( SOCKET, $MESG, 0, $hispaddr ) ) { print "reboot of phone &...
2018 Jul 25
2
doveadm who reverse dns lookups
Perhaps this is a feature request... It would be nice if the ?doveadm who? command printed out the reverse dns name of where the user was logged in from. Would it be possible to either add some option to doveadm who for this, or make it the do it by default and add a ?-n? option (like many of the other programs that look up ip addresses by default) and take a -n option to not do that? Not
2003 Jun 24
0
SIP REGISTER script
...060 From: <sip:$ext_number\@sipdomain.company.com> To: <sip:$ext_number\@sipdomain.company.com> Contact: $contact Call-ID: $tm\@$local_ip CSeq: $seq REGISTER Expires: 3700 Content-Length: 0 "; $proto = getprotobyname('udp'); socket(SOCKET, PF_INET, SOCK_DGRAM, $proto) ; $iaddr = inet_aton("$local_ip"); $paddr = sockaddr_in(5060, $iaddr); bind(SOCKET, $paddr) ; $port=5060; $hisiaddr = inet_aton($proxy_ip) ; $hispaddr = sockaddr_in($port, $hisiaddr); send(SOCKET, $MESG, 0,$hispaddr ) || warn "send $host $!\n"; } ---------------------------- cut...
2003 May 06
1
SIP NOTIFY Message
any way the you can get * to send a NOTIFY SIP message to all SIP phones? to have the SIP sets recheck thier configs etc?? Like this? NOTIFY sip:sip@192.168.0.3:5060 SIP/2.0 Via: SIP/2.0/UDP ipaddress:5060;branch=1 Via: SIP/2.0/UDP ipaddress From: <sip:webadim@192.168.0.1> To: <sip:sip@192.168.0.3> Event: check-sync Date: Mon, 10 Jul 2000 16:28:53 -0700 Call-ID: test@192.168.0.1
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 07/13] lguest64 loader
...+static inline unsigned long page_align(unsigned long addr) +{ + return ((addr + getpagesize()-1) & ~(getpagesize()-1)); +} + +/* initrd gets loaded at top of memory: return length. */ +static unsigned long load_initrd(const char *name, unsigned long end) +{ + int ifd; + struct stat st; + void *iaddr; + + if (!name) + return 0; + + ifd = open(name, O_RDONLY, 0); + if (ifd < 0) + err(1, "Opening initrd '%s'", name); + + if (fstat(ifd, &st) < 0) + err(1, "fstat() on initrd '%s'", name); + + iaddr = mmap((void *)end - st.st_size, st.st_size, +...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 07/13] lguest64 loader
...+static inline unsigned long page_align(unsigned long addr) +{ + return ((addr + getpagesize()-1) & ~(getpagesize()-1)); +} + +/* initrd gets loaded at top of memory: return length. */ +static unsigned long load_initrd(const char *name, unsigned long end) +{ + int ifd; + struct stat st; + void *iaddr; + + if (!name) + return 0; + + ifd = open(name, O_RDONLY, 0); + if (ifd < 0) + err(1, "Opening initrd '%s'", name); + + if (fstat(ifd, &st) < 0) + err(1, "fstat() on initrd '%s'", name); + + iaddr = mmap((void *)end - st.st_size, st.st_size, +...
2007 May 09
0
[patch 9/9] lguest: the documentation, example launcher
...ed long page_align(unsigned long addr) +{ + return ((addr + getpagesize()-1) & ~(getpagesize()-1)); +} + +/* initrd gets loaded at top of memory: return length. */ +static unsigned long load_initrd(const char *name, unsigned long mem) +{ + int ifd; + struct stat st; + unsigned long len; + void *iaddr; + + ifd = open_or_die(name, O_RDONLY); + if (fstat(ifd, &st) < 0) + err(1, "fstat() on initrd '%s'", name); + + len = page_align(st.st_size); + iaddr = mmap((void *)mem - len, st.st_size, + PROT_READ|PROT_EXEC|PROT_WRITE, + MAP_FIXED|MAP_PRIVATE, ifd, 0); + if...
2007 May 09
0
[patch 9/9] lguest: the documentation, example launcher
...ed long page_align(unsigned long addr) +{ + return ((addr + getpagesize()-1) & ~(getpagesize()-1)); +} + +/* initrd gets loaded at top of memory: return length. */ +static unsigned long load_initrd(const char *name, unsigned long mem) +{ + int ifd; + struct stat st; + unsigned long len; + void *iaddr; + + ifd = open_or_die(name, O_RDONLY); + if (fstat(ifd, &st) < 0) + err(1, "fstat() on initrd '%s'", name); + + len = page_align(st.st_size); + iaddr = mmap((void *)mem - len, st.st_size, + PROT_READ|PROT_EXEC|PROT_WRITE, + MAP_FIXED|MAP_PRIVATE, ifd, 0); + if...
2010 Feb 26
5
[PATCH 0/5] renouveau: nv30/nv40 unification
This patchset applies some minor fixes to renouveau.xml and then unifies the nv30 and nv40 register definitions. nv30 and nv40 are very similar and have the same offsets for the registers they share. The major differences are: 1. Texture setup is different due to full NPOT support on nv40 2. More advanced blending/render targets on nv40 3. NV30 has fixed function registers, which NV40 lacks The
2007 Sep 25
50
[patch 00/43] lguest: Patches for 2.6.24 (and patchbomb test)
Hi all, These are the patches I'm planning to submit for 2.6.24. Comments gratefully accepted. Along with the usual cleanups and improvements are Jes' de-i386-ification patches, and a new "virtio" mechanism designed to be shared with KVM (and hopefully other hypervisors). Cheers, Rusty. Documentation/lguest/Makefile | 30 Documentation/lguest/lguest.c
2007 Sep 25
50
[patch 00/43] lguest: Patches for 2.6.24 (and patchbomb test)
Hi all, These are the patches I'm planning to submit for 2.6.24. Comments gratefully accepted. Along with the usual cleanups and improvements are Jes' de-i386-ification patches, and a new "virtio" mechanism designed to be shared with KVM (and hopefully other hypervisors). Cheers, Rusty. Documentation/lguest/Makefile | 30 Documentation/lguest/lguest.c