Lines Matching defs:dhcpcd_ctx
85 struct dhcpcd_ctx { struct
86 int pid_fd;
87 char pidfile[sizeof(PIDFILE) + IF_NAMESIZE + 1];
88 const char *cffile;
89 unsigned long long options;
90 char *logfile;
91 int log_fd;
92 int argc;
93 char **argv;
94 int ifac; /* allowed interfaces */
95 char **ifav; /* allowed interfaces */
96 int ifdc; /* denied interfaces */
97 char **ifdv; /* denied interfaces */
98 int ifc; /* listed interfaces */
99 char **ifv; /* listed interfaces */
100 int ifcc; /* configured interfaces */
101 char **ifcv; /* configured interfaces */
102 unsigned char *duid;
103 size_t duid_len;
104 int link_fd;
105 struct if_head *ifaces;
108 sigset_t sigset;
110 struct eloop_ctx *eloop;
112 int control_fd;
113 int control_unpriv_fd;
114 struct fd_list_head control_fds;
115 char control_sock[sizeof(CONTROLSOCKET) + IF_NAMESIZE];
116 gid_t control_group;
119 struct dhcp_opt *vivso;
120 size_t vivso_len;
123 struct dhcp_opt *dhcp_opts;
124 size_t dhcp_opts_len;
125 struct rt_head *ipv4_routes;
126 struct rt_head *ipv4_kroutes;
128 int udp_fd;
129 uint8_t *packet;
134 uint8_t *opt_buffer;
137 unsigned char secret[SECRET_LEN];
138 size_t secret_len;
140 struct dhcp_opt *dhcp6_opts;
141 size_t dhcp6_opts_len;
165 int dhcpcd_oneup(struct dhcpcd_ctx *); argument