Home
last modified time | relevance | path

Searched refs:iface_list (Results 1 – 4 of 4) sorted by relevance

/busybox-1.35.0/networking/udhcp/
Ddhcprelay.c133 char *s, **iface_list; in make_iface_list() local
147 iface_list = xzalloc(cn * sizeof(iface_list[0])); in make_iface_list()
149 iface_list[0] = client_and_server_ifaces[1]; /* server iface */ in make_iface_list()
159 iface_list[i++] = s; in make_iface_list()
163 return iface_list; in make_iface_list()
169 static unsigned init_sockets(char **iface_list, unsigned num_clients, int *fds) in init_sockets() argument
175 fds[i] = udhcp_listen_socket(/*INADDR_ANY,*/ SERVER_PORT, iface_list[i]); in init_sockets()
270 char **iface_list; in dhcprelay_main() local
289 iface_list = make_iface_list(argv + 1, &num_sockets); in dhcprelay_main()
294 max_socket = init_sockets(iface_list, num_sockets, fds); in dhcprelay_main()
[all …]
/busybox-1.35.0/klibc-utils/
Dipconfig.c.txt73 find_device(llist_t *iface_list, const char *name)
75 while (iface_list) {
76 struct dev *dev = (void*) iface_list->data;
79 iface_list = iface_list->link;
108 add_all_devices(llist_t **iface_list, struct dev *template);
110 add_device(llist_t **iface_list, char *ip)
125 add_all_devices(iface_list, dev);
174 add_all_devices(iface_list, dev);
178 llist_add_to_end(iface_list, dev);
183 add_all_devices(llist_t **iface_list, struct dev *template)
[all …]
/busybox-1.35.0/networking/
Difupdown.c996 llist_t *iface_list; in read_interfaces()
997 for (iface_list = defn->ifaces; iface_list; iface_list = iface_list->link) { in read_interfaces()
998 struct interface_defn_t *tmp = (struct interface_defn_t *) iface_list->data; in read_interfaces()
1416 llist_t *iface_list; in ifupdown_main() local
1475 iface_list = defn->ifaces; in ifupdown_main()
1476 while (iface_list) { in ifupdown_main()
1477 currif = (struct interface_defn_t *) iface_list->data; in ifupdown_main()
1498 iface_list = iface_list->link; in ifupdown_main()
Dinterface.c344 struct iface_list { struct
377 static struct interface *add_interface(struct iface_list *ilist, char *name) in add_interface()
505 static void if_readconf(struct iface_list *ilist) in if_readconf()
542 static int if_readlist_proc(struct iface_list *ilist, char *ifname) in if_readlist_proc()
576 static void if_readlist(struct iface_list *ilist, char *ifname) in if_readlist()
1085 struct iface_list ilist; in display_interfaces()