Home
last modified time | relevance | path

Searched refs:ipaddr (Results 1 – 25 of 51) sorted by relevance

123

/external/iproute2/ip/
Difcfg67 ipaddr=
70 ipaddr=${1%/*}
71 if [ "$1" != "$ipaddr" ]; then
74 if [ "$ipaddr" = "" ]; then
87 pfx="$ipaddr peer $peer"
89 if [ "$ipaddr" = "" ]; then
94 ABCMaskLen $ipaddr
97 pfx="$ipaddr/$pfxlen"
100 if [ "$ldev" = "$dev" -a "$ipaddr" != "" ]; then
115 if [ "$ipaddr" = "" ]; then exit 0; fi
[all …]
/external/openssh/
Dauth-rhosts.c56 const char *ipaddr, const char *client_user, in check_rhosts_file() argument
152 !innetgr(host + 1, ipaddr, NULL, NULL)) in check_rhosts_file()
155 strcmp(host, ipaddr) != 0) in check_rhosts_file()
192 const char *hostname, *ipaddr; in auth_rhosts() local
195 ipaddr = get_remote_ipaddr(); in auth_rhosts()
196 return auth_rhosts2(pw, client_user, hostname, ipaddr); in auth_rhosts()
201 const char *ipaddr) in auth_rhosts2_raw() argument
209 client_user, hostname, ipaddr); in auth_rhosts2_raw()
248 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr, in auth_rhosts2_raw()
251 "/etc/hosts.equiv.", hostname, ipaddr); in auth_rhosts2_raw()
[all …]
Dauth2-hostbased.c164 const char *resolvedname, *ipaddr, *lookup, *reason; in hostbased_key_allowed() local
173 ipaddr = get_remote_ipaddr(); in hostbased_key_allowed()
176 chost, resolvedname, ipaddr); in hostbased_key_allowed()
195 chost, ipaddr, resolvedname); in hostbased_key_allowed()
196 if (auth_rhosts2(pw, cuser, resolvedname, ipaddr) == 0) { in hostbased_key_allowed()
199 __func__, cuser, resolvedname, ipaddr); in hostbased_key_allowed()
Dmatch.c191 match_host_and_ip(const char *host, const char *ipaddr, in match_host_and_ip() argument
197 if ((mip = addr_match_list(ipaddr, patterns)) == -2) in match_host_and_ip()
215 match_user(const char *user, const char *host, const char *ipaddr, in match_user() argument
229 ret = match_host_and_ip(host, ipaddr, p); in match_user()
Dauth.c101 const char *hostname = NULL, *ipaddr = NULL, *passwd = NULL; in allowed_user() local
186 ipaddr = get_remote_ipaddr(); in allowed_user()
192 if (match_user(pw->pw_name, hostname, ipaddr, in allowed_user()
203 if (match_user(pw->pw_name, hostname, ipaddr, in allowed_user()
Dcanohost.c153 check_ip_options(int sock, char *ipaddr) in check_ip_options() argument
174 ipaddr, text); in check_ip_options()
/external/ppp/pppd/plugins/radius/etc/
Ddictionary.compat4 ATTRIBUTE Client-Id 4 ipaddr
7 ATTRIBUTE Framed-Address 8 ipaddr
8 ATTRIBUTE Framed-Netmask 9 ipaddr
10 ATTRIBUTE Login-Host 14 ipaddr
28 ATTRIBUTE Login-Host 14 ipaddr
Ddictionary.ascend26 ATTRIBUTE Ascend-Client-Gateway 132 ipaddr
29 ATTRIBUTE Ascend-Client-Primary-DNS 135 ipaddr
30 ATTRIBUTE Ascend-Client-Secondary-DNS 136 ipaddr
33 ATTRIBUTE Ascend-User-Acct-Host 139 ipaddr
38 ATTRIBUTE Ascend-Assign-IP-Client 144 ipaddr
39 ATTRIBUTE Ascend-Assign-IP-Server 145 ipaddr
47 ATTRIBUTE Ascend-IF-Netmask 153 ipaddr
48 ATTRIBUTE Ascend-Remote-Addr 154 ipaddr
77 ATTRIBUTE Ascend-Home-Agent-IP-Addr 183 ipaddr
83 ATTRIBUTE Ascend-First-Dest 189 ipaddr
[all …]
Ddictionary.microsoft42 ATTRIBUTE MS-Primary-DNS-Server 28 ipaddr Microsoft
43 ATTRIBUTE MS-Secondary-DNS-Server 29 ipaddr Microsoft
44 ATTRIBUTE MS-Primary-NBNS-Server 30 ipaddr Microsoft
45 ATTRIBUTE MS-Secondary-NBNS-Server 31 ipaddr Microsoft
Ddictionary10 # ipaddr - 4 octets in network byte order
49 ATTRIBUTE NAS-IP-Address 4 ipaddr
53 ATTRIBUTE Framed-IP-Address 8 ipaddr
54 ATTRIBUTE Framed-IP-Netmask 9 ipaddr
59 ATTRIBUTE Login-IP-Host 14 ipaddr
66 ATTRIBUTE Framed-IPX-Network 23 ipaddr
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dp2p-action.sh44 ipaddr=`echo "$*" | sed 's/.* ip_addr=\([^ ]*\).*/\1/'`
47 if echo "$ipaddr$ipmask$goipaddr" | grep -q ' '; then
48 ipaddr=""
52 if [ -n "$ipaddr" ]; then
53 sudo ifconfig $GIFNAME "$ipaddr" netmask "$ipmask"
/external/wpa_supplicant_8/src/ap/
Ddhcp_snoop.c127 if (sta->ipaddr == b->your_ip) in handle_dhcp()
130 if (sta->ipaddr != 0) { in handle_dhcp()
133 ipaddr_str(be_to_host32(sta->ipaddr))); in handle_dhcp()
135 (u8 *) &sta->ipaddr); in handle_dhcp()
146 sta->ipaddr = b->your_ip; in handle_dhcp()
Dap_drv_ops.h282 int version, const u8 *ipaddr, in hostapd_drv_br_add_ip_neigh() argument
288 return hapd->driver->br_add_ip_neigh(hapd->drv_priv, version, ipaddr, in hostapd_drv_br_add_ip_neigh()
293 u8 version, const u8 *ipaddr) in hostapd_drv_br_delete_ip_neigh() argument
299 ipaddr); in hostapd_drv_br_delete_ip_neigh()
Dsta_info.c166 if (sta->ipaddr) in ap_free_sta()
167 hostapd_drv_br_delete_ip_neigh(hapd, 4, (u8 *) &sta->ipaddr); in ap_free_sta()
647 if (sta->ipaddr) in ap_sta_remove()
648 hostapd_drv_br_delete_ip_neigh(hapd, 4, (u8 *) &sta->ipaddr); in ap_sta_remove()
Dsta_info.h52 be32 ipaddr; member
/external/selinux/libsepol/cil/test/integration_testing/
Dnonmls.cil24 (ipaddr ip_v4 192.25.35.200)
25 (ipaddr netmask 192.168.1.1)
26 (ipaddr ip_v6 2001:0DB8:AC10:FE01::)
27 (ipaddr netmask_v6 2001:0DE0:DA88:2222::)
Dmls_policy.cil48 (ipaddr ip_v4 192.25.35.200)
49 (ipaddr netmask 192.168.1.1)
50 (ipaddr ip_v6 2001:0DB8:AC10:FE01::)
51 (ipaddr netmask_v6 2001:0DE0:DA88:2222::)
/external/toybox/toys/pending/
Ddhcp.c145 struct in_addr ipaddr; member
185 struct in_addr ipaddr; member
514 if (res->ipaddr.s_addr) { in fill_envp()
515 temp.s_addr = htonl(res->ipaddr.s_addr); in fill_envp()
878 static uint8_t *dhcpc_addreqipaddr(struct in_addr *ipaddr, uint8_t *optptr) in dhcpc_addreqipaddr() argument
882 memcpy(optptr, &ipaddr->s_addr, 4); in dhcpc_addreqipaddr()
1024 if (state->status == STATE_RENEWING) memcpy(&state->pdhcp.ciaddr, &state->ipaddr.s_addr, 4); in dhcpc_sendmsg()
1028 pend = dhcpc_addreqipaddr(&state->ipaddr, pend); in dhcpc_sendmsg()
1037 memcpy(&state->pdhcp.ciaddr, &state->ipaddr.s_addr, 4); in dhcpc_sendmsg()
1199 memcpy(&presult->ipaddr.s_addr, &state->pdhcp.yiaddr, 4); in dhcpc_parsemsg()
[all …]
/external/iputils/
Drarpd.c74 __u32 ipaddr; member
318 ifa = select_ipaddr(ifindex, &emap.ipaddr, (__u32 **)hp->h_addr_list); in rarp_lookup()
321 if (only_ethers || bootable(emap.ipaddr)) in rarp_lookup()
387 void arp_advise(int ifindex, unsigned char *lladdr, int lllen, __u32 ipaddr) in arp_advise() argument
406 sin->sin_addr.s_addr = ipaddr; in arp_advise()
524 if (put_myipaddr(&ptr, sll.sll_ifindex, rmap->ipaddr)) in serve_it()
528 memcpy(ptr, &rmap->ipaddr, 4); in serve_it()
534 arp_advise(sll.sll_ifindex, rmap->lladdr, rmap->lladdr_len, rmap->ipaddr); in serve_it()
/external/selinux/secilc/test/
Dintegration.cil163 (ipaddr ip_v4 192.25.35.200)
164 (ipaddr netmask 192.168.1.1)
165 (ipaddr ip_v6 2001:0DB8:AC10:FE01::)
166 (ipaddr netmask_v6 2001:0DE0:DA88:2222::)
Dpolicy.cil228 (ipaddr ip_v4 192.25.35.200)
229 (ipaddr netmask 192.168.1.1)
230 (ipaddr ip_v6 2001:0DB8:AC10:FE01::)
231 (ipaddr netmask_v6 2001:0DE0:DA88:2222::)
/external/kernel-headers/original/uapi/linux/
Datmmpc.h17 __be32 ipaddr; /* the IP address of the shortcut */ member
/external/selinux/libsepol/cil/src/
Dcil.c2261 void cil_ipaddr_init(struct cil_ipaddr **ipaddr) in cil_ipaddr_init() argument
2263 *ipaddr = cil_malloc(sizeof(**ipaddr)); in cil_ipaddr_init()
2265 cil_symtab_datum_init(&(*ipaddr)->datum); in cil_ipaddr_init()
2266 memset(&(*ipaddr)->ip, 0, sizeof((*ipaddr)->ip)); in cil_ipaddr_init()
Dcil_tree.c1572 struct cil_ipaddr *ipaddr = node->data; in cil_tree_print_node() local
1575 inet_ntop(ipaddr->family, &ipaddr->ip, buf, 256); in cil_tree_print_node()
1576 cil_log(CIL_INFO, "IPADDR %s: %s\n", ipaddr->datum.name, buf); in cil_tree_print_node()
/external/iproute2/doc/
Dip-cref.tex2990 ipaddr=
2995 ipaddr=${1%/*}
2996 if [ "$1" != "$ipaddr" ]; then
3001 pfx="${ipaddr}/${pfxlen}"
3021 if [ "$ipaddr" != "" -a "$ipaddr" != "127.0.0.1" ]; then
3022 ip address add $ipaddr dev $dev
3043 if [ "$ipaddr" = "" ]; then
3057 if ! arping -q -c 2 -w 3 -D -I $dev $ipaddr ; then
3058 echo "Address $ipaddr is busy, trying DHCP..." 1>&2
3079 arping -A -c 1 -I $dev $ipaddr
[all …]

123