Searched refs:UNCONST (Results 1 – 8 of 8) sorted by relevance
18 #define UNCONST(ptr) ((void *)(uintptr_t)(ptr)) macro90 free(UNCONST(__llvm_profile_CurrentFilename)); in setFilename()
49 #define UNCONST(a) ((void *)(unsigned long)(const void *)(a)) macro
359 pf.bf_insns = UNCONST(arp_bpf_filter); in if_openrawsocket()362 pf.bf_insns = UNCONST(dhcp_bpf_filter); in if_openrawsocket()394 iov[1].iov_base = UNCONST(data); in if_sendrawpacket()
972 ifs = if_discover(ctx, -1, UNCONST(argv)); in dhcpcd_handleinterface()1324 return control_queue(fd, UNCONST(VERSION), in dhcpcd_handleargs()1327 return control_queue(fd, UNCONST(fd->ctx->cffile), in dhcpcd_handleargs()
633 argv[0] = ifp->options->script ? ifp->options->script : UNCONST(SCRIPT); in script_runreason()
593 return UNCONST(s); in strwhite()607 return UNCONST(s); in strskipwhite()629 return UNCONST(++s); in strend()
1166 pf.filter = UNCONST(arp_bpf_filter); in if_openrawsocket()1169 pf.filter = UNCONST(dhcp_bpf_filter); in if_openrawsocket()
3201 ifs = if_discover(ifp->ctx, -1, UNCONST(argv)); in dhcp6_start1()