Searched refs:brd (Results 1 – 10 of 10) sorted by relevance
/external/dhcpcd/ |
D | net.h | 118 #define add_address(iface, addr, net, brd) \ argument 119 if_address(iface, addr, net, brd, 1)
|
D | dhcp.c | 1389 struct in_addr brd; in configure_env() local 1429 if (get_option_addr(&brd, dhcp, DHO_BROADCAST) == -1) { in configure_env() 1430 brd.s_addr = addr.s_addr | ~net.s_addr; in configure_env() 1431 setvar(&ep, prefix, "broadcast_address", inet_ntoa(brd)); in configure_env() 1482 if (get_option_addr(&lease->brd, dhcp, DHO_BROADCAST) == -1) in get_lease() 1483 lease->brd.s_addr = lease->addr.s_addr | ~lease->net.s_addr; in get_lease()
|
D | dhcp.h | 161 struct in_addr brd; member
|
D | configure.c | 804 &lease->addr, &lease->net, &lease->brd) == -1 && in configure()
|
/external/iproute2/ip/ |
D | ipaddress.c | 1193 inet_prefix brd; in ipaddr_modify() local 1199 brd = peer; in ipaddr_modify() 1200 if (brd.bitlen <= 30) { in ipaddr_modify() 1201 for (i=31; i>=brd.bitlen; i--) { in ipaddr_modify() 1203 brd.data[0] |= htonl(1<<(31-i)); in ipaddr_modify() 1205 brd.data[0] &= ~htonl(1<<(31-i)); in ipaddr_modify() 1207 addattr_l(&req.n, sizeof(req), IFA_BROADCAST, &brd.data, brd.bytelen); in ipaddr_modify() 1208 brd_len = brd.bytelen; in ipaddr_modify()
|
D | ifcfg | 122 if ! ip address add $pfx brd + dev $dev $label; then
|
D | iplink.c | 765 static int set_address(struct ifreq *ifr, int brd) in set_address() argument 772 if (ioctl(s, brd?SIOCSIFHWBROADCAST:SIOCSIFHWADDR, ifr) < 0) { in set_address() 773 perror(brd?"SIOCSIFHWBROADCAST":"SIOCSIFHWADDR"); in set_address()
|
/external/iproute2/doc/ |
D | ip-cref.tex | 285 \item \verb|broadcast LLADDRESS|, \verb|brd LLADDRESS| or \verb|peer LLADDRESS| 354 link/ether 00:a0:cc:66:18:78 brd ff:ff:ff:ff:ff:ff 357 link/sit 0.0.0.0 brd 0.0.0.0 360 link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff 488 link/ether 00:a0:cc:66:18:78 brd ff:ff:ff:ff:ff:ff 530 link/ether 00:a0:cc:66:18:78 brd ff:ff:ff:ff:ff:ff 638 \item \verb|ip addr add 127.0.0.1/8 dev lo brd + scope host| 642 \item \verb|ip addr add 10.0.0.1/24 brd + dev eth0 label eth0:Alias| 730 link/ether 00:a0:cc:66:18:78 brd ff:ff:ff:ff:ff:ff 731 inet 193.233.7.90/24 brd 193.233.7.255 scope global eth0 [all …]
|
/external/libnl/lib/route/ |
D | link.c | 1210 void rtnl_link_set_broadcast(struct rtnl_link *link, struct nl_addr *brd) in rtnl_link_set_broadcast() argument 1212 __assign_addr(link, &link->l_bcast, brd, LINK_ATTR_BRD); in rtnl_link_set_broadcast()
|
/external/toybox/toys/pending/ |
D | ip.c | 957 *brd = toybuf+768, *peer = toybuf+1024, *any = toybuf+1280, in print_addrinfo() local 1026 sprintf(brd, " brd %s", lbuf); in print_addrinfo() 1027 }else brd = ""; in print_addrinfo() 1036 printf("%s%s%s%s%s %c", family, brd, peer, scope, label, in print_addrinfo()
|