/external/dhcpcd-6.8.2/ |
D | dhcpcd.h | 61 struct dhcpcd_ctx *ctx; 85 struct dhcpcd_ctx { struct 165 int dhcpcd_oneup(struct dhcpcd_ctx *); argument 166 int dhcpcd_ipwaited(struct dhcpcd_ctx *); 167 pid_t dhcpcd_daemonise(struct dhcpcd_ctx *); 169 int dhcpcd_handleargs(struct dhcpcd_ctx *, struct fd_list *, int, char **); 170 void dhcpcd_handlecarrier(struct dhcpcd_ctx *, int, unsigned int, const char *); 172 void dhcpcd_handlehwaddr(struct dhcpcd_ctx *, const char *, 180 void dhcpcd_start_interface(struct dhcpcd_ctx *, const char *); 181 void dhcpcd_stop_interface(struct dhcpcd_ctx *, const char *); [all …]
|
D | control.h | 46 struct dhcpcd_ctx *ctx; 57 int control_start(struct dhcpcd_ctx *, const char *); 58 int control_stop(struct dhcpcd_ctx *); 59 int control_open(struct dhcpcd_ctx *, const char *); 60 ssize_t control_send(struct dhcpcd_ctx *, int, char * const *); 62 void control_close(struct dhcpcd_ctx *ctx);
|
D | ipv4.h | 73 int ipv4_init(struct dhcpcd_ctx *); 78 int ipv4_addrexists(struct dhcpcd_ctx *, const struct in_addr *); 83 void ipv4_buildroutes(struct dhcpcd_ctx *); 88 int ipv4_handlert(struct dhcpcd_ctx *, int, struct rt *); 94 struct ipv4_addr *ipv4_findaddr(struct dhcpcd_ctx *, const struct in_addr *); 95 void ipv4_handleifa(struct dhcpcd_ctx *, int, struct if_head *, const char *, 102 void ipv4_ctxfree(struct dhcpcd_ctx *);
|
D | dev.c | 40 dev_initialized(struct dhcpcd_ctx *ctx, const char *ifname) in dev_initialized() 49 dev_listening(struct dhcpcd_ctx *ctx) in dev_listening() 58 dev_stop1(struct dhcpcd_ctx *ctx, int stop) in dev_stop1() 78 dev_stop(struct dhcpcd_ctx *ctx) in dev_stop() 85 dev_start2(struct dhcpcd_ctx *ctx, const char *name) in dev_start2() 121 dev_start1(struct dhcpcd_ctx *ctx) in dev_start1() 157 struct dhcpcd_ctx *ctx; in dev_handle_data() 166 dev_start(struct dhcpcd_ctx *ctx) in dev_start()
|
D | dev.h | 49 int dev_initialized(struct dhcpcd_ctx *, const char *); 50 int dev_listening(struct dhcpcd_ctx *); 51 int dev_start(struct dhcpcd_ctx *); 52 void dev_stop(struct dhcpcd_ctx *);
|
D | ipv6.h | 215 struct ipv6_ctx *ipv6_init(struct dhcpcd_ctx *); 232 void ipv6_handleifa(struct dhcpcd_ctx *ctx, int, struct if_head *, 239 struct ipv6_addr *ipv6_findaddr(struct dhcpcd_ctx *, 261 void ipv6_ctxfree(struct dhcpcd_ctx *); 262 int ipv6_handlert(struct dhcpcd_ctx *, int cmd, struct rt6 *); 264 void ipv6_buildroutes(struct dhcpcd_ctx *);
|
D | control.c | 53 control_queue_purge(struct dhcpcd_ctx *ctx, char *data) in control_queue_purge() 153 control_handle1(struct dhcpcd_ctx *ctx, int lfd, unsigned int fd_flags) in control_handle1() 192 struct dhcpcd_ctx *ctx = arg; in control_handle() 200 struct dhcpcd_ctx *ctx = arg; in control_handle_unpriv() 247 control_start1(struct dhcpcd_ctx *ctx, const char *ifname, mode_t fmode) in control_start1() 275 control_start(struct dhcpcd_ctx *ctx, const char *ifname) in control_start() 296 control_stop(struct dhcpcd_ctx *ctx) in control_stop() 333 control_open(struct dhcpcd_ctx *ctx, const char *ifname) in control_open() 350 control_send(struct dhcpcd_ctx *ctx, int argc, char * const *argv) in control_send() 436 control_close(struct dhcpcd_ctx *ctx) in control_close()
|
D | common.h | 167 void logger_open(struct dhcpcd_ctx *); 169 __printflike(3, 4) void logger(struct dhcpcd_ctx *, int, const char *, ...); 170 void logger_close(struct dhcpcd_ctx *); 182 ssize_t setvar(struct dhcpcd_ctx *, 184 ssize_t setvard(struct dhcpcd_ctx *,
|
D | if.h | 99 struct if_head *if_discover(struct dhcpcd_ctx *, int, char * const *); 102 void if_sortinterfaces(struct dhcpcd_ctx *); 117 int if_managelink(struct dhcpcd_ctx *); 151 int if_checkipv6(struct dhcpcd_ctx *ctx, const struct interface *, int);
|
D | if-sun.c | 155 if_managelink(struct dhcpcd_ctx *ctx) in if_managelink() 171 if_rarestore(struct dhcpcd_ctx *ctx) in if_rarestore() 177 if_checkipv6(struct dhcpcd_ctx *ctx, const char *ifname, int own) in if_checkipv6()
|
D | ipv6nd.h | 96 struct ipv6_addr *ipv6nd_findaddr(struct dhcpcd_ctx *, 106 void ipv6nd_handleifa(struct dhcpcd_ctx *, int, 111 void ipv6nd_neighbour(struct dhcpcd_ctx *, struct in6_addr *, int);
|
D | dhcpcd.c | 88 static struct dhcpcd_ctx *dhcpcd_ctx; variable 143 free_globals(struct dhcpcd_ctx *ctx) in free_globals() 199 struct dhcpcd_ctx *ctx; in handle_exit_timeout() 212 dhcpcd_oneup(struct dhcpcd_ctx *ctx) in dhcpcd_oneup() 226 dhcpcd_ipwaited(struct dhcpcd_ctx *ctx) in dhcpcd_ipwaited() 247 dhcpcd_daemonise(struct dhcpcd_ctx *ctx) in dhcpcd_daemonise() 336 struct dhcpcd_ctx *ctx; in stop_interface() 606 dhcpcd_handlecarrier(struct dhcpcd_ctx *ctx, int carrier, unsigned int flags, in dhcpcd_handlecarrier() 879 struct dhcpcd_ctx *ctx; in handle_link() 943 struct dhcpcd_ctx *ctx; in dhcpcd_handleinterface() [all …]
|
D | common.c | 144 logger_open(struct dhcpcd_ctx *ctx) in logger_open() 168 logger_close(struct dhcpcd_ctx *ctx) in logger_close() 179 logger(struct dhcpcd_ctx *ctx, int pri, const char *fmt, ...) in logger() 268 setvar(struct dhcpcd_ctx *ctx, in setvar() 289 setvard(struct dhcpcd_ctx *ctx, in setvard()
|
D | dhcp6.h | 233 void dhcp6_printoptions(const struct dhcpcd_ctx *, 235 struct ipv6_addr *dhcp6_findaddr(struct dhcpcd_ctx *, const struct in6_addr *, 244 void dhcp6_handleifa(struct dhcpcd_ctx *, int, const char *,
|
D | eloop.h | 64 struct dhcpcd_ctx *ctx; 106 struct eloop_ctx * eloop_init(struct dhcpcd_ctx *);
|
D | if-linux.c | 321 get_netlink(struct dhcpcd_ctx *ctx, struct interface *ifp, int fd, int flags, in get_netlink() 322 int (*callback)(struct dhcpcd_ctx *, struct interface *, struct nlmsghdr *)) in get_netlink() argument 395 if_copyrt(struct dhcpcd_ctx *ctx, struct rt *rt, struct nlmsghdr *nlm) in if_copyrt() 461 if_copyrt6(struct dhcpcd_ctx *ctx, struct rt6 *rt, struct nlmsghdr *nlm) in if_copyrt6() 523 link_route(struct dhcpcd_ctx *ctx, __unused struct interface *ifp, in link_route() 579 link_addr(struct dhcpcd_ctx *ctx, struct interface *ifp, struct nlmsghdr *nlm) in link_addr() 672 handle_rename(struct dhcpcd_ctx *ctx, unsigned int ifindex, const char *ifname) in handle_rename() 690 link_neigh(struct dhcpcd_ctx *ctx, __unused struct interface *ifp, in link_neigh() 734 link_netlink(struct dhcpcd_ctx *ctx, struct interface *ifp, in link_netlink() 831 if_managelink(struct dhcpcd_ctx *ctx) in if_managelink() [all …]
|
D | dhcp-common.h | 112 size_t dhcp_envoption(struct dhcpcd_ctx *, 114 const uint8_t *(*dgetopt)(struct dhcpcd_ctx *,
|
D | if-options.h | 208 struct if_options *read_config(struct dhcpcd_ctx *, 210 int add_options(struct dhcpcd_ctx *, const char *,
|
D | ipv4.c | 148 ipv4_findaddr(struct dhcpcd_ctx *ctx, const struct in_addr *addr) in ipv4_findaddr() 162 ipv4_addrexists(struct dhcpcd_ctx *ctx, const struct in_addr *addr) in ipv4_addrexists() 193 ipv4_init(struct dhcpcd_ctx *ctx) in ipv4_init() 272 struct dhcpcd_ctx *ctx = rt->iface ? rt->iface->ctx : NULL; in desc_route() 297 ipv4_findrt(struct dhcpcd_ctx *ctx, const struct rt *rt, int flags) in ipv4_findrt() 331 ipv4_handlert(struct dhcpcd_ctx *ctx, int cmd, struct rt *rt) in ipv4_handlert() 646 ipv4_buildroutes(struct dhcpcd_ctx *ctx) in ipv4_buildroutes() 1029 ipv4_handleifa(struct dhcpcd_ctx *ctx, in ipv4_handleifa() 1103 ipv4_ctxfree(struct dhcpcd_ctx *ctx) in ipv4_ctxfree()
|
D | rpc-stub.c | 31 rpc_init(struct dhcpcd_ctx *ctx) in rpc_init()
|
D | rpc-interface.h | 34 int rpc_init(struct dhcpcd_ctx *ctx);
|
D | ipv6.c | 127 ipv6_init(struct dhcpcd_ctx *dhcpcd_ctx) in ipv6_init() argument 131 if (dhcpcd_ctx->ipv6) in ipv6_init() 132 return dhcpcd_ctx->ipv6; in ipv6_init() 173 dhcpcd_ctx->ipv6 = ctx; in ipv6_init() 211 ipv6_readsecret(struct dhcpcd_ctx *ctx) in ipv6_readsecret() 761 ipv6_findaddr(struct dhcpcd_ctx *ctx, const struct in6_addr *addr, short flags) in ipv6_findaddr() 916 ipv6_handleifa(struct dhcpcd_ctx *ctx, in ipv6_handleifa() 1287 ipv6_ctxfree(struct dhcpcd_ctx *ctx) in ipv6_ctxfree() 1350 ipv6_findaddrid(struct dhcpcd_ctx *ctx, uint8_t *addr) in ipv6_findaddrid() 1741 struct dhcpcd_ctx *ctx; in desc_route() [all …]
|
D | dhcp.h | 278 void dhcp_printoptions(const struct dhcpcd_ctx *, 280 int get_option_addr(struct dhcpcd_ctx *,struct in_addr *,
|
D | if.c | 180 if_hasconf(struct dhcpcd_ctx *ctx, const char *ifname) in if_hasconf() 191 static void if_learnaddrs1(struct dhcpcd_ctx *ctx, struct if_head *ifs, in if_learnaddrs1() 253 if_discover(struct dhcpcd_ctx *ctx, int argc, char * const *argv) in if_discover() 696 if_sortinterfaces(struct dhcpcd_ctx *ctx) in if_sortinterfaces()
|
/external/dhcpcd-6.8.2/dbus/ |
D | rpc-dbus.c | 54 static struct dhcpcd_ctx *dhcpcd_ctx; variable 330 logger(dhcpcd_ctx, LOG_ERR, in dbus_send_message() 332 eloop_exit(dhcpcd_ctx->eloop, EXIT_FAILURE); in dbus_send_message() 339 logger(dhcpcd_ctx, LOG_ERR, in dbus_send_message() 341 eloop_exit(dhcpcd_ctx->eloop, EXIT_FAILURE); in dbus_send_message() 406 logger(dhcpcd_ctx, LOG_ERR, in dbus_send_dhcpv6_message() 408 eloop_exit(dhcpcd_ctx->eloop, EXIT_FAILURE); in dbus_send_dhcpv6_message() 415 logger(dhcpcd_ctx, LOG_ERR, in dbus_send_dhcpv6_message() 417 eloop_exit(dhcpcd_ctx->eloop, EXIT_FAILURE); in dbus_send_dhcpv6_message() 515 logger(dhcpcd_ctx, LOG_ERR, in msg_handler() [all …]
|