Searched defs:ipaddr (Results 1 - 25 of 88) sorted by relevance

1234

/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_socks.c48 struct in_addr ipaddr; local
61 (void) memcpy(&ipaddr, &buf[4],
62 sizeof (ipaddr));
65 addrtoname(AF_INET, &ipaddr),
158 (void) memcpy(&ipaddr, &buf[4],
159 sizeof (ipaddr));
163 &ipaddr),
260 struct in_addr ipaddr; local
270 (void) memcpy(&ipaddr, &buf[4],
271 sizeof (ipaddr));
367 struct in_addr ipaddr; local
[all...]
H A Dsnoop_ipaddr.c90 iplookup(struct in_addr ipaddr) argument
98 for (h = h_table4[iphash(ipaddr.s_addr)]; h; h = h->h4_next) {
99 if (h->h4_addr.s_addr == ipaddr.s_addr)
105 if (ipaddr.s_addr == htonl(INADDR_BROADCAST))
106 return (addhost(AF_INET, &ipaddr, "BROADCAST", NULL));
107 if (ipaddr.s_addr == htonl(INADDR_ANY))
108 return (addhost(AF_INET, &ipaddr, "OLD-BROADCAST", NULL));
117 hp = getipnodebyaddr((char *)&ipaddr, sizeof (int),
119 if (hp == NULL && inet_lnaof(ipaddr) == 0) {
120 np = getnetbyaddr(inet_netof(ipaddr), AF_INE
184 addhost(int family, const void *ipaddr, const char *name, char **aliases) argument
283 addrtoname(int family, const void *ipaddr) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/clients/rds/
H A Drdsib_sc.h40 ipaddr_t ipaddr; member in struct:rds_path_endpoint_s
/illumos-gate/usr/src/uts/common/sys/ib/clients/rdsv3/
H A Drdsv3_sc.h37 ipaddr_t ipaddr; member in struct:rds_path_endpoint_s
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_inet.c86 smb_inet_iszero(smb_inaddr_t *ipaddr) argument
90 if ((ipaddr->a_family == AF_INET) &&
91 (ipaddr->a_ipv4 == 0))
94 if ((ipaddr->a_family == AF_INET6) &&
95 !memcmp(&ipaddr->a_ipv6, ipsz, sizeof (in6_addr_t)))
/illumos-gate/usr/src/lib/ncad_addr/common/
H A Dncad_addr.c78 ipaddr_t ipaddr; /* IP address, in network byte order */ member in struct:nca_address_s
171 ncaaddrs[addrcount].ipaddr = addr;
238 (sin.sin_addr.s_addr == ncaaddrs[i].ipaddr ||
239 ncaaddrs[i].ipaddr == INADDR_ANY)) {
/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ndpd.c121 i_ipadm_delete_ipv6addrs(ipadm_handle_t iph, ipadm_addrobj_t ipaddr) argument
129 status = i_ipadm_send_ndpd_cmd(ipaddr->ipadm_ifname, ipaddr,
134 status = i_ipadm_delete_addr(iph, ipaddr);
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dgrub.h50 in_addr ipaddr; member in struct:arptable_t
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dippool_y.y87 %type <ip6> ipaddr mask ipv4
345 ipaddr '/' mask { $$[0] = $1; $$[1] = $3;
348 | ipaddr { $$[0] = $1;
357 ipaddr: ipv4 { $$ = $1; } label
H A Dipnat_y.y109 %type <ipa> hostname ipv4 ipaddr
607 | hostname '/' ipaddr { if ($1.v != $3.v) {
625 | hostname IPNY_MASK ipaddr { if ($1.v != $3.v) {
774 ipaddr: ipv4 { $$ = $1; } label
/illumos-gate/usr/src/uts/common/inet/ipf/netinet/
H A Dip_h323_pxy.c57 static int find_port(ipaddr, data, datlen, off, port)
58 int ipaddr;
73 netaddr = ntohl(ipaddr);
186 int ipaddr, off, datlen; local
195 ipaddr = ip->ip_src.s_addr;
199 if (find_port(ipaddr, data, datlen, &off, &port) == 0) {
271 int ipaddr, off, datlen; local
282 ipaddr = nat->nat_inip.s_addr;
285 if (find_port(ipaddr, data, datlen, &off, &port) == 0) {
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dbootparams.c82 struct in_addr ipaddr; local
102 ipv4_getipaddr(&ipaddr);
103 ipaddr.s_addr = htonl(ipaddr.s_addr);
104 bcopy((caddr_t)&ipaddr,
106 sizeof (ipaddr));
190 (caddr_t)&ipaddr, sizeof (ipaddr));
191 if (ntohl(ipaddr.s_addr) != INADDR_ANY) {
193 inet_ntoa(ipaddr));
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/rdsv3/
H A Dbind.c115 rdsv3_find_ip_bucket(ipaddr_t ipaddr, zoneid_t zoneid) argument
119 uint64_t needle = ((uint64_t)ipaddr << 32) | zoneid;
128 bucketp->ip = ipaddr;
/illumos-gate/usr/src/uts/common/io/mac/plugins/
H A Dmac_ipv4.c100 const ipaddr_t *ipaddr = addr; local
101 return ((CLASSD(*ipaddr) || (*ipaddr == INADDR_BROADCAST)) ?
/illumos-gate/usr/src/uts/common/os/
H A Discsiboot_prop.c93 char ipaddr[50] = {0}; local
100 kinet_ntoa(ipaddr, &nicp->nic_ip_u, nicp->sin_family);
102 "Local IP addr : %s\n", ipaddr);
104 (void) memset(ipaddr, 0, 50);
105 kinet_ntoa(ipaddr, &nicp->nic_gw_u, nicp->sin_family);
107 "Local gateway : %s\n", ipaddr);
109 (void) memset(ipaddr, 0, 50);
110 kinet_ntoa(ipaddr, &nicp->nic_dhcp_u, nicp->sin_family);
112 "Local DHCP : %s\n", ipaddr);
130 char ipaddr[5 local
[all...]
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowattr.c356 struct in_addr ipaddr; local
367 ipaddr.s_addr = fdesc.fd_local_addr._S6_un._S6_u32[3];
368 cp = inet_ntoa(ipaddr);
381 ipaddr.s_addr = fdesc.fd_remote_addr._S6_un._S6_u32[3];
382 cp = inet_ntoa(ipaddr);
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dirp.c158 long ipaddr; local
191 if (inet_pton(AF_INET, irphost, &ipaddr) != 1) {
204 iaddr.sin_addr.s_addr = ipaddr;
/illumos-gate/usr/src/cmd/ypcmd/
H A Drpc_bootstrap.c153 char *ipaddr, *port; local
218 ipaddr = svc_uaddr;
219 ipaddrlen = strlen(ipaddr);
222 if (ipaddr[i] == '.')
226 if (ipaddr[i] == '.')
233 port = &ipaddr[i+1];
234 ipaddr[i] = '\0';
240 if (inet_pton(AF_INET, ipaddr, &sa->sin_addr) != 1) {
249 if (inet_pton(AF_INET6, ipaddr, &sa6->sin6_addr) != 1) {
/illumos-gate/usr/src/common/net/wanboot/
H A Dbootinfo.c236 struct in_addr ipaddr; local
239 val = &ipaddr;
240 len = sizeof (ipaddr);
257 len = strlen(strcpy(valbuf, inet_ntoa(ipaddr))) + 1;
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios.c222 uint32_t ipaddr, unsigned short port, uint32_t attr,
249 dest->addr_list.sin.sin_addr.s_addr = ipaddr;
221 smb_init_name_struct(unsigned char *name, char suffix, unsigned char *scope, uint32_t ipaddr, unsigned short port, uint32_t attr, uint32_t addr_attr, struct name_entry *dest) argument
H A Dsmbns_netbios_datagram.c320 smb_inaddr_t ipaddr; local
378 ipaddr.a_ipv4 = addr->sin.sin_addr.s_addr;
379 ipaddr.a_family = AF_INET;
381 if (smb_nic_is_local(&ipaddr))
384 sin.sin_addr.s_addr = ipaddr.a_ipv4;
400 smb_inaddr_t ipaddr; local
458 ipaddr.a_ipv4 = addr->sin.sin_addr.s_addr;
459 ipaddr.a_family = AF_INET;
460 if (smb_nic_is_local(&ipaddr))
463 sin.sin_addr.s_addr = ipaddr
824 smb_inaddr_t ipaddr; local
[all...]
H A Dsmbns_netlogon.c477 uint32_t ipaddr; local
510 ipaddr = ntdomain_info.n_ipaddr;
512 ipaddr = 0;
514 if (smb_better_dc(ipaddr, src_ipaddr) ||
530 smb_inaddr_t ipaddr; local
544 ipaddr.a_family = AF_INET;
545 ipaddr.a_ipv4 = cur_ip;
546 if (smb_nic_is_same_subnet(&ipaddr))
549 ipaddr.a_family = AF_INET;
550 ipaddr
[all...]
/illumos-gate/usr/src/uts/common/io/comstar/port/iscsit/
H A Discsit_text.c51 #define IPADDRSTRLEN INET6_ADDRSTRLEN /* space for ipaddr string */
125 * Add individual <TargetAddress=ipaddr> tuple to the nvlist
130 char ipaddr[IPADDRSTRLEN]; /* ip address string */ local
138 iscsit_v4_ntop(&sin->sin_addr, ipaddr, sizeof (ipaddr));
140 ipaddr, ntohs(sin->sin_port), tag);
144 (void) inet_ntop(AF_INET6, &sin6->sin6_addr, ipaddr,
145 sizeof (ipaddr));
147 ipaddr, ntohs(sin6->sin6_port), tag);
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_arp.c65 ibcm_ip_print(char *label, ibt_ip_addr_t *ipaddr) argument
69 if (ipaddr->family == AF_INET) {
71 inet_ntop(AF_INET, &ipaddr->un.ip4addr, buf, sizeof (buf)));
72 } else if (ipaddr->family == AF_INET6) {
74 &ipaddr->un.ip6addr, buf, sizeof (buf)));
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_doorclnt.c141 smb_get_dcinfo(char *namebuf, uint32_t namebuflen, smb_inaddr_t *ipaddr) argument
165 bzero(ipaddr, sizeof (smb_inaddr_t));
167 (void) memcpy(ipaddr, h->h_addr, h->h_length);
168 ipaddr->a_family = h->h_addrtype;

Completed in 122 milliseconds

1234