Home
last modified time | relevance | path

Searched refs:ipa (Results 1 – 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintip.c15 struct in_addr ipa; local
17 ipa.s_addr = *addr;
18 if (ntohl(ipa.s_addr) < 256)
19 printf("%lu", (u_long)ntohl(ipa.s_addr));
21 printf("%s", inet_ntoa(ipa));
H A Dhostname.c20 struct in_addr ipa; local
24 ipa.s_addr = *(u_32_t *)ip;
25 if (ipa.s_addr == htonl(0xfedcba98))
39 np = getnetbyaddr(ipa.s_addr, AF_INET);
50 return inet_ntoa(ipa);
H A Dprintmask.c21 struct in_addr ipa; local
30 ipa.s_addr = *mask;
31 printf("/%s", inet_ntoa(ipa));
H A Dprinthostmask.c24 struct in_addr ipa;
42 ipa.s_addr = *addr;
43 printf("%s", inet_ntoa(ipa));
H A Dipft_tx.c56 i6addr_t ipa; local
64 if (gethost(host, &ipa, 0) == -1) {
69 return ipa.in4_addr;
/illumos-gate/usr/src/uts/common/inet/
H A Dipsec_impl.h305 #define IPACT_REFHOLD(ipa) { \ argument
306 atomic_inc_32(&(ipa)->ipa_refs); \
307 ASSERT((ipa)->ipa_refs != 0); \
309 #define IPACT_REFRELE(ipa) { \ argument
310 ASSERT((ipa)->ipa_refs != 0); \
312 if (atomic_dec_32_nv(&(ipa)->ipa_refs) == 0) \
313 ipsec_action_free(ipa); \
314 (ipa) = 0; \
/illumos-gate/usr/src/uts/common/sys/fibre-channel/impl/
H A Dfcgs2.h247 typedef struct ipa { struct
341 _NOTE(SCHEME_PROTECTS_DATA("unique per request", ipa))
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_nat6.c2037 i6addr_t ipa, iph; local
2082 ipa = fin->fin_src6;
2113 IP6_AND(&ipa, &msk, &iph);
2128 } else if (!IP6_MASKEQ(&ipa, &np->in_in[1],
2322 i6addr_t ipa, iph; local
2366 ipa = fin->fin_dst6;
2376 &fin->fin_src6.in6, &ipa.in6))) {
2396 IP6_AND(&ipa, &msk, &iph);
2411 if (!IP6_MASKEQ(&ipa, &np->in_out[1],
H A Dip_nat.c3878 u_32_t ipa, iph; local
3925 ipa = fin->fin_saddr;
3953 iph = ipa & htonl(msk);
3968 } else if ((ipa & np->in_inmsk) != np->in_inip)
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rarpd.c816 mightboot(ipaddr_t ipa) in mightboot() argument
822 (void) snprintf(path, sizeof (path), "%s/%08X", BOOTDIR, ipa); in mightboot()
834 (void) sprintf(path, "%08X", ipa); in mightboot()
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipmon.c534 struct in_addr ipa; local
537 ipa.s_addr = *ip;
539 return inet_ntoa(ipa);
542 return inet_ntoa(ipa);
544 inet_ntoa(ipa));
H A Dipnat_y.y77 } ipa; member
109 %type <ipa> hostname ipv4 ipaddr
H A Dlexer.c22 struct in_addr ipa; member
H A Dipf_y.y86 struct in_addr ipa; member
107 %type <ipa> ipv4 ipv4_16 ipv4_24
/illumos-gate/usr/src/
H A DMakefile.master379 -_gcc=-fno-ipa-cp \
380 -_gcc=-fno-ipa-icf \
/illumos-gate/usr/src/uts/common/io/fibre-channel/impl/
H A Dfctl.c5142 ns_ipa_t *ipa; in fctl_update_host_ns_values() local
5144 ipa = (ns_ipa_t *)ns_req->ns_req_payload; in fctl_update_host_ns_values()
5147 bcopy(ipa->ipa_value, port->fp_ipa, sizeof (ipa->ipa_value)); in fctl_update_host_ns_values()
5226 ns_ipa_t *ipa; in fctl_retrieve_host_ns_values() local
5228 ipa = (ns_ipa_t *)ns_req->ns_resp_payload; in fctl_retrieve_host_ns_values()
5231 bcopy(port->fp_ipa, ipa->ipa_value, sizeof (ipa->ipa_value)); in fctl_retrieve_host_ns_values()
H A Dfp.c5614 ns_ipa_t ipa; in fp_ns_reg() local
5625 ipa.ipa_node_name = in fp_ns_reg()
5627 bcopy(port->fp_ipa, ipa.ipa_value, in fp_ns_reg()
5637 ipa.ipa_node_name = node->fd_node_name; in fp_ns_reg()
5638 bcopy(node->fd_ipa, ipa.ipa_value, in fp_ns_reg()
5643 FC_SET_CMD(port, pkt->pkt_cmd_acc, (uint8_t *)&ipa, in fp_ns_reg()
5645 sizeof (ipa), DDI_DEV_AUTOINCR); in fp_ns_reg()
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dspd.c270 const ipsec_policy_t *ipa, *ipb; in ipsec_policy_cmpbyid() local
273 ipa = (const ipsec_policy_t *)a; in ipsec_policy_cmpbyid()
275 idxa = ipa->ipsp_index; in ipsec_policy_cmpbyid()
291 if ((ipa->ipsp_sel == NULL) && (ipb->ipsp_sel != NULL)) in ipsec_policy_cmpbyid()
293 if ((ipb->ipsp_sel == NULL) && (ipa->ipsp_sel != NULL)) in ipsec_policy_cmpbyid()
299 ASSERT(ipa->ipsp_sel != NULL); in ipsec_policy_cmpbyid()
307 if (ipa < ipb) in ipsec_policy_cmpbyid()
309 if (ipa > ipb) in ipsec_policy_cmpbyid()
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dfhc.c2769 uint_t ipa = pa >> FHC_MEMLOC_SHIFT; in fhc_add_memloc() local
2778 if (ipa < p->pa) { in fhc_add_memloc()
2785 p->pa = ipa; in fhc_add_memloc()
/illumos-gate/usr/src/uts/common/sys/ib/mgt/ibcm/
H A Dibcm_impl.h1900 extern void ibcm_ip_print(char *label, ibt_ip_addr_t *ipa);