Searched refs:ipaddr (Results 1 - 25 of 146) sorted by relevance

123456

/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/ipaddr/
H A Dipaddr_test.py18 """Unittest for ipaddr module."""
23 import ipaddr namespace
26 if issubclass(ipaddr.Bytes, str):
27 _cb = ipaddr.Bytes
34 self.ipv4 = ipaddr.IPv4Network('1.2.3.4/24')
35 self.ipv4_hostmask = ipaddr.IPv4Network('10.0.0.1/0.255.255.255')
36 self.ipv6 = ipaddr.IPv6Network('2001:658:22a:cafe:200:0:0:1/64')
46 repr(ipaddr.IPv4Network('1.2.3.4')))
48 repr(ipaddr.IPv6Network('::1')))
51 addr1 = ipaddr
[all...]
H A Dsetup.py19 import ipaddr namespace
22 setup(name='ipaddr',
24 maintainer_email='ipaddr-py-dev@googlegroups.com',
25 version=ipaddr.__version__,
26 url='http://code.google.com/p/ipaddr-py/',
36 py_modules=['ipaddr'])
/external/syslinux/core/lwip/src/include/ipv4/lwip/
H A Dip_addr.h139 #define IP4_ADDR(ipaddr, a,b,c,d) \
140 (ipaddr)->addr = ((u32_t)((a) & 0xff) << 24) | \
147 #define IP4_ADDR(ipaddr, a,b,c,d) \
148 (ipaddr)->addr = ((u32_t)((d) & 0xff) << 24) | \
168 #define ip_addr_set_zero(ipaddr) ((ipaddr)->addr = 0)
170 #define ip_addr_set_any(ipaddr) ((ipaddr)->addr = IPADDR_ANY)
172 #define ip_addr_set_loopback(ipaddr) ((ipaddr)
[all...]
/external/iproute2/ip/
H A 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"
[all...]
/external/ltp/testcases/network/multicast/mc_member/
H A Dmc_member53 local ipaddr=$(tst_ipaddr)
63 mc_member_test -g $GLIST -s 80 -i $ipaddr > $ERRFILE 2>&1 &
69 tst_resm TINFO "Running (1st) member on $ipaddr"
70 mc_member_test -j -g $GLIST -s 30 -i $ipaddr \
76 "$ipaddr"
79 tst_resm TINFO "Running (2nd) member on $ipaddr"
80 mc_member_test -g $GLIST -s 60 -i $ipaddr \
86 "$ipaddr"
95 tst_brkm TFAIL "$agroup NOT joined to $ipaddr"
107 "$ipaddr"
[all...]
/external/ltp/testcases/network/tcp_cmds/ping/
H A Dping0147 local ipaddr=$(tst_ipaddr rhost)
50 $PING_CMD -c $COUNT -s $packetsize $ipaddr > /dev/null 2>&1
52 tst_resm TFAIL "$PING_CMD -c $COUNT -s $packetsize $ipaddr"
/external/syslinux/core/lwip/src/core/
H A Draw.c130 * @param pcb RAW PCB to be bound with a local address ipaddr.
131 * @param ipaddr local IP address to bind with. Use IP_ADDR_ANY to
142 raw_bind(struct raw_pcb *pcb, ip_addr_t *ipaddr) argument
144 ip_addr_set(&pcb->local_ip, ipaddr);
154 * @param pcb RAW PCB to be connected with remote address ipaddr and port.
155 * @param ipaddr remote IP address to connect with.
162 raw_connect(struct raw_pcb *pcb, ip_addr_t *ipaddr) argument
164 ip_addr_set(&pcb->remote_ip, ipaddr);
199 * @param ipaddr the destination address of the IP packet
203 raw_sendto(struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr) argument
[all...]
/external/syslinux/core/lwip/src/include/lwip/
H A Draw.h81 err_t raw_bind (struct raw_pcb *pcb, ip_addr_t *ipaddr);
82 err_t raw_connect (struct raw_pcb *pcb, ip_addr_t *ipaddr);
85 err_t raw_sendto (struct raw_pcb *pcb, struct pbuf *p, ip_addr_t *ipaddr);
H A Dnetifapi.h55 ip_addr_t *ipaddr; member in struct:netifapi_msg_msg::__anon19450::__anon19451
77 ip_addr_t *ipaddr,
85 ip_addr_t *ipaddr,
H A Dapi_msg.h78 ip_addr_t *ipaddr; member in struct:api_msg_msg::__anon19439::__anon19441
83 ip_addr_t *ipaddr; member in struct:api_msg_msg::__anon19439::__anon19442
/external/ltp/testcases/network/tcp_cmds/sendfile/
H A Dsendfile0160 local ipaddr=$(tst_ipaddr rhost)
64 tst_rhost_run -s -b -c "$SERVER $ipaddr $port"
73 "$CLIENT ip '$ipaddr' port '$port' file '$clnt_fname'"
75 $CLIENT $ipaddr $port $clnt_fname $serv_fname $size >\
/external/openssh/
H A Dauth-rhosts.c56 const char *ipaddr, const char *client_user,
152 !innetgr(host + 1, ipaddr, NULL, NULL))
155 strcmp(host, ipaddr) != 0)
192 const char *hostname, *ipaddr; local
195 ipaddr = get_remote_ipaddr();
196 return auth_rhosts2(pw, client_user, hostname, ipaddr);
201 const char *ipaddr)
208 debug2("auth_rhosts2: clientuser %s hostname %s ipaddr %s",
209 client_user, hostname, ipaddr);
248 if (check_rhosts_file(_PATH_RHOSTS_EQUIV, hostname, ipaddr,
55 check_rhosts_file(const char *filename, const char *hostname, const char *ipaddr, const char *client_user, const char *server_user) argument
200 auth_rhosts2_raw(struct passwd *pw, const char *client_user, const char *hostname, const char *ipaddr) argument
337 auth_rhosts2(struct passwd *pw, const char *client_user, const char *hostname, const char *ipaddr) argument
[all...]
/external/ppp/pppd/plugins/radius/etc/
H A 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
/external/syslinux/core/lwip/src/netif/
H A Detharp.c100 ip_addr_t ipaddr; member in struct:etharp_entry
131 static err_t update_arp_entry(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags);
172 snmp_delete_arpidx_tree(arp_table[i].netif, &arp_table[i].ipaddr);
191 ip_addr_set_zero(&arp_table[i].ipaddr);
244 * If ipaddr is NULL, return a initialized new entry in state ETHARP_EMPTY.
250 * @param ipaddr IP address to find in ARP cache, or to add if not found.
258 find_entry(ip_addr_t *ipaddr, u8_t flags) argument
294 if (ipaddr && ip_addr_cmp(ipaddr, &arp_table[i].ipaddr)) {
443 update_arp_entry(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr *ethaddr, u8_t flags) argument
522 etharp_add_static_entry(ip_addr_t *ipaddr, struct eth_addr *ethaddr) argument
547 etharp_remove_static_entry(ip_addr_t *ipaddr) argument
583 etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr, struct eth_addr **eth_ret, ip_addr_t **ip_ret) argument
837 etharp_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr) argument
957 etharp_query(struct netif *netif, ip_addr_t *ipaddr, struct pbuf *q) argument
1198 etharp_request(struct netif *netif, ip_addr_t *ipaddr) argument
[all...]
H A Dundiif.c152 struct ip_addr ipaddr; member in struct:undiarp_entry
559 * Send an ARP request packet asking for ipaddr.
562 * @param ipaddr the IP address for which to ask
568 undiarp_request(struct netif *netif, struct ip_addr *ipaddr) argument
604 memcpy(hdr_ptr, ipaddr, 4);
663 snmp_delete_arpidx_tree(arp_table[i].netif, &arp_table[i].ipaddr);
693 * If ipaddr is NULL, return a initialized new entry in state ETHARP_EMPTY.
699 * @param ipaddr IP address to find in ARP cache, or to add if not found.
709 find_entry(struct ip_addr *ipaddr, u8_t flags, struct netif *netif) argument
711 find_entry(struct ip_addr *ipaddr, u8_
933 undiarp_query(struct netif *netif, struct ip_addr *ipaddr, struct pbuf *q) argument
1086 undiarp_output(struct netif *netif, struct pbuf *q, struct ip_addr *ipaddr) argument
1234 update_arp_entry(struct netif *netif, struct ip_addr *ipaddr, hwaddr_t *lladdr, u8_t flags) argument
[all...]
/external/syslinux/core/lwip/src/include/netif/
H A Detharp.h183 s8_t etharp_find_addr(struct netif *netif, ip_addr_t *ipaddr,
185 err_t etharp_output(struct netif *netif, struct pbuf *q, ip_addr_t *ipaddr);
186 err_t etharp_query(struct netif *netif, ip_addr_t *ipaddr, struct pbuf *q);
187 err_t etharp_request(struct netif *netif, ip_addr_t *ipaddr);
195 err_t etharp_add_static_entry(ip_addr_t *ipaddr, struct eth_addr *ethaddr);
196 err_t etharp_remove_static_entry(ip_addr_t *ipaddr);
/external/syslinux/core/lwip/src/api/
H A Dnetifapi.c48 msg->msg.add.ipaddr,
68 msg->msg.add.ipaddr,
99 ip_addr_t *ipaddr,
109 msg.msg.msg.add.ipaddr = ipaddr;
127 ip_addr_t *ipaddr,
134 msg.msg.msg.add.ipaddr = ipaddr;
98 netifapi_netif_add(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, ip_addr_t *gw, void *state, netif_init_fn init, netif_input_fn input) argument
126 netifapi_netif_set_addr(struct netif *netif, ip_addr_t *ipaddr, ip_addr_t *netmask, ip_addr_t *gw) argument
/external/webrtc/webrtc/base/
H A Dfakenetwork.h50 address.SetResolvedIP(iface.ipaddr());
96 if (it->first.ipaddr().family() == AF_INET) {
98 } else if (it->first.ipaddr().family() == AF_INET6) {
101 IPAddress prefix = TruncateIP(it->first.ipaddr(), prefix_length);
106 net->AddIP(it->first.ipaddr());
H A Dsocketaddress_unittest.cc39 EXPECT_EQ(IPAddress(), addr.ipaddr());
47 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
56 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
67 EXPECT_EQ(tocheck, addr2.ipaddr());
77 EXPECT_EQ(IPAddress(0xFFFFFFFFU), addr.ipaddr());
86 EXPECT_EQ(IPAddress(), addr.ipaddr());
96 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
107 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
118 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
129 EXPECT_EQ(IPAddress(0x01020304U), addr.ipaddr());
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Ddhcp_snoop.c106 if (sta->ipaddr == b->your_ip)
109 if (sta->ipaddr != 0) {
112 ipaddr_str(be_to_host32(sta->ipaddr)));
114 (u8 *) &sta->ipaddr);
125 sta->ipaddr = b->your_ip;
/external/wpa_supplicant_8/src/ap/
H A Ddhcp_snoop.c106 if (sta->ipaddr == b->your_ip)
109 if (sta->ipaddr != 0) {
112 ipaddr_str(be_to_host32(sta->ipaddr)));
114 (u8 *) &sta->ipaddr);
125 sta->ipaddr = b->your_ip;
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Ddhcp_snoop.c106 if (sta->ipaddr == b->your_ip)
109 if (sta->ipaddr != 0) {
112 ipaddr_str(be_to_host32(sta->ipaddr)));
114 (u8 *) &sta->ipaddr);
125 sta->ipaddr = b->your_ip;
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/
H A D__init__.py23 ipaddr_dir = os.path.join(third_party_dir, "ipaddr")
25 import ipaddr namespace
/external/webrtc/webrtc/p2p/base/
H A Dstunserver_unittest.cc93 if (mapped_addr->ipaddr() != client_addr.ipaddr()) {
95 << mapped_addr->ipaddr()
96 << ") != local IP (" << client_addr.ipaddr()
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A 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"

Completed in 546 milliseconds

123456