Home
last modified time | relevance | path

Searched refs:myaddr (Results 1 – 17 of 17) sorted by relevance

/external/openssh/openbsd-compat/
Dbindresvport.c56 struct sockaddr_storage myaddr; in bindresvport_sa() local
65 memset(&myaddr, 0, sizeof(myaddr)); in bindresvport_sa()
66 sa = (struct sockaddr *)&myaddr; in bindresvport_sa()
72 memset(&myaddr, 0, salen); in bindresvport_sa()
/external/libppp/src/
Dipv6cp.c200 struct in6_addr myaddr, hisaddr; in ipcp_SetIPv6address() local
210 memset(&myaddr, '\0', sizeof myaddr); in ipcp_SetIPv6address()
213 myaddr.s6_addr[0] = 0xfe; in ipcp_SetIPv6address()
214 myaddr.s6_addr[1] = 0x80; in ipcp_SetIPv6address()
215 memcpy(&myaddr.s6_addr[8], myifid, IPV6CP_IFIDLEN); in ipcp_SetIPv6address()
217 myaddr.s6_addr[8] |= 0x02; /* set 'universal' bit */ in ipcp_SetIPv6address()
227 ncpaddr_setip6(&ipv6cp->myaddr, &myaddr); in ipcp_SetIPv6address()
229 ncprange_set(&myrange, &ipv6cp->myaddr, 64); in ipcp_SetIPv6address()
241 rt_Set(bundle, RTM_ADD, &range, &ipv6cp->myaddr, 1, 0); in ipcp_SetIPv6address()
253 route_Change(bundle, bundle->ncp.route, &ipv6cp->myaddr, &ipv6cp->hisaddr); in ipcp_SetIPv6address()
[all …]
Dipcp.c658 ipcp_SetIPaddress(struct ipcp *ipcp, struct in_addr myaddr, in ipcp_SetIPaddress() argument
673 ncpaddr_setip4(&myncpaddr, myaddr); in ipcp_SetIPaddress()
676 mask = addr2mask(myaddr); in ipcp_SetIPaddress()
977 struct in_addr myaddr, peer; in ipcp_ValidateReq() local
981 ncprange_getip4addr(&ipcp->cfg.my_range, &myaddr); in ipcp_ValidateReq()
984 !ipcp_SetIPaddress(ipcp, myaddr, ip)) { in ipcp_ValidateReq()
1003 ipcp->peer_ip = ChooseHisAddr(bundle, myaddr); in ipcp_ValidateReq()
1355 struct in_addr myaddr; in ipcp_UseHisIPaddr() local
1361 ncprange_getip4addr(&ipcp->cfg.my_range, &myaddr); in ipcp_UseHisIPaddr()
1363 return ipcp_SetIPaddress(ipcp, myaddr, hisaddr); in ipcp_UseHisIPaddr()
[all …]
Dipv6cp.h49 struct ncpaddr myaddr; /* Local address */ member
Dncpaddr.c936 range->ncprange_ip6addr = ncp->ipv6cp.myaddr.ncpaddr_ip6addr; in ncprange_aton()
Dcommand.c581 nargv[arg] = substipv6(nargv[arg], "MYADDR6", &bundle->ncp.ipv6cp.myaddr); in command_Expand()
2597 ncprange_sethost(&dest, &arg->bundle->ncp.ipv6cp.myaddr); in DeleteCommand()
Dppp.8.m44975 .It set ifaddr Oo Ar myaddr Ns
5035 .Ar myaddr
5038 .Ar myaddr
/external/qemu/
Ddisas.c17 buffer_read_memory(bfd_vma memaddr, bfd_byte *myaddr, int length, in buffer_read_memory() argument
24 memcpy (myaddr, info->buffer + (memaddr - info->buffer_vma), length); in buffer_read_memory()
32 bfd_byte *myaddr, in target_read_memory() argument
36 cpu_memory_rw_debug(cpu_single_env, memaddr, myaddr, length, 0); in target_read_memory()
344 monitor_read_memory (bfd_vma memaddr, bfd_byte *myaddr, int length, in monitor_read_memory() argument
348 cpu_physical_memory_read(memaddr, myaddr, length); in monitor_read_memory()
350 cpu_memory_rw_debug(monitor_disas_env, memaddr,myaddr, length, 0); in monitor_read_memory()
Ddis-asm.h296 (bfd_vma memaddr, bfd_byte *myaddr, int length,
/external/valgrind/main/coregrind/m_gdbserver/
Dtarget.h181 unsigned char *myaddr, int len);
187 const unsigned char *myaddr, int len);
Dtarget.c418 int valgrind_read_memory (CORE_ADDR memaddr, unsigned char *myaddr, int len) in valgrind_read_memory() argument
427 VG_(memcpy) (myaddr, sourceaddr, len); in valgrind_read_memory()
431 int valgrind_write_memory (CORE_ADDR memaddr, const unsigned char *myaddr, int len) in valgrind_write_memory() argument
441 VG_(memcpy) (targetaddr, myaddr, len); in valgrind_write_memory()
/external/ipsec-tools/src/racoon/
Dgrabmyaddr.c815 delmyaddr(myaddr) in delmyaddr() argument
816 struct myaddrs *myaddr; in delmyaddr()
818 if (myaddr->addr)
819 racoon_free(myaddr->addr);
820 racoon_free(myaddr);
/external/netperf/
Dnettest_xti.c5023 struct sockaddr_in *myaddr; in send_xti_tcp_conn_rr() local
5043 myaddr = (struct sockaddr_in *)malloc(sizeof(struct sockaddr_in)); in send_xti_tcp_conn_rr()
5044 if (myaddr == NULL) { in send_xti_tcp_conn_rr()
5051 bzero((char *)myaddr, in send_xti_tcp_conn_rr()
5053 myaddr->sin_family = AF_INET; in send_xti_tcp_conn_rr()
5231 myaddr->sin_port = htons(myport); in send_xti_tcp_conn_rr()
5263 (struct sockaddr *)myaddr, in send_xti_tcp_conn_rr()
5266 ntohs(myaddr->sin_port)); in send_xti_tcp_conn_rr()
5285 printf(" from port %d \n",ntohs(myaddr->sin_port)); in send_xti_tcp_conn_rr()
5343 ntohs(myaddr->sin_port)); in send_xti_tcp_conn_rr()
[all …]
Dnettest_bsd.c9112 struct sockaddr_in *myaddr; in send_tcp_tran_rr() local
9139 myaddr = (struct sockaddr_storage *)malloc(sizeof(struct sockaddr_storage)); in send_tcp_tran_rr()
9140 if (myaddr == NULL) { in send_tcp_tran_rr()
9147 bzero((char *)myaddr, in send_tcp_tran_rr()
9149 myaddr->sin_family = AF_INET; in send_tcp_tran_rr()
9286 myaddr->sin_port = htons((unsigned short)myport); in send_tcp_tran_rr()
9356 myport = ntohs(myaddr->sin_port); in send_tcp_tran_rr()
9375 myaddr->sin_port = htons((unsigned short)myport); in send_tcp_tran_rr()
9385 (struct sockaddr *)myaddr, in send_tcp_tran_rr()
9394 ntohs(myaddr->sin_port), in send_tcp_tran_rr()
[all …]
/external/valgrind/main/coregrind/
Dvgdb.c313 unsigned char *myaddr, int len) in ptrace_read_memory() argument
336 memcpy (myaddr, in ptrace_read_memory()
349 const unsigned char *myaddr, int len) in ptrace_write_memory() argument
365 PDEBUG (1, "%02x", (unsigned)myaddr[i]); in ptrace_write_memory()
385 myaddr, len); in ptrace_write_memory()
/external/quake/quake/src/WinQuake/
Dnet_dgrm.cpp1112 struct qsockaddr myaddr; in _Datagram_SearchForHosts() local
1115 dfunc.GetSocketAddr (dfunc.controlSock, &myaddr); in _Datagram_SearchForHosts()
1136 if (dfunc.AddrCompare(&readaddr, &myaddr) >= 0) in _Datagram_SearchForHosts()
/external/kernel-headers/original/linux/
Dnet.h130 struct sockaddr *myaddr,