Searched refs:ex_ptr (Results 1 – 10 of 10) sorted by relevance
/external/qemu/slirp/ |
D | slirp.c | 605 struct ex_list *ex_ptr; in arp_input() local 613 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) { in arp_input() 614 if (ex_ptr->ex_addr == ah->ar_tip[3]) in arp_input() 944 struct ex_list *ex_ptr; in slirp_state_save() local 946 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) in slirp_state_save() 947 if (ex_ptr->ex_pty == 3) { in slirp_state_save() 949 so = slirp_find_ctl_socket(ex_ptr->ex_addr, ntohs(ex_ptr->ex_fport)); in slirp_state_save() 1055 struct ex_list *ex_ptr; in slirp_state_load() local 1073 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) in slirp_state_load() 1074 if (ex_ptr->ex_pty == 3 && in slirp_state_load() [all …]
|
D | misc.c | 116 add_exec(struct ex_list **ex_ptr, int do_pty, char *exec, int addr, int port) in add_exec() argument 121 for (tmp_ptr = *ex_ptr; tmp_ptr; tmp_ptr = tmp_ptr->ex_next) { in add_exec() 126 tmp_ptr = *ex_ptr; in add_exec() 127 *ex_ptr = (struct ex_list *)malloc(sizeof(struct ex_list)); in add_exec() 128 (*ex_ptr)->ex_fport = port; in add_exec() 129 (*ex_ptr)->ex_addr = addr; in add_exec() 130 (*ex_ptr)->ex_pty = do_pty; in add_exec() 131 (*ex_ptr)->ex_exec = (do_pty == 3) ? exec : strdup(exec); in add_exec() 132 (*ex_ptr)->ex_next = tmp_ptr; in add_exec()
|
D | tcp_subr.c | 1236 struct ex_list *ex_ptr; in tcp_ctl() local 1261 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) { in tcp_ctl() 1262 if (ex_ptr->ex_fport == so->so_fport && in tcp_ctl() 1263 command == ex_ptr->ex_addr) { in tcp_ctl() 1264 if (ex_ptr->ex_pty == 3) { in tcp_ctl() 1266 so->extra = (void *)ex_ptr->ex_exec; in tcp_ctl() 1269 do_pty = ex_ptr->ex_pty; in tcp_ctl() 1287 DEBUG_MISC((dfd, " executing %s \n",ex_ptr->ex_exec)); in tcp_ctl() 1288 return(fork_exec(so, ex_ptr->ex_exec, do_pty)); in tcp_ctl()
|
D | tcp_input.c | 249 struct ex_list *ex_ptr; in tcp_input() local 362 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) in tcp_input() 363 if (ex_ptr->ex_fport == ti->ti_dport && in tcp_input() 364 (ntohl(ti->ti_dst.s_addr) & 0xff) == ex_ptr->ex_addr) in tcp_input() 367 if (!ex_ptr) in tcp_input() 653 for(ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) { in tcp_input() 654 if(ex_ptr->ex_fport == so->so_fport && in tcp_input() 655 lastbyte == ex_ptr->ex_addr) { in tcp_input()
|
D | ip_input.c | 142 struct ex_list *ex_ptr; in ip_input() local 147 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) in ip_input() 148 if (ex_ptr->ex_addr == host) in ip_input() 151 if (!ex_ptr) in ip_input()
|
/external/qemu/slirp-android/ |
D | slirp.c | 694 struct ex_list *ex_ptr; in arp_input() local 706 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) { in arp_input() 707 if (ex_ptr->ex_addr == ar_tip_low) in arp_input() 1347 struct ex_list *ex_ptr; in slirp_state_save() local 1349 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) in slirp_state_save() 1350 if (ex_ptr->ex_pty == 3) { in slirp_state_save() 1352 so = slirp_find_ctl_socket(ex_ptr->ex_addr, ntohs(ex_ptr->ex_fport)); in slirp_state_save() 1458 struct ex_list *ex_ptr; in slirp_state_load() local 1476 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) in slirp_state_load() 1477 if (ex_ptr->ex_pty == 3 && in slirp_state_load() [all …]
|
D | tcp_subr.c | 1090 struct ex_list *ex_ptr; in tcp_ctl() local 1115 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) { in tcp_ctl() 1116 if (ex_ptr->ex_fport == so->so_faddr_port && in tcp_ctl() 1117 command == ex_ptr->ex_addr) { in tcp_ctl() 1118 if (ex_ptr->ex_pty == 3) { in tcp_ctl() 1120 so->extra = (void *)ex_ptr->ex_exec; in tcp_ctl() 1123 do_pty = ex_ptr->ex_pty; in tcp_ctl() 1141 DEBUG_MISC((dfd, " executing %s \n",ex_ptr->ex_exec)); in tcp_ctl() 1142 return(fork_exec(so, ex_ptr->ex_exec, do_pty)); in tcp_ctl()
|
D | misc.c | 96 add_exec(struct ex_list **ex_ptr, int do_pty, char *exec, int addr, int port) in add_exec() argument 101 for (tmp_ptr = *ex_ptr; tmp_ptr; tmp_ptr = tmp_ptr->ex_next) { in add_exec() 106 tmp_ptr = *ex_ptr; in add_exec() 107 *ex_ptr = (struct ex_list *)malloc(sizeof(struct ex_list)); in add_exec() 108 (*ex_ptr)->ex_fport = port; in add_exec() 109 (*ex_ptr)->ex_addr = addr; in add_exec() 110 (*ex_ptr)->ex_pty = do_pty; in add_exec() 111 (*ex_ptr)->ex_exec = (do_pty == 3) ? exec : strdup(exec); in add_exec() 112 (*ex_ptr)->ex_next = tmp_ptr; in add_exec()
|
D | tcp_input.c | 249 struct ex_list *ex_ptr; in tcp_input() local 362 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) in tcp_input() 363 if (ex_ptr->ex_fport == port_geth(ti->ti_dport) && in tcp_input() 364 (ip_geth(ti->ti_dst) & 0xff) == ex_ptr->ex_addr) in tcp_input() 367 if (!ex_ptr) in tcp_input() 658 for(ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) { in tcp_input() 659 if(ex_ptr->ex_fport == so->so_faddr_port && in tcp_input() 660 lastbyte == ex_ptr->ex_addr) { in tcp_input()
|
D | ip_input.c | 142 struct ex_list *ex_ptr; in ip_input() local 147 for (ex_ptr = exec_list; ex_ptr; ex_ptr = ex_ptr->ex_next) in ip_input() 148 if (ex_ptr->ex_addr == host) in ip_input() 151 if (!ex_ptr) in ip_input()
|