Lines Matching defs:themaddr
123 /* themaddr is NULL if no peer hostname[:port] specified on command line */
124 struct len_and_sockaddr *themaddr;
141 #define themaddr (G.themaddr )
287 rr = connect(fd, &themaddr->u.sa, themaddr->len);
348 if (themaddr) {
349 remend = *themaddr;
350 xconnect(netfd, &themaddr->u.sa, themaddr->len);
370 if (!themaddr)
381 if (themaddr) {
385 port = get_nport(&themaddr->u.sa);
391 r = memcmp(&remend.u.sa, &themaddr->u.sa, remend.len);
489 set_nport(themaddr, htons(SLEAZE_PORT));
491 /* don't need to restore themaddr's port, it's not used anymore */
792 themaddr = xhost2sockaddr(argv[0],
813 (themaddr ? themaddr->u.sa.sa_family : AF_UNSPEC),
860 if (!themaddr)
863 remend = *themaddr;
865 themdotted = xmalloc_sockaddr2dotted(&themaddr->u.sa);