Lines Matching refs:ifspec
66 char *uml_vector_fetch_arg(struct arglist *ifspec, char *token) in uml_vector_fetch_arg() argument
70 for (i = 0; i < ifspec->numargs; i++) { in uml_vector_fetch_arg()
71 if (strcmp(ifspec->tokens[i], token) == 0) in uml_vector_fetch_arg()
72 return ifspec->values[i]; in uml_vector_fetch_arg()
198 static struct vector_fds *user_init_tap_fds(struct arglist *ifspec) in user_init_tap_fds() argument
207 iface = uml_vector_fetch_arg(ifspec, TOKEN_IFNAME); in user_init_tap_fds()
243 argv[0] = uml_vector_fetch_arg(ifspec, TOKEN_SCRIPT); in user_init_tap_fds()
256 static struct vector_fds *user_init_hybrid_fds(struct arglist *ifspec) in user_init_hybrid_fds() argument
262 iface = uml_vector_fetch_arg(ifspec, TOKEN_IFNAME); in user_init_hybrid_fds()
295 argv[0] = uml_vector_fetch_arg(ifspec, TOKEN_SCRIPT); in user_init_hybrid_fds()
307 static struct vector_fds *user_init_unix_fds(struct arglist *ifspec, int id) in user_init_unix_fds() argument
315 src = uml_vector_fetch_arg(ifspec, "src"); in user_init_unix_fds()
316 dst = uml_vector_fetch_arg(ifspec, "dst"); in user_init_unix_fds()
405 static struct vector_fds *user_init_fd_fds(struct arglist *ifspec) in user_init_fd_fds() argument
411 fdarg = uml_vector_fetch_arg(ifspec, "fd"); in user_init_fd_fds()
437 static struct vector_fds *user_init_raw_fds(struct arglist *ifspec) in user_init_raw_fds() argument
445 iface = uml_vector_fetch_arg(ifspec, TOKEN_IFNAME); in user_init_raw_fds()
466 argv[0] = uml_vector_fetch_arg(ifspec, TOKEN_SCRIPT); in user_init_raw_fds()
520 static struct vector_fds *user_init_socket_fds(struct arglist *ifspec, int id) in user_init_socket_fds() argument
533 value = uml_vector_fetch_arg(ifspec, "v6"); in user_init_socket_fds()
541 value = uml_vector_fetch_arg(ifspec, "udp"); in user_init_socket_fds()
546 src = uml_vector_fetch_arg(ifspec, "src"); in user_init_socket_fds()
547 dst = uml_vector_fetch_arg(ifspec, "dst"); in user_init_socket_fds()
548 srcport = uml_vector_fetch_arg(ifspec, "srcport"); in user_init_socket_fds()
549 dstport = uml_vector_fetch_arg(ifspec, "dstport"); in user_init_socket_fds()