/external/dhcpcd-6.8.2/ |
script-stub.c | 38 send_interface(struct fd_list *fd, const struct interface *ifp) 45 script_runreason(const struct interface *ifp, const char *reason)
|
rpc-interface.h | 43 int rpc_update_ipv4(struct interface *ifp); 47 int rpc_update_ipv6(struct interface *ifp); 51 int rpc_notify_unicast_arp(struct interface *ifp);
|
rpc-stub.c | 50 rpc_update_ipv4(struct interface *ifp) 58 rpc_update_ipv6(struct interface *ifp) 66 rpc_notify_unicast_arp(struct interface *ifp)
|
duid.c | 54 duid_make(unsigned char *d, const struct interface *ifp, uint16_t type) 65 u16 = htons(ifp->family); 77 memcpy(p, ifp->hwaddr, ifp->hwlen); 78 p += ifp->hwlen; 84 duid_get(unsigned char *d, const struct interface *ifp) 113 logger(ifp->ctx, LOG_ERR, 118 if (ifp->family == ARPHRD_NETROM) { 119 logger(ifp->ctx, LOG_WARNING, 120 "%s: is a NET/ROM psuedo interface", ifp->name) [all...] |
dhcpcd.c | 214 const struct interface *ifp; local 216 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 217 if (D_STATE_RUNNING(ifp) || 218 RS_STATE_RUNNING(ifp) || 219 D6_STATE_RUNNING(ifp)) 323 dhcpcd_drop(struct interface *ifp, int stop) 326 dhcp6_drop(ifp, stop ? NULL : "EXPIRE6"); 327 ipv6nd_drop(ifp); 328 ipv6_drop(ifp); 329 dhcp_drop(ifp, stop ? "STOP" : "EXPIRE") 589 struct interface *ifp = arg; local 609 struct interface *ifp; local 744 struct interface *ifp = arg; local 852 struct interface *ifp = arg; local 945 struct interface *ifp, *iff, *ifn; local 1018 struct interface *ifp; local 1043 struct interface *ifp; local 1057 struct interface *ifp; local 1071 struct interface *ifp; local 1080 struct interface *ifp; local 1126 struct interface *ifn, *ifp; local 1156 struct interface *ifp; local 1185 struct interface *ifp; local 1286 struct interface *ifp; local 1313 struct interface *ifp; local 1436 struct interface *ifp; local [all...] |
if.c | 106 if_free(struct interface *ifp) 109 if (ifp == NULL) 111 ipv4_free(ifp); 112 dhcp_free(ifp); 113 dhcp6_free(ifp); 114 ipv6nd_free(ifp); 115 ipv6_free(ifp); 116 free_options(ifp->options); 117 free(ifp); 155 if_setflag(struct interface *ifp, short flag 195 struct interface *ifp; local 259 struct interface *ifp; local 595 struct interface *ifp; local 699 struct interface *ifp, *ift; local [all...] |
dhcp.c | 121 static int dhcp_open(struct interface *ifp); 582 get_option_routes(struct interface *ifp, const struct dhcp_message *dhcp) 584 struct if_options *ifo = ifp->options; 594 p = get_option(ifp->ctx, dhcp, DHO_CSR, &len); 599 p = get_option(ifp->ctx, dhcp, DHO_MSCSR, &len); 604 routes = decode_rfc3442_rt(ifp->ctx, p, len); 608 state = D_CSTATE(ifp); 612 logger(ifp->ctx, LOG_DEBUG, 614 ifp->name, csr); 624 logger(ifp->ctx, LOG_ERR, "%s: %m", __func__) 1821 struct interface *ifp = arg; local 1852 struct interface *ifp = arg; local 1867 struct interface *ifp = arg; local 1888 struct interface *ifp = arg; local 1917 struct interface *ifp = arg; local 2230 struct interface *ifp = arg; local 2802 struct interface *ifp = arg; local 3250 struct interface *ifp = arg; local 3546 struct interface *ifp = arg; local [all...] |
dhcp6.c | 157 dhcp6_makevendor(struct dhcp6_option *o, const struct interface *ifp) 168 ifo = ifp->options; 185 logger(ifp->ctx, LOG_ERR, 186 "%s: DHCPv6 Vendor Class too big", ifp->name); 298 dhcp6_updateelapsed(struct interface *ifp, struct dhcp6_message *m, size_t len) 311 state = D6_STATE(ifp); 321 dhcp6_newxid(const struct interface *ifp, struct dhcp6_message *m) 325 if (ifp->options->options & DHCPCD_XID_HWADDR && 326 ifp->hwlen >= sizeof(xid)) 328 memcpy(&xid, (ifp->hwaddr + ifp->hwlen) - sizeof(xid) 1237 struct interface *ifp; local 1275 struct interface *ifp; local 1375 struct interface *ifp; local 1411 struct interface *ifp; local 1425 struct interface *ifp; local 1439 struct interface *ifp; local 1476 struct interface *ifp; local 1572 struct interface *ifp; local 1599 struct interface *ifp; local 1726 struct interface *ifp; local 2608 struct interface *ifp, *ifpx; local 3163 struct interface *ifp = arg; local 3440 struct interface *ifp; local [all...] |
ipv6nd.c | 228 ipv6nd_makersprobe(struct interface *ifp) 234 state = RS_STATE(ifp); 236 state->rslen = sizeof(*rs) + (size_t)ROUNDUP8(ifp->hwlen + 2); 247 nd->nd_opt_len = (uint8_t)((ROUNDUP8(ifp->hwlen + 2)) >> 3); 248 memcpy(nd + 1, ifp->hwaddr, ifp->hwlen); 255 struct interface *ifp = arg; local 262 if (ipv6_linklocal(ifp) == NULL) { 263 logger(ifp->ctx, LOG_DEBUG, 265 ifp->name) 617 struct interface *ifp; local 1422 struct interface *ifp; local 1637 struct interface *ifp; local 1715 struct interface *ifp = arg; local [all...] |
arp.c | 58 arp_request(const struct interface *ifp, in_addr_t sip, in_addr_t tip, 66 ar.ar_hrd = htons(ifp->family); 68 ar.ar_hln = ifp->hwlen; 87 APPEND(ifp->hwaddr, ifp->hwlen); 90 APPEND(dest_hw_addr, ifp->hwlen); 92 ZERO(ifp->hwlen); 94 return if_sendrawpacket(ifp, ETHERTYPE_ARP, arp_buffer, len, 124 struct interface *ifp = arg; local 135 state = D_STATE(ifp); 228 struct interface *ifp = astate->iface; local 270 struct interface *ifp = astate->iface; local [all...] |
script.c | 223 make_env(const struct interface *ifp, const char *reason, char ***argv) 230 const struct if_options *ifo = ifp->options; 243 state = D_STATE(ifp); 247 d6_state = D6_CSTATE(ifp); 254 else if (ipv6nd_hasra(ifp)) 284 if (ifp->ctx->options & DHCPCD_DUMPLEASE) 294 e = strlen("interface") + strlen(ifp->name) + 2; 296 snprintf(env[0], e, "interface=%s", ifp->name); 300 if (ifp->ctx->options & DHCPCD_DUMPLEASE) 307 ifp->carrier == LINK_UNKNOWN ? "unknown" [all...] |
ipv4.c | 114 ipv4_iffindaddr(struct interface *ifp, 120 state = IPV4_STATE(ifp); 132 ipv4_iffindlladdr(struct interface *ifp) 137 state = IPV4_STATE(ifp); 150 struct interface *ifp; local 153 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 154 ap = ipv4_iffindaddr(ifp, addr, NULL); 164 struct interface *ifp; local 167 TAILQ_FOREACH(ifp, ctx->ifaces, next) { 168 state = D_STATE(ifp); 652 struct interface *ifp; local 1034 struct interface *ifp; local [all...] |
ipv4ll.c | 76 struct interface *ifp; local 91 TAILQ_FOREACH(ifp, astate->iface->ctx->ifaces, next) { 92 state = D_CSTATE(ifp); 98 if (ifp == NULL) 208 struct interface *ifp = arg; local 209 struct dhcp_state *state = D_STATE(ifp); 223 if (sizeof(seed) > ifp->hwlen) { 225 memcpy(&seed, ifp->hwaddr, ifp->hwlen); 227 memcpy(&seed, ifp->hwaddr + ifp->hwlen - sizeof(seed) [all...] |
if-sun.c | 82 if_openrawsocket(struct interface *ifp, int protocol) 90 if_sendrawpacket(const struct interface *ifp, int protocol, 99 if_readrawpacket(struct interface *ifp, int protocol, 146 if_addrflags6(const struct in6_addr *addr, const struct interface *ifp)
|
if.h | 97 int if_setflag(struct interface *ifp, short flag); 98 #define if_up(ifp) if_setflag((ifp), (IFF_UP | IFF_RUNNING)) 139 #define if_addaddress(ifp, addr, net, brd) \ 140 if_address(ifp, addr, net, brd, 1) 141 #define if_deladdress(ifp, addr, net) \ 142 if_address(ifp, addr, net, NULL, -1)
|
ipv4.h | 67 #define IPV4_STATE(ifp) \ 68 ((struct ipv4_state *)(ifp)->if_data[IF_DATA_IPV4]) 69 #define IPV4_CSTATE(ifp) \ 70 ((const struct ipv4_state *)(ifp)->if_data[IF_DATA_IPV4]) 85 int ipv4_deladdr(struct interface *ifp, const struct in_addr *,
|
if-bsd.c | 152 if_linkaddr(struct sockaddr_dl *sdl, const struct interface *ifp) 159 sdl->sdl_index = (unsigned short)ifp->index; 221 if_getssid(struct interface *ifp) 225 r = if_getssid1(ifp->name, ifp->ssid); 227 ifp->ssid_len = (unsigned int)r; 294 if_openrawsocket(struct interface *ifp, uint16_t protocol) 321 state = D_STATE(ifp); 328 logger(ifp->ctx, LOG_ERR, "BPF version mismatch - recompile"); 333 strlcpy(ifr.ifr_name, ifp->name, sizeof(ifr.ifr_name)) 1158 struct interface *ifp; local [all...] |
dhcp6.h | 207 #define D6_STATE(ifp) \ 208 ((struct dhcp6_state *)(ifp)->if_data[IF_DATA_DHCP6]) 209 #define D6_CSTATE(ifp) \ 210 ((const struct dhcp6_state *)(ifp)->if_data[IF_DATA_DHCP6]) 211 #define D6_STATE_RUNNING(ifp) \ 212 (D6_CSTATE((ifp)) && \ 213 D6_CSTATE((ifp))->reason && dhcp6_dadcompleted((ifp)))
|
ifaddrs.c | 138 struct ifaddrs *ifp; local 141 ifp = ifa; 142 free(ifp->ifa_name); 143 if (ifp->ifa_addr) 144 free(ifp->ifa_addr); 145 if (ifp->ifa_netmask) 146 free(ifp->ifa_netmask); 148 free(ifp);
|
/toolchain/binutils/binutils-2.25/gprof/ |
gmon_io.h | 33 extern int gmon_io_read_vma (FILE *ifp, bfd_vma *valp); 34 extern int gmon_io_read_32 (FILE *ifp, unsigned int *valp); 35 extern int gmon_io_read (FILE *ifp, char *buf, size_t n); 36 extern int gmon_io_write_vma (FILE *ifp, bfd_vma val); 37 extern int gmon_io_write_32 (FILE *ifp, unsigned int val); 38 extern int gmon_io_write_8 (FILE *ifp, unsigned int val); 39 extern int gmon_io_write (FILE *ifp, char *buf, size_t n);
|
gmon_io.c | 103 gmon_io_read_32 (FILE *ifp, unsigned int *valp) 107 if (fread (buf, 1, 4, ifp) != 4) 115 gmon_io_read_64 (FILE *ifp, BFD_HOST_U_64_BIT *valp) 119 if (fread (buf, 1, 8, ifp) != 8) 127 gmon_io_read_vma (FILE *ifp, bfd_vma *valp) 137 if (gmon_io_read_32 (ifp, &val32)) 147 if (gmon_io_read_64 (ifp, &val64)) 162 gmon_io_read (FILE *ifp, char *buf, size_t n) 164 if (fread (buf, 1, n, ifp) != n) 234 gmon_read_raw_arc (FILE *ifp, bfd_vma *fpc, bfd_vma *spc, unsigned long *cnt 294 FILE *ifp; local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
binhex.py | 255 ifp = open(inp, 'rb') 258 d = ifp.read(128000) 262 ifp.close() 264 ifp = openrsrc(inp, 'rb') 266 d = ifp.read(128000) 270 ifp.close() 275 def __init__(self, ifp): 276 self.ifp = ifp 289 data = self.ifp.read(wtd [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
binhex.py | 255 ifp = open(inp, 'rb') 258 d = ifp.read(128000) 262 ifp.close() 264 ifp = openrsrc(inp, 'rb') 266 d = ifp.read(128000) 270 ifp.close() 275 def __init__(self, ifp): 276 self.ifp = ifp 289 data = self.ifp.read(wtd [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
binhex.py | 255 ifp = open(inp, 'rb') 258 d = ifp.read(128000) 262 ifp.close() 264 ifp = openrsrc(inp, 'rb') 266 d = ifp.read(128000) 270 ifp.close() 275 def __init__(self, ifp): 276 self.ifp = ifp 289 data = self.ifp.read(wtd [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
binhex.py | 255 ifp = open(inp, 'rb') 258 d = ifp.read(128000) 262 ifp.close() 264 ifp = openrsrc(inp, 'rb') 266 d = ifp.read(128000) 270 ifp.close() 275 def __init__(self, ifp): 276 self.ifp = ifp 289 data = self.ifp.read(wtd [all...] |