Home | History | Annotate | Download | only in dhcpcd

Lines Matching refs:interface

92 struct interface *ifaces = NULL;
126 static void send_release(struct interface *);
171 "\t\t[-z, --allowinterfaces pattern] [interface] [...]\n"
172 " "PACKAGE"\t-k, --release [interface]\n"
173 " "PACKAGE"\t-U, --dumplease interface\n"
175 " "PACKAGE"\t-x, --exit [interface]\n");
182 struct interface *iface;
237 drop_dhcp(struct interface *iface, const char *reason)
249 struct interface *
252 struct interface *ifp;
261 stop_interface(struct interface *iface)
263 struct interface *ifp, *ifl = NULL;
265 syslog(LOG_INFO, "%s: removing interface", iface->name);
290 dhcp_xid(struct interface *iface)
306 send_message(struct interface *iface, int type,
370 * for this interface.
372 * stopping the interface. */
393 send_message((struct interface *)arg, DHCP_INFORM, send_inform);
399 send_message((struct interface *)arg, DHCP_DISCOVER, send_discover);
405 send_message((struct interface *)arg, DHCP_REQUEST, send_request);
411 send_message((struct interface *)arg, DHCP_REQUEST, send_renew);
417 send_message((struct interface *)arg, DHCP_REQUEST, send_rebind);
423 struct interface *iface = arg;
443 const struct interface *iface, const struct dhcp_message *dhcp,
504 handle_dhcp(struct interface *iface, struct dhcp_message **dhcpp, const struct in_addr *from)
644 /* If the interface already has the address configured
663 struct interface *iface = arg;
747 send_release(struct interface *iface)
768 send_decline(struct interface *iface)
774 configure_interface1(struct interface *iface)
855 select_profile(struct interface *iface, const char *profile)
886 struct interface *iface;
888 iface = (struct interface *)arg;
894 configure_interface(struct interface *iface, int argc, char **argv)
904 struct interface *iface;
959 struct interface *iface = arg;
998 struct interface *iface = arg;
1007 struct interface *iface = arg;
1019 struct interface *iface = arg;
1032 struct interface *iface = arg;
1059 handle_3rdparty(struct interface *iface)
1081 start_static(struct interface *iface)
1095 start_inform(struct interface *iface)
1114 start_reboot(struct interface *iface)
1166 struct interface *iface = arg;
1256 init_state(struct interface *iface, int argc, char **argv)
1299 struct interface *ifs, *ifp, *ifn, *ifl = NULL;
1310 /* If running off an interface list, check it's in it. */
1323 /* Check if we already have the interface */
1350 struct interface *ifp;
1387 struct interface *ifp;
1448 if_reboot(struct interface *iface, int argc, char **argv)
1474 struct interface *ifl, *ifn, *ifp, *ifs, *ift;
1511 struct interface *ifp, *ifl;
1600 struct interface *ifp;
1706 /* We need at least one interface */
1708 syslog(LOG_ERR, "handle_args: no interface");
1734 open_sockets(struct interface *iface)
1754 close_sockets(struct interface *iface)
1799 struct interface *iface;
1806 /* Reuse system properties for a p2p interface */
1892 * instance for that interface. */
1909 syslog(LOG_ERR, "dumplease requires an interface");
1968 syslog(LOG_ERR, "Android requires an interface");
2046 * runs on an interface */
2055 syslog(LOG_ERR, "Android requires an interface");
2126 /* When running dhcpcd against a single interface, we need to retain
2137 syslog(LOG_ERR, "%s: interface not found or invalid",
2164 * before one becomes available if we brought an interface up */