| /src/external/bsd/dhcpcd/dist/src/ |
| privsep-root.h | 38 pid_t ps_root_start(struct dhcpcd_ctx *ctx); 39 void ps_root_close(struct dhcpcd_ctx *ctx); 40 int ps_root_stop(struct dhcpcd_ctx *ctx); 43 ssize_t ps_root_readerror(struct dhcpcd_ctx *, void *, size_t); 44 ssize_t ps_root_mreaderror(struct dhcpcd_ctx *, void **, size_t *); 45 ssize_t ps_root_ioctl(struct dhcpcd_ctx *, ioctl_request_t, void *, size_t); 46 ssize_t ps_root_unlink(struct dhcpcd_ctx *, const char *); 47 ssize_t ps_root_filemtime(struct dhcpcd_ctx *, const char *, time_t *); 48 ssize_t ps_root_readfile(struct dhcpcd_ctx *, const char *, void *, size_t); 49 ssize_t ps_root_writefile(struct dhcpcd_ctx *, const char *, mode_t [all...] |
| dev.h | 50 int dev_initialised(struct dhcpcd_ctx *, const char *); 51 int dev_listening(struct dhcpcd_ctx *); 52 int dev_start(struct dhcpcd_ctx *, int (*)(void *, int, const char *)); 53 void dev_stop(struct dhcpcd_ctx *);
|
| privsep-inet.h | 32 bool ps_inet_canstart(const struct dhcpcd_ctx *); 33 pid_t ps_inet_start(struct dhcpcd_ctx *); 34 int ps_inet_stop(struct dhcpcd_ctx *); 35 ssize_t ps_inet_cmd(struct dhcpcd_ctx *, struct ps_msghdr *, struct msghdr *);
|
| privsep-control.h | 35 pid_t ps_ctl_start(struct dhcpcd_ctx *); 36 int ps_ctl_stop(struct dhcpcd_ctx *);
|
| control.h | 57 struct dhcpcd_ctx *ctx; 71 int control_start(struct dhcpcd_ctx *, const char *, sa_family_t); 72 int control_stop(struct dhcpcd_ctx *); 74 ssize_t control_send(struct dhcpcd_ctx *, int, char * const *); 75 struct fd_list *control_new(struct dhcpcd_ctx *, int, unsigned int);
|
| if.h | 156 int if_getsubnet(struct dhcpcd_ctx *, const char *, int, void *, size_t); 159 int if_ioctl(struct dhcpcd_ctx *, ioctl_request_t, void *, size_t); 171 struct if_head *if_discover(struct dhcpcd_ctx *, struct ifaddrs **, 173 void if_freeifaddrs(struct dhcpcd_ctx *ctx, struct ifaddrs **); 175 void if_learnaddrs(struct dhcpcd_ctx *, struct if_head *, struct ifaddrs **); 179 struct interface *if_loopback(struct dhcpcd_ctx *); 211 bool if_ignore(struct dhcpcd_ctx *, const char *); 212 int if_vimaster(struct dhcpcd_ctx *ctx, const char *); 215 int if_opensockets(struct dhcpcd_ctx *); 216 int if_opensockets_os(struct dhcpcd_ctx *); [all...] |
| privsep.h | 177 struct dhcpcd_ctx *psp_ctx; 208 int ps_init(struct dhcpcd_ctx *); 209 int ps_start(struct dhcpcd_ctx *); 210 int ps_stop(struct dhcpcd_ctx *); 211 int ps_stopwait(struct dhcpcd_ctx *); 213 int ps_managersandbox(struct dhcpcd_ctx *, const char *); 214 ssize_t ps_daemonised(struct dhcpcd_ctx *); 217 ssize_t ps_sendpsmmsg(struct dhcpcd_ctx *, int, 219 ssize_t ps_sendpsmdata(struct dhcpcd_ctx *, int, 221 ssize_t ps_sendmsg(struct dhcpcd_ctx *, int, uint16_t, unsigned long [all...] |
| duid.h | 39 size_t duid_init(struct dhcpcd_ctx *, const struct interface *);
|
| script.h | 36 char ** script_buftoenv(struct dhcpcd_ctx *, char *, size_t);
|
| route.h | 138 void rt_init(struct dhcpcd_ctx *); 139 void rt_dispose(struct dhcpcd_ctx *); 143 void rt_headclear0(struct dhcpcd_ctx *, rb_tree_t *, int); 146 struct rt * rt_new0(struct dhcpcd_ctx *); 149 struct rt * rt_proto_add_ctx(rb_tree_t *, struct rt *, struct dhcpcd_ctx *); 153 void rt_build(struct dhcpcd_ctx *, int);
|
| privsep-bpf.h | 32 ssize_t ps_bpf_cmd(struct dhcpcd_ctx *, 34 ssize_t ps_bpf_dispatch(struct dhcpcd_ctx *,
|
| dhcp-common.h | 129 void dhcp_envoption(struct dhcpcd_ctx *, 131 const uint8_t *(*dgetopt)(struct dhcpcd_ctx *, 137 ssize_t dhcp_readfile(struct dhcpcd_ctx *, const char *, void *, size_t); 138 ssize_t dhcp_writefile(struct dhcpcd_ctx *, const char *, mode_t, 140 int dhcp_filemtime(struct dhcpcd_ctx *, const char *, time_t *); 141 int dhcp_unlink(struct dhcpcd_ctx *, const char *); 142 size_t dhcp_read_hwaddr_aton(struct dhcpcd_ctx *, uint8_t **, const char *);
|
| auth.h | 91 struct dhcpcd_ctx; 92 ssize_t dhcp_auth_encode(struct dhcpcd_ctx *, struct auth *,
|
| dhcpcd.h | 71 struct dhcpcd_ctx *ctx; 117 struct dhcpcd_ctx { struct 260 int dhcpcd_afwaiting(const struct dhcpcd_ctx *); 261 void dhcpcd_daemonised(struct dhcpcd_ctx *); 262 void dhcpcd_daemonise(struct dhcpcd_ctx *); 264 void dhcpcd_linkoverflow(struct dhcpcd_ctx *); 265 int dhcpcd_handleargs(struct dhcpcd_ctx *, struct fd_list *, int, char **);
|
| privsep-bsd.c | 66 ps_root_doioctldom(struct dhcpcd_ctx *ctx, int domain, unsigned long req, void *data, size_t len) 139 ps_root_doroute(struct dhcpcd_ctx *ctx, void *data, size_t len) 147 ps_root_doindirectioctl(struct dhcpcd_ctx *ctx, 183 ps_root_doifignoregroup(struct dhcpcd_ctx *ctx, void *data, size_t len) 266 ps_root_os(struct dhcpcd_ctx *ctx, struct ps_msghdr *psm, struct msghdr *msg, 312 ps_root_ioctldom(struct dhcpcd_ctx *ctx, uint16_t domain, unsigned long request, 323 ps_root_ioctllink(struct dhcpcd_ctx *ctx, unsigned long request, 331 ps_root_ioctl6(struct dhcpcd_ctx *ctx, unsigned long request, 339 ps_root_route(struct dhcpcd_ctx *ctx, void *data, size_t len) 349 ps_root_indirectioctl(struct dhcpcd_ctx *ctx, unsigned long request [all...] |
| ipv6nd.h | 122 void ipv6nd_recvmsg(struct dhcpcd_ctx *, struct msghdr *); 124 void ipv6nd_printoptions(const struct dhcpcd_ctx *, 130 struct ipv6_addr *ipv6nd_findaddr(struct dhcpcd_ctx *, 144 void ipv6nd_neighbour(struct dhcpcd_ctx *, struct in6_addr *, bool);
|
| privsep-control.c | 44 struct dhcpcd_ctx *ctx = psp->psp_ctx; 109 struct dhcpcd_ctx *ctx = arg; 161 struct dhcpcd_ctx *ctx = arg; 190 struct dhcpcd_ctx *ctx = arg; 215 ps_ctl_start(struct dhcpcd_ctx *ctx) 274 ps_ctl_stop(struct dhcpcd_ctx *ctx) 283 struct dhcpcd_ctx *ctx = fd->ctx; 296 struct dhcpcd_ctx *ctx = fd->ctx;
|
| ipv4.h | 132 bool inet_getroutes(struct dhcpcd_ctx *, rb_tree_t *); 147 struct ipv4_addr *ipv4_findaddr(struct dhcpcd_ctx *, const struct in_addr *); 148 struct ipv4_addr *ipv4_findmaskaddr(struct dhcpcd_ctx *, 150 struct ipv4_addr *ipv4_findmaskbrd(struct dhcpcd_ctx *, 154 void ipv4_handleifa(struct dhcpcd_ctx *, int, struct if_head *, const char *,
|
| privsep-root.c | 70 struct dhcpcd_ctx *psr_ctx; 80 struct dhcpcd_ctx *ctx = pc->psr_ctx; 156 ps_root_readerror(struct dhcpcd_ctx *ctx, void *data, size_t len) 172 ps_root_mreaderror(struct dhcpcd_ctx *ctx, void **data, size_t *len) 190 ps_root_writeerror(struct dhcpcd_ctx *ctx, ssize_t result, 273 ps_root_run_script(struct dhcpcd_ctx *ctx, const void *data, size_t len) 302 ps_root_validpath(const struct dhcpcd_ctx *ctx, uint16_t cmd, const char *path) 335 ps_root_dowritefile(const struct dhcpcd_ctx *ctx, 469 struct dhcpcd_ctx *ctx = arg; 639 struct dhcpcd_ctx *ctx = arg [all...] |
| ipv6.h | 246 int ipv6_init(struct dhcpcd_ctx *); 264 void ipv6_handleifa(struct dhcpcd_ctx *ctx, int, struct if_head *, 275 struct ipv6_addr *ipv6_findaddr(struct dhcpcd_ctx *, 277 struct ipv6_addr *ipv6_findmaskaddr(struct dhcpcd_ctx *, 279 struct ipv6_addr *ipv6_finddstaddr(struct dhcpcd_ctx *, 304 void ipv6_ctxfree(struct dhcpcd_ctx *); 305 bool inet6_getroutes(struct dhcpcd_ctx *, rb_tree_t *);
|
| privsep-inet.c | 56 struct dhcpcd_ctx *ctx = arg; 71 struct dhcpcd_ctx *ctx = ifp->ctx; 77 struct dhcpcd_ctx *ctx = arg; 90 struct dhcpcd_ctx *ctx = arg; 99 ps_inet_canstart(const struct dhcpcd_ctx *ctx) 123 struct dhcpcd_ctx *ctx = psp->psp_ctx; 266 ps_inet_sendmsg(struct dhcpcd_ctx *ctx, 322 struct dhcpcd_ctx *ctx = arg; 358 ps_inet_start(struct dhcpcd_ctx *ctx) 382 ps_inet_stop(struct dhcpcd_ctx *ctx [all...] |
| privsep.c | 95 ps_init(struct dhcpcd_ctx *ctx) 125 ps_dropprivs(struct dhcpcd_ctx *ctx) 331 struct dhcpcd_ctx *ctx = psp->psp_ctx; 356 struct dhcpcd_ctx *ctx = psp->psp_ctx; 493 struct dhcpcd_ctx *ctx = arg; 539 ps_start(struct dhcpcd_ctx *ctx) 621 ps_managersandbox(struct dhcpcd_ctx *ctx, const char *_pledge) 678 ps_stop(struct dhcpcd_ctx *ctx) 708 ps_waitforprocs(struct dhcpcd_ctx *ctx) 723 ps_stopwait(struct dhcpcd_ctx *ctx [all...] |
| dhcp6.h | 234 void dhcp6_recvmsg(struct dhcpcd_ctx *, struct msghdr *, struct ipv6_addr *); 235 void dhcp6_printoptions(const struct dhcpcd_ctx *, 239 struct ipv6_addr *dhcp6_findaddr(struct dhcpcd_ctx *, const struct in6_addr *,
|
| control.c | 280 control_new(struct dhcpcd_ctx *ctx, int fd, unsigned int flags) 300 control_handle1(struct dhcpcd_ctx *ctx, int lfd, unsigned int fd_flags, 346 struct dhcpcd_ctx *ctx = arg; 354 struct dhcpcd_ctx *ctx = arg; 404 control_start1(struct dhcpcd_ctx *ctx, const char *ifname, sa_family_t family, 446 control_start(struct dhcpcd_ctx *ctx, const char *ifname, sa_family_t family) 479 control_unlink(struct dhcpcd_ctx *ctx, const char *file) 497 control_stop(struct dhcpcd_ctx *ctx) 557 control_send(struct dhcpcd_ctx *ctx, int argc, char * const *argv)
|
| if-bsd.c | 143 if_opensockets_os(struct dhcpcd_ctx *ctx) 244 if_closesockets_os(struct dhcpcd_ctx *ctx) 271 if_ioctllink(struct dhcpcd_ctx *ctx, unsigned long req, void *data, size_t len) 367 if_ignore(struct dhcpcd_ctx *ctx, const char *ifname) 391 static int if_indirect_ioctl(struct dhcpcd_ctx *ctx, 461 if_getssid1(struct dhcpcd_ctx *ctx, const char *ifname, void *ssid) 531 if_vimaster(struct dhcpcd_ctx *ctx, const char *ifname) 597 if_findsdl(struct dhcpcd_ctx *ctx, const struct sockaddr_dl *sdl) 626 if_findsa(struct dhcpcd_ctx *ctx, const struct sockaddr *sa) 704 struct dhcpcd_ctx *ctx [all...] |